Sometimes session.video is whitout a stream
crookedbard opened this issue · comments
When I do repeat calls to: dial and hang-up after several tries I don’t get the video stream. Repeating the calls one more time usually fixes it.
If you are using V2, this is a known issue we have not been able to solve. V1 however does not seem to have this issue.
Also we've made some recent upgrades to V2 and you may see that these patches reduces the false video streams.
session.video.onloadedmetadata
Does not get called when there is no video in stream.
<script src="https://cdn.pubnub.com/pubnub.min.js"></script>
<script src="https://stephenlb.github.io/webrtc-sdk/js/webrtc.js"></script>
Yeah but if I use V1 I need to rewrite all my previous code.
Uncaught TypeError: phone.$ is not a function
Working to fix V2
V2 has been improved with consistency.
Chrome to chrome video still freezes.
Caller A calls Caller B, A video is normal on both callers but B video is frozen on both callers.
This should be fixed with the recent race condition fix patch.
Still testing this fix, seems to be working far better now 👍 For now I will close this issue.