Skip to content

Merging RTSP stream fails while RTSP alone works #577

Closed
@hasan-mohammadi

Description

@hasan-mohammadi

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)

  1. Set merging source on ExoPlayer
  2. 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!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions