Open raoneel opened 5 years ago
Hi Neel,
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.
Thanks, Holden
Steps to re-produce (Android)
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?