google / ExoPlayer

This project is deprecated and stale. The latest ExoPlayer code is available in https://github.com/androidx/media
https://developer.android.com/media/media3/exoplayer
Apache License 2.0
21.71k stars 6.02k forks source link

Receiving DESCRIBE 401 for Tapo_Camera_3A1E (Tapo C100) camera while streaming using rtsp #9508

Closed SreeniMannem closed 2 years ago

SreeniMannem commented 3 years ago

Hi team, i am unable to stream RTSP using Tapo_Camera_3A1E (Tapo C100) camera.

I am getting same error like Receiving DESCRIBE 401. And i followed the steps which are mentioned in the #9070. But i am unable to get the stream.

Even i followed ticket #9428, but no luck.

Please help in connecting and getting stream through ExoPlayer using the above camera.

Reference# Long story short, an RTSP request contains a cseq number, and the response carry the same sequence number, that's how the RTSP client knows which request corresponds to the incoming response.

You could try move the cSeq definition on RtspClient:L299 to the otter class, and remove the line RtspClient:L426 that checks for the cseq.

Originally posted by @claincly in https://github.com/google/ExoPlayer/issues/9070#issuecomment-864834077

claincly commented 3 years ago

Please provide a log of RTSP messages.

The easiest way is to use the RtspMediaSource.Factory method setDebugLoggingEnabled()

google-oss-bot commented 2 years ago

Hey @SreeniMannem. We need more information to resolve this issue but there hasn't been an update in 14 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot commented 2 years ago

Since there haven't been any recent updates here, I am going to close this issue.

@SreeniMannem if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.