api.video-reactnative-live-stream icon indicating copy to clipboard operation
api.video-reactnative-live-stream copied to clipboard

README example freezes after on start/stop/start

Open eightyfive opened this issue 3 years ago • 8 comments

Running the README example. After I stopStreaming the first time, the "camera view" freezes on next startStreaming.

This is how it goes:

  1. Mount screen ✅
  2. Do not start streaming yet
  3. Move camera around, the "camera view" works ✅
  4. Start streaming
  5. onConnecttionSuccess event is fired ✅
  6. Move camera around, the "camera view" works ✅
  7. Stop streaming
  8. onDisconnect event is fired ✅
  9. Move camera around, the "camera view" works ✅
  10. Start streaming again
  11. onConnecttionSuccess event is fired ✅
  12. "Camera view" does NOT work ❌
  13. Stop streaming
  14. Button changes color red --> white (so not the screen freezing) ✅
  15. onDisconnect event is NOT fired ❌

No JS errors, no crash. Just the "camera view" freezing.

Any help/hint would be appreciated 🙏

eightyfive avatar Oct 13 '22 13:10 eightyfive

On which phone do you have the issue?

ThibaultBee avatar Oct 13 '22 14:10 ThibaultBee

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>

eightyfive avatar Oct 13 '22 14:10 eightyfive

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?

ThibaultBee avatar Oct 13 '22 14:10 ThibaultBee

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.

eightyfive avatar Oct 13 '22 14:10 eightyfive

When 12. or 13. do you have a stream on your server side?

That's what I am not able to confirm yet.

eightyfive avatar Oct 13 '22 14:10 eightyfive

What player/server do you use?

ThibaultBee avatar Oct 13 '22 15:10 ThibaultBee

Server: mix of Nimble + Dolby.io

Player: millicast

eightyfive avatar Oct 13 '22 15:10 eightyfive

Works well on a newer device, but with the same Android version (Oreo) on both devices. Strange.

eightyfive avatar Oct 14 '22 02:10 eightyfive

Please retest with v1.2.2

ThibaultBee avatar Jan 11 '23 10:01 ThibaultBee