Well I have successfully connected, and it worked too. I have one question? Do we have any peer connection limitations? Cant this this be used as a live stream which can have millions of viewers watching it together?
You'll need to modify the code. The limiting factor is the number of users that can be accommodated on a presence channel.
By the way how many users were able to connect to it after you got it to work?
Can you explain what did you changed in code because mine join stream button not work??
do you have any error messages in the browser console?
No it's not showing any error or message in console. I think this method is not hitting in Viewer.vue component
window.Echo.private(stream-signal-channel.${this.auth_user_id}).listen( "StreamOffer", ({ data }) => { console.log("Signal Offer from private channel"); this.broadcasterId = data.broadcaster; this.createViewerPeer(data.offer, data.broadcaster); } );
stream-signal-channel.${this.auth_user_id}
okay. are you connecting on the same local network?
Yes I am connecting on same local network but join stream button not working
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Well I have successfully connected, and it worked too. I have one question? Do we have any peer connection limitations? Cant this this be used as a live stream which can have millions of viewers watching it together?
You'll need to modify the code. The limiting factor is the number of users that can be accommodated on a presence channel.
By the way how many users were able to connect to it after you got it to work?
Can you explain what did you changed in code because mine join stream button not work??
do you have any error messages in the browser console?
No it's not showing any error or message in console.
I think this method is not hitting in Viewer.vue component
window.Echo.private(
stream-signal-channel.${this.auth_user_id}
).listen("StreamOffer",
({ data }) => {
console.log("Signal Offer from private channel");
this.broadcasterId = data.broadcaster;
this.createViewerPeer(data.offer, data.broadcaster);
}
);
okay. are you connecting on the same local network?
Yes I am connecting on same local network but join stream button not working