api.video-reactnative-live-stream
api.video-reactnative-live-stream copied to clipboard
README example freezes after on start/stop/start
Running the README example. After I stopStreaming the first time, the "camera view" freezes on next startStreaming.
This is how it goes:
- Mount screen ✅
- Do not start streaming yet
- Move camera around, the "camera view" works ✅
- Start streaming
- onConnecttionSuccess event is fired ✅
- Move camera around, the "camera view" works ✅
- Stop streaming
- onDisconnect event is fired ✅
- Move camera around, the "camera view" works ✅
- Start streaming again
- onConnecttionSuccess event is fired ✅
- "Camera view" does NOT work ❌
- Stop streaming
- Button changes color red --> white (so not the screen freezing) ✅
- onDisconnect event is NOT fired ❌
No JS errors, no crash. Just the "camera view" freezing.
Any help/hint would be appreciated 🙏
On which phone do you have the issue?
Same as other issue: Samsung Galaxy J Prime (Android).
On Thu, Oct 13, 2022, 9:17 PM Thibault Beyou @.***> wrote:
On which phone do you have the issue?
— Reply to this email directly, view it on GitHub https://github.com/apivideo/api.video-reactnative-live-stream/issues/40#issuecomment-1277688543, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5B6MXCNAIAEVOJSHAHEXDWDAKXDANCNFSM6AAAAAAREJ3QA4 . You are receiving this because you authored the thread.Message ID: @.*** com>
I don't reproduce this issue with my phone. When 12. or 13. do you have a stream on your server side? Could you get all the Android log?
I will troubleshoot more tomorrow.
I'm actually having another issue on top of that: I cannot stream my custom rmtps URL + stream_key.
I can see "Live" on the player side, but the video/live stream is all black.
It might all be related.
When 12. or 13. do you have a stream on your server side?
That's what I am not able to confirm yet.
What player/server do you use?
Server: mix of Nimble + Dolby.io
Player: millicast
Works well on a newer device, but with the same Android version (Oreo) on both devices. Strange.
Please retest with v1.2.2