8000 Problems using RTSP · Issue #11160 · google/ExoPlayer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Problems using RTSP #11160
Closed
Closed
@Darthsandr

Description

@Darthsandr

I'm trying to use the rtsp extension in an android app but I have a problem and I get a black screen without an explicit error.
My video url is rtsp://myserver:port/live/test?t=pippo
Watching streaming server's logs I see that, during the SETUP phase, the exoplayer client send this url rtsp://myserver:port/live/test/trackID=1?t=pippo while trying the same url with VLC during the same phase the streaming server logs rtsp://myserver:port/live/test/trackID=1 (whitout query parameter of the original url)
Is it possible to remove the query parameter in the url sent by exoplayer client for the SETUP session with the streaming server?

I'm using this code

val mediaitem = MediaItem.fromUri(Uri.parse(videoUrl))
val mediaSource = RtspMediaSource.Factory().setForceUseRtpTcp(true).setTimeoutMs(10000)
.createMediaSource(mediaItem)
mediaSource.addEventListener(mainHandler, mediaSourceEventListener)
player?.repeatMode = repatMode
player?.setMediaSource(mediaSource ,true)
player?.prepare()

Thanks for the response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0