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
Hi, I've recently implemented the RTMP exo player extension, and the stream is correct, but randomly after a certain amount of time the screen freezes, with no exception being thrown. After adding some logs, I can see the the player listener onPlayerStateChanged is triggered with state ENDED. I'm appending a section of my code
I found some simpler reproduction steps involving toggling airplane mode on and off again. This appears to be an issue in LibRtmp rather than ExoPlayer, which I've reported here: ant-media/LibRtmp-Client-for-Android#69
The only workaround I can think of, until the root cause is fixed in the dependency, is to listen for state changes to the ended state, and re-prepare the player when such a transition occurs.
vavadhani
referenced
this issue
in ittiam-systems/LibRtmp-Client-for-Android
Jun 21, 2019
Propagate the error codes from RTMP read to nativeRead function and
return errors as expected. This commit also corrects exception throws
from nativeRead.
Hi, I've recently implemented the RTMP exo player extension, and the stream is correct, but randomly after a certain amount of time the screen freezes, with no exception being thrown. After adding some logs, I can see the the player listener onPlayerStateChanged is triggered with state ENDED. I'm appending a section of my code
This is how I initialize the player:
`
@OverRide
`
This is how the URL is being created:
`
public static Uri streamURLGenerator(String loadBalancerUrl, String channel)
`
Why is it going to state ENDED? Is there a workaround to recover or avoid this state?
I'll be appending in an email the stream url.
The text was updated successfully, but these errors were encountered: