google / google/ExoPlayer

Cannot play rtsp stream

Open
#9,544 7 comments 0 reactions 1 assignee Claimed by @claincly View on GitHub
question
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I've integrated the library in a simple test app where I just want to play a rtsp stream. When I try to play this public rtsp stream (rtsp://demo:demo@ipvmdemo.dyndns.org:5541/onvif-media/media.amp?profile=profile_1_h264&sessiontimeout=60&streamtype=unicast) that uses DIGEST authentication I get a "DESCRIBE 503" error. I've posted some logs below, maybe they are more helpful. Sometimes the stream is played, but most of the times I get the error above. It's very strange.
Using rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov works fine.
Can someone have a look and point out the problem and possible solutions to fix it? Thank you
[rtsp-fail.txt](https://github.com/google/ExoPlayer/files/7307548/rtsp-fail.txt)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.