Using five or more STUN/TURN servers causes problems
whitesnow9291 opened this issue · comments
Hello :)
I followed tutorial for broadcasting and viewer. (I exactly used same code and only changed keys)
viewer don't show broadcaster's cam video.
And I got this error. Using five or more STUN/TURN servers causes problems
And this is error messages from console.
Is this because keys are of free version? or is this issue?
Thanks
Good catch!
This may be related to other issues faced.
https://github.com/stephenlb/webrtc-sdk/blob/master/js/webrtc-v2.js#L48-L72
Will update...
Did a quick fix: bd71202
that last one was due to the broadcaster not streaming before the viewer starts. added a notification system when the broadcaster starts so the viewer can reload.
It's not perfect, its a start though. 89da107
Hi @stephenlb
Thanks but unfortunately it doesn't work for me.
I have cloned and deployed without code change.
I have tested for both chrome and firefox. (both not working)
Also I have tested with your and my own pub,sub key pairs for both browsers (both not working)
I have attached screens shots for each browser.
- Chrome
- broadcaster.html screenshot
It seems to work, as it doesn't show any error in console. - viewer.html screenshot
It has no error message, but it doesn't show any cam in screen. so it's not working
- Firefox
- broadcaster.html screenshot
Firefox shows errors, and it doesn't show cam also - viewer.html screenshot
viewer also shows errors and don't show any cam.
I didn't test on safari because it doesn't seem to be browser issue.
Maybe I need to find other webrtc framework or should use bare webrtc.
Thanks
Yes this is the start, and is an incomplete example. The app code needs work, as this is just an example.
Meanwhile, will be working on getting a read-made solution!
Should work in Firefox now. It's not going to be exactly what you might be looking for. However it's better.