You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turn on Airplane mode to cut all internet connections
Receive event code DISCONNECTED (1)
(Note, sometimes this status isn't sent! On iOS, no new status codes are sent on disconnect. Also, the CLOSED event is never sent on either platform)
When the stream disconnects, we'd like the client to try to re-connect. We've tried 2 approaches.
Approach 1: Call subscribe() again. This doesn't work.
Approach 2: Unmount and re-mount the component again. We do this by toggling the component in render:
{this.state.renderVideo && <Red5Player ...>}
This sends a few events:
LICENSE_VALID
CONNECTED
START_STREAMING
But the video never actually renders.
Neither of these approaches works to reconnect to the stream. Is there another way to re-connect?
The text was updated successfully, but these errors were encountered:
Thanks for the detailed reproduction steps. Please submit your issue to our support team using this link: https://red5pro.zendesk.com/hc/en-us/requests/new. That's the best way for us to keep track of all our support requests and ensure that we stay on top of your concern.
Steps to re-produce (Android)
(Note, sometimes this status isn't sent! On iOS, no new status codes are sent on disconnect. Also, the CLOSED event is never sent on either platform)
When the stream disconnects, we'd like the client to try to re-connect. We've tried 2 approaches.
Approach 1: Call subscribe() again. This doesn't work.
Approach 2: Unmount and re-mount the component again. We do this by toggling the component in render:
{this.state.renderVideo && <Red5Player ...>}
This sends a few events:
LICENSE_VALID
CONNECTED
START_STREAMING
But the video never actually renders.
Neither of these approaches works to reconnect to the stream. Is there another way to re-connect?
The text was updated successfully, but these errors were encountered: