-
-
Notifications
You must be signed in to change notification settings - Fork 340
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
Error closing and re-opening local stream several times #247
Comments
Im having a similar issue in iOS 10.2 , when I lock the device it losses the websocket connection. It was working perfectly on iOS 9.3. |
How is that related to this plugin? |
After rebooting the device, I'm not longer able to repro the issue so easily. There is some problem here (I was able to see it on two different devices), but I need to isolate further since a reboot somehow fixes it temporarily. I will edit my original issue and post more when I've isolated further. |
In my project, I started to get the same problems as @logidelic mentioned. Logs, when everything is OK. 2017-01-11 16:32:22.995273 [1479:542944] iosrtcPlugin#MediaStreamTrack_stop() When preview fails, I can't see last these logs. 2017-01-11 16:32:24.940421 [1479:542944] iosrtcPlugin#MediaStreamRenderer_refresh() Any ideas? :) |
I've now updated the DEBUG_WEBRTC.html test case so that you only need to tap the button once: The video will then stop and restart automatically. Before rebooting my device, it would fail after 5 stream restarts. Now it takes many (perhaps ~50) before the issue repros. |
Thanks for the report! We'll have a look at it, but it may take a bit of time. |
Hi @logidelic and @mruffa Did you manage to get it fixed? I am reproducing this issue on 3rd try every time. @saghul Any ideas/updates here? |
My issue isn't with video, only audio. But I assume it's the same kind of issue. |
@HugoHeneault , what is your issue ? Youre in a call and if you lock ios device you loose connection ? |
@NickMendes So I start and stop a first call. It works. |
@HugoHeneault unfortunately I've moved on from that project quite a while ago. I never got it to work 100% reliably, but perhaps things are better now. |
@logidelic Thank you for your fast reply. I'll try to find a solution and come back here for anyone having the same issue if I find something... Right now I'm trying this fork that might fixe some issues with streams not stopping: https://github.com/mark-veenstra/cordova-plugin-iosrtc Related: #140 |
Fixed by 0545c18 |
I've experienced a total failure of iosrtc (or libwebrtc) when I get and free the local stream a few times on iOS 10.2. (I thought that this issue was specific to iOS 10.2, but I can no longer be certain.)
Below is an isolated, self-contained repro (you can't run it directly on that server because it's not HTTPS; you'll have to save the HTML). I was able to repro this issue 100% by killing and restarting the app and following the steps below. However, after rebooting my device, the issue does not reproduce as easily. I am attempting to isolate further.
http://ecobyte.com/tmp/DEBUG_WEBRTC.html
To repro:
Let me know if you would like more info.
The text was updated successfully, but these errors were encountered: