Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing issue on webrtc video conference using firebase #711

Open
anasshahid26 opened this issue Nov 6, 2022 · 0 comments
Open

Facing issue on webrtc video conference using firebase #711

anasshahid26 opened this issue Nov 6, 2022 · 0 comments

Comments

@anasshahid26
Copy link

I am facing issues when I am using firebase for signaling and not giving any error just not showing other people streaming. Rooms are creating its also appears in firebase database but when I click to join room its not showing other streams just my face and also not showing any error here is my code:

openSocket: function (config) {
var channel = config.channel || location.href.replace(//|:|#|%|.|[|]/g, '');
var socket = new Firebase('https://confrtc-default-rtdb.firebaseio.com/' + channel);
socket.channel = channel;
socket.on('child_added', function (data) {
config.onmessage(data.val());
});
socket.send = function (data) {
this.push(data);
}
config.onopen && setTimeout(config.onopen, 1);
socket.onDisconnect().remove();

      return socket;
  },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant