Closed
Description
I am trying to merge an RTSP stream along with other media sources using a MergingMediaSource, but while the RTSP stream plays correctly by itself, the video fails to render when part of the merged source.
To reproduce:
1.Create RTSP media source:
val rtspSource = RtspMediaSource.Factory().createMediaSource(mediItem)
2.Create MergingMediaSource
val mergingSource = MergingMediaSource(rtspSource, audioSource)
- Set merging source on ExoPlayer
- Video track fails to render
I have tried:
Simplifying to just RTSP + audio and just RTSP
Confirming audio, text sources merge correctly alone
It seems to be an issue specifically merging this type of RTSP stream, while other formats work fine. Please advise if I am missing anything or if this could be a bug.
Let me know if any other details would be helpful!