Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry Error configure stream, setup video 451 #1470

Open
delmoremiao opened this issue May 4, 2024 · 1 comment
Open

Retry Error configure stream, setup video 451 #1470

delmoremiao opened this issue May 4, 2024 · 1 comment

Comments

@delmoremiao
Copy link

the rtsp url play by LVC is successful. but run the demo Failed and toast “Retry Error configure stream, setup video 451”

demo config:
private val width = 1080 private val height = 1920 private val vBitrate = 128000 private var rotation = 90 private val sampleRate = 8000 private val isStereo = false private val aBitrate = 128 * 1000 private var recordPath = ""

2024-05-04 15:12:16.142 11792-11792 VideoEncoder com.pedro.streamer I 3 encoders found
2024-05-04 15:12:16.142 11792-11792 VideoEncoder com.pedro.streamer I Encoder OMX.rk.video_encoder.avc
2024-05-04 15:12:16.143 11792-11792 VideoEncoder com.pedro.streamer I Color supported: 2135033992
2024-05-04 15:12:16.143 11792-11792 VideoEncoder com.pedro.streamer I Color supported: 21
2024-05-04 15:12:16.143 11792-11792 VideoEncoder com.pedro.streamer I Color supported: 2130708361
2024-05-04 15:12:16.143 11792-11792 VideoEncoder com.pedro.streamer I Encoder selected OMX.rk.video_encoder.avc
2024-05-04 15:12:16.147 11792-12106 OMXClient com.pedro.streamer I IOmx service obtained
2024-05-04 15:12:16.151 11792-11792 VideoEncoder com.pedro.streamer I Prepare video info: SURFACE, 1920x1080
2024-05-04 15:12:16.151 11792-11792 VideoEncoder com.pedro.streamer I set bitrate mode CBR
2024-05-04 15:12:16.152 11792-12105 MediaCodec com.pedro.streamer I MediaCodec will operate in async mode
2024-05-04 15:12:16.154 11792-12106 OMXUtils com.pedro.streamer W do not know color format 0x7f000789 = 2130708361
2024-05-04 15:12:16.155 11792-12106 ACodec com.pedro.streamer I setupAVCEncoderParameters with [profile: Baseline] [level: Level31]
2024-05-04 15:12:16.157 11792-12106 ACodec com.pedro.streamer I [OMX.rk.video_encoder.avc] cannot encode HDR static metadata. Ignoring.
2024-05-04 15:12:16.157 11792-12106 ACodec com.pedro.streamer I setupVideoEncoder succeeded
2024-05-04 15:12:16.158 11792-12106 OMXUtils com.pedro.streamer W do not know color format 0x7f000789 = 2130708361
2024-05-04 15:12:16.163 11792-12106 ColorUtils com.pedro.streamer W expected specified color aspects (0:0:0:0)
2024-05-04 15:12:16.165 11792-11792 VideoEncoder com.pedro.streamer I prepared
2024-05-04 15:12:16.333 11792-12110 SurfaceManager com.pedro.streamer E GL already released
2024-05-04 15:12:16.346 11792-12110 SurfaceManager com.pedro.streamer I GL initialized
2024-05-04 15:12:16.357 11792-12110 SurfaceManager com.pedro.streamer E GL already released
2024-05-04 15:12:16.369 11792-12110 SurfaceManager com.pedro.streamer I GL initialized
2024-05-04 15:12:16.372 11792-11792 Camera2ApiManager com.pedro.streamer I optimal resolution set to: 1080x1920
2024-05-04 15:12:16.373 11792-11792 Camera2ApiManager com.pedro.streamer E Camera not supported
2024-05-04 15:12:16.373 11792-12110 SurfaceManager com.pedro.streamer E GL already released
2024-05-04 15:12:16.386 11792-12110 SurfaceManager com.pedro.streamer I GL initialized
2024-05-04 15:12:16.721 178-185 BufferQueueProducer surfaceflinger E com.pedro.streamer/com.pedro.streamer.MainActivity#0 disconnect: not connected (req=1)
2024-05-04 15:12:16.721 11792-11816 libEGL com.pedro.streamer W EGLNativeWindowType 0xb400007401a82490 disconnect failed
2024-05-04 15:12:34.643 11792-11792 Camera2ApiManager com.pedro.streamer I optimal resolution set to: 1080x1920
2024-05-04 15:12:34.644 11792-11792 Camera2ApiManager com.pedro.streamer E Camera not supported
2024-05-04 15:12:34.644 11792-11792 VideoEncoder com.pedro.streamer I started
2024-05-04 15:12:34.658 11792-12110 SurfaceManager com.pedro.streamer E GL already released
2024-05-04 15:12:34.677 11792-12110 SurfaceManager com.pedro.streamer I GL initialized
2024-05-04 15:12:34.677 11792-12109 RtmpClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:34.677 11792-12109 RtspClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:34.677 11792-12109 SrtClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:34.677 11792-12109 UdpClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:34.688 11792-12063 CommandsManager com.pedro.streamer I OPTIONS rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
CSeq: 1
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="b932c36ac9bbdae9a418a2e24637737c", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="a5ff1d5e3bdf3d8bbc82f667aac8c8c8"
2024-05-04 15:12:34.694 11792-12063 CommandsManager com.pedro.streamer I RTSP/1.0 401 Unauthorized
CSeq: 1
WWW-Authenticate: Digest realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="b4e018528cc435743dc9acb91bdf24de"
2024-05-04 15:12:34.696 11792-12063 CommandsManager com.pedro.streamer I ANNOUNCE rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
Content-Type: application/sdp
CSeq: 2
Session:
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="b932c36ac9bbdae9a418a2e24637737c", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="a5ff1d5e3bdf3d8bbc82f667aac8c8c8"
Content-Length: 447

                                                                                                v=0
                                                                                                o=- 0 0 IN IP4 127.0.0.1
                                                                                                s=Unnamed
                                                                                                i=N/A
                                                                                                c=IN IP4 192.168.99.108
                                                                                                t=0 0
                                                                                                a=recvonly
                                                                                                m=video 0 RTP/AVP 96
                                                                                                a=rtpmap:96 H264/90000
                                                                                                a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LAKI2NUDwBEvLCAAADAAIAAAMAZR4RCNQ=,aM4xsg==
                                                                                                a=control:streamid=0
                                                                                                m=audio 0 RTP/AVP 97
                                                                                                a=rtpmap:97 MPEG4-GENERIC/32000/2
                                                                                                a=fmtp:97 profile-level-id=1; mode=AAC-hbr; config=1290; sizelength=13; indexlength=3; indexdeltalength=3
                                                                                                a=control:streamid=1

2024-05-04 15:12:34.720 11792-12063 CommandsManager com.pedro.streamer I RTSP/1.0 401 Unauthorized
CSeq: 2
WWW-Authenticate: Digest realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="b4e018528cc435743dc9acb91bdf24de"
2024-05-04 15:12:34.722 11792-12063 CommandsManager com.pedro.streamer I using digest auth
2024-05-04 15:12:34.741 11792-12063 Auth com.pedro.streamer I Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="b4e018528cc435743dc9acb91bdf24de", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="188ae9f3f63d45aee3cf11383760a901"
2024-05-04 15:12:34.742 11792-12063 CommandsManager com.pedro.streamer I ANNOUNCE rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
Content-Type: application/sdp
CSeq: 3
Session:
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="b4e018528cc435743dc9acb91bdf24de", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="188ae9f3f63d45aee3cf11383760a901"
Content-Length: 447

                                                                                                v=0
                                                                                                o=- 0 0 IN IP4 127.0.0.1
                                                                                                s=Unnamed
                                                                                                i=N/A
                                                                                                c=IN IP4 192.168.99.108
                                                                                                t=0 0
                                                                                                a=recvonly
                                                                                                m=video 0 RTP/AVP 96
                                                                                                a=rtpmap:96 H264/90000
                                                                                                a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LAKI2NUDwBEvLCAAADAAIAAAMAZR4RCNQ=,aM4xsg==
                                                                                                a=control:streamid=0
                                                                                                m=audio 0 RTP/AVP 97
                                                                                                a=rtpmap:97 MPEG4-GENERIC/32000/2
                                                                                                a=fmtp:97 profile-level-id=1; mode=AAC-hbr; config=1290; sizelength=13; indexlength=3; indexdeltalength=3
                                                                                                a=control:streamid=1

2024-05-04 15:12:34.763 11792-12063 CommandsManager com.pedro.streamer I RTSP/1.0 200 OK
CSeq: 3
Server: Rtsp Server/3.0
2024-05-04 15:12:34.771 11792-11792 Toast com.pedro.streamer I Auth success
2024-05-04 15:12:34.774 11792-12063 CommandsManager com.pedro.streamer I SETUP rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0/streamid=0 RTSP/1.0
Transport: RTP/AVP/TCP;unicast;interleaved=0-1;mode=record
CSeq: 4
Session:
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="b4e018528cc435743dc9acb91bdf24de", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="188ae9f3f63d45aee3cf11383760a901"
2024-05-04 15:12:34.800 11792-12063 CommandsManager com.pedro.streamer I RTSP/1.0 451 Parameter Not Understood
CSeq: 4
Session: 9031261041
WWW-Authenticate: Digest realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="b4e018528cc435743dc9acb91bdf24de"
2024-05-04 15:12:34.803 11792-11792 RtmpClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:34.804 11792-11792 RtspClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:34.804 11792-11792 SrtClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:34.804 11792-11792 UdpClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:34.805 11792-12063 CommandsManager com.pedro.streamer I TEARDOWN rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
CSeq: 5
Session: 9031261041
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="b4e018528cc435743dc9acb91bdf24de", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="188ae9f3f63d45aee3cf11383760a901"
2024-05-04 15:12:34.808 11792-12063 RtspClient com.pedro.streamer I write teardown success
2024-05-04 15:12:34.817 11792-11792 Toast com.pedro.streamer I Retry Error configure stream, setup video 451
2024-05-04 15:12:34.820 11792-12063 RtspClient com.pedro.streamer E connection error
kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelling}@6b5f84b
2024-05-04 15:12:39.839 11792-12064 CommandsManager com.pedro.streamer I OPTIONS rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
CSeq: 1
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="b4e018528cc435743dc9acb91bdf24de", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="188ae9f3f63d45aee3cf11383760a901"
2024-05-04 15:12:39.845 11792-12064 CommandsManager com.pedro.streamer I RTSP/1.0 401 Unauthorized
CSeq: 1
WWW-Authenticate: Digest realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="f38bc4ce54f6df12022ce0cd9a44b0f0"
2024-05-04 15:12:39.847 11792-12064 CommandsManager com.pedro.streamer I ANNOUNCE rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
Content-Type: application/sdp
CSeq: 2
Session:
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="b4e018528cc435743dc9acb91bdf24de", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="188ae9f3f63d45aee3cf11383760a901"
Content-Length: 447

                                                                                                v=0
                                                                                                o=- 0 0 IN IP4 127.0.0.1
                                                                                                s=Unnamed
                                                                                                i=N/A
                                                                                                c=IN IP4 192.168.99.108
                                                                                                t=0 0
                                                                                                a=recvonly
                                                                                                m=video 0 RTP/AVP 96
                                                                                                a=rtpmap:96 H264/90000
                                                                                                a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LAKI2NUDwBEvLCAAADAAIAAAMAZR4RCNQ=,aM4xsg==
                                                                                                a=control:streamid=0
                                                                                                m=audio 0 RTP/AVP 97
                                                                                                a=rtpmap:97 MPEG4-GENERIC/32000/2
                                                                                                a=fmtp:97 profile-level-id=1; mode=AAC-hbr; config=1290; sizelength=13; indexlength=3; indexdeltalength=3
                                                                                                a=control:streamid=1

2024-05-04 15:12:39.881 11792-12064 CommandsManager com.pedro.streamer I RTSP/1.0 401 Unauthorized
CSeq: 2
WWW-Authenticate: Digest realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="f38bc4ce54f6df12022ce0cd9a44b0f0"
2024-05-04 15:12:39.884 11792-12064 CommandsManager com.pedro.streamer I using digest auth
2024-05-04 15:12:39.923 11792-12064 Auth com.pedro.streamer I Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="f38bc4ce54f6df12022ce0cd9a44b0f0", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="31a950057c1a289b0e0dad4b5ee0da46"
2024-05-04 15:12:39.924 11792-12064 CommandsManager com.pedro.streamer I ANNOUNCE rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
Content-Type: application/sdp
CSeq: 3
Session:
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="f38bc4ce54f6df12022ce0cd9a44b0f0", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="31a950057c1a289b0e0dad4b5ee0da46"
Content-Length: 447

                                                                                                v=0
                                                                                                o=- 0 0 IN IP4 127.0.0.1
                                                                                                s=Unnamed
                                                                                                i=N/A
                                                                                                c=IN IP4 192.168.99.108
                                                                                                t=0 0
                                                                                                a=recvonly
                                                                                                m=video 0 RTP/AVP 96
                                                                                                a=rtpmap:96 H264/90000
                                                                                                a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LAKI2NUDwBEvLCAAADAAIAAAMAZR4RCNQ=,aM4xsg==
                                                                                                a=control:streamid=0
                                                                                                m=audio 0 RTP/AVP 97
                                                                                                a=rtpmap:97 MPEG4-GENERIC/32000/2
                                                                                                a=fmtp:97 profile-level-id=1; mode=AAC-hbr; config=1290; sizelength=13; indexlength=3; indexdeltalength=3
                                                                                                a=control:streamid=1

2024-05-04 15:12:39.943 11792-12064 CommandsManager com.pedro.streamer I RTSP/1.0 200 OK
CSeq: 3
Server: Rtsp Server/3.0
2024-05-04 15:12:39.953 11792-11792 Toast com.pedro.streamer I Auth success
2024-05-04 15:12:39.957 11792-12064 CommandsManager com.pedro.streamer I SETUP rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0/streamid=0 RTSP/1.0
Transport: RTP/AVP/TCP;unicast;interleaved=0-1;mode=record
CSeq: 4
Session:
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="f38bc4ce54f6df12022ce0cd9a44b0f0", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="31a950057c1a289b0e0dad4b5ee0da46"
2024-05-04 15:12:39.981 11792-12064 CommandsManager com.pedro.streamer I RTSP/1.0 451 Parameter Not Understood
CSeq: 4
Session: 9036441470
WWW-Authenticate: Digest realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="f38bc4ce54f6df12022ce0cd9a44b0f0"
2024-05-04 15:12:39.985 11792-11792 RtmpClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:39.985 11792-11792 RtspClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:39.985 11792-11792 SrtClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:39.985 11792-11792 UdpClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:39.988 11792-12064 CommandsManager com.pedro.streamer I TEARDOWN rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
CSeq: 5
Session: 9036441470
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="f38bc4ce54f6df12022ce0cd9a44b0f0", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="31a950057c1a289b0e0dad4b5ee0da46"
2024-05-04 15:12:39.991 11792-12064 RtspClient com.pedro.streamer I write teardown success
2024-05-04 15:12:40.000 11792-11792 Toast com.pedro.streamer I Retry Error configure stream, setup video 451
2024-05-04 15:12:40.003 11792-12064 RtspClient com.pedro.streamer E connection error
kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelling}@4a2c8e6
2024-05-04 15:12:45.017 11792-12063 CommandsManager com.pedro.streamer I OPTIONS rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
CSeq: 1
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="f38bc4ce54f6df12022ce0cd9a44b0f0", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="31a950057c1a289b0e0dad4b5ee0da46"
2024-05-04 15:12:45.023 11792-12063 CommandsManager com.pedro.streamer I RTSP/1.0 401 Unauthorized
CSeq: 1
WWW-Authenticate: Digest realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4471e72899e4b0cb4a4e36419c13b658"
2024-05-04 15:12:45.025 11792-12063 CommandsManager com.pedro.streamer I ANNOUNCE rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
Content-Type: application/sdp
CSeq: 2
Session:
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="f38bc4ce54f6df12022ce0cd9a44b0f0", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="31a950057c1a289b0e0dad4b5ee0da46"
Content-Length: 447

                                                                                                v=0
                                                                                                o=- 0 0 IN IP4 127.0.0.1
                                                                                                s=Unnamed
                                                                                                i=N/A
                                                                                                c=IN IP4 192.168.99.108
                                                                                                t=0 0
                                                                                                a=recvonly
                                                                                                m=video 0 RTP/AVP 96
                                                                                                a=rtpmap:96 H264/90000
                                                                                                a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LAKI2NUDwBEvLCAAADAAIAAAMAZR4RCNQ=,aM4xsg==
                                                                                                a=control:streamid=0
                                                                                                m=audio 0 RTP/AVP 97
                                                                                                a=rtpmap:97 MPEG4-GENERIC/32000/2
                                                                                                a=fmtp:97 profile-level-id=1; mode=AAC-hbr; config=1290; sizelength=13; indexlength=3; indexdeltalength=3
                                                                                                a=control:streamid=1

2024-05-04 15:12:45.042 11792-12063 CommandsManager com.pedro.streamer I RTSP/1.0 401 Unauthorized
CSeq: 2
WWW-Authenticate: Digest realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4471e72899e4b0cb4a4e36419c13b658"
2024-05-04 15:12:45.043 11792-12063 CommandsManager com.pedro.streamer I using digest auth
2024-05-04 15:12:45.074 11792-12063 Auth com.pedro.streamer I Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4471e72899e4b0cb4a4e36419c13b658", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="f36304da23b9c805391b7aa10063482e"
2024-05-04 15:12:45.075 11792-12063 CommandsManager com.pedro.streamer I ANNOUNCE rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
Content-Type: application/sdp
CSeq: 3
Session:
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4471e72899e4b0cb4a4e36419c13b658", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="f36304da23b9c805391b7aa10063482e"
Content-Length: 447

                                                                                                v=0
                                                                                                o=- 0 0 IN IP4 127.0.0.1
                                                                                                s=Unnamed
                                                                                                i=N/A
                                                                                                c=IN IP4 192.168.99.108
                                                                                                t=0 0
                                                                                                a=recvonly
                                                                                                m=video 0 RTP/AVP 96
                                                                                                a=rtpmap:96 H264/90000
                                                                                                a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LAKI2NUDwBEvLCAAADAAIAAAMAZR4RCNQ=,aM4xsg==
                                                                                                a=control:streamid=0
                                                                                                m=audio 0 RTP/AVP 97
                                                                                                a=rtpmap:97 MPEG4-GENERIC/32000/2
                                                                                                a=fmtp:97 profile-level-id=1; mode=AAC-hbr; config=1290; sizelength=13; indexlength=3; indexdeltalength=3
                                                                                                a=control:streamid=1

2024-05-04 15:12:45.083 11792-12063 CommandsManager com.pedro.streamer I RTSP/1.0 200 OK
CSeq: 3
Server: Rtsp Server/3.0
2024-05-04 15:12:45.093 11792-11792 Toast com.pedro.streamer I Auth success
2024-05-04 15:12:45.094 11792-12063 CommandsManager com.pedro.streamer I SETUP rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0/streamid=0 RTSP/1.0
Transport: RTP/AVP/TCP;unicast;interleaved=0-1;mode=record
CSeq: 4
Session:
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4471e72899e4b0cb4a4e36419c13b658", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="f36304da23b9c805391b7aa10063482e"
2024-05-04 15:12:45.102 11792-12063 CommandsManager com.pedro.streamer I RTSP/1.0 451 Parameter Not Understood
CSeq: 4
Session: 9041561683
WWW-Authenticate: Digest realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4471e72899e4b0cb4a4e36419c13b658"
2024-05-04 15:12:45.105 11792-11792 RtmpClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:45.106 11792-11792 RtspClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:45.106 11792-11792 SrtClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:45.106 11792-11792 UdpClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:45.109 11792-12063 CommandsManager com.pedro.streamer I TEARDOWN rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
CSeq: 5
Session: 9041561683
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4471e72899e4b0cb4a4e36419c13b658", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="f36304da23b9c805391b7aa10063482e"
2024-05-04 15:12:45.112 11792-12063 RtspClient com.pedro.streamer I write teardown success
2024-05-04 15:12:45.123 11792-11792 Toast com.pedro.streamer I Retry Error configure stream, setup video 451
2024-05-04 15:12:45.129 11792-12063 RtspClient com.pedro.streamer E connection error
kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelling}@1f31a7d
2024-05-04 15:12:50.151 11792-12079 CommandsManager com.pedro.streamer I OPTIONS rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
CSeq: 1
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4471e72899e4b0cb4a4e36419c13b658", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="f36304da23b9c805391b7aa10063482e"
2024-05-04 15:12:50.157 11792-12079 CommandsManager com.pedro.streamer I RTSP/1.0 401 Unauthorized
CSeq: 1
WWW-Authenticate: Digest realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4145f1278977248b5354ca9f9738d35e"
2024-05-04 15:12:50.159 11792-12079 CommandsManager com.pedro.streamer I ANNOUNCE rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
Content-Type: application/sdp
CSeq: 2
Session:
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4471e72899e4b0cb4a4e36419c13b658", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="f36304da23b9c805391b7aa10063482e"
Content-Length: 447

                                                                                                v=0
                                                                                                o=- 0 0 IN IP4 127.0.0.1
                                                                                                s=Unnamed
                                                                                                i=N/A
                                                                                                c=IN IP4 192.168.99.108
                                                                                                t=0 0
                                                                                                a=recvonly
                                                                                                m=video 0 RTP/AVP 96
                                                                                                a=rtpmap:96 H264/90000
                                                                                                a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LAKI2NUDwBEvLCAAADAAIAAAMAZR4RCNQ=,aM4xsg==
                                                                                                a=control:streamid=0
                                                                                                m=audio 0 RTP/AVP 97
                                                                                                a=rtpmap:97 MPEG4-GENERIC/32000/2
                                                                                                a=fmtp:97 profile-level-id=1; mode=AAC-hbr; config=1290; sizelength=13; indexlength=3; indexdeltalength=3
                                                                                                a=control:streamid=1

2024-05-04 15:12:50.181 11792-12079 CommandsManager com.pedro.streamer I RTSP/1.0 401 Unauthorized
CSeq: 2
WWW-Authenticate: Digest realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4145f1278977248b5354ca9f9738d35e"
2024-05-04 15:12:50.183 11792-12079 CommandsManager com.pedro.streamer I using digest auth
2024-05-04 15:12:50.220 11792-12079 Auth com.pedro.streamer I Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4145f1278977248b5354ca9f9738d35e", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="47e1f0c63b4f66fc760224b5ba2557ae"
2024-05-04 15:12:50.221 11792-12079 CommandsManager com.pedro.streamer I ANNOUNCE rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
Content-Type: application/sdp
CSeq: 3
Session:
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4145f1278977248b5354ca9f9738d35e", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="47e1f0c63b4f66fc760224b5ba2557ae"
Content-Length: 447

                                                                                                v=0
                                                                                                o=- 0 0 IN IP4 127.0.0.1
                                                                                                s=Unnamed
                                                                                                i=N/A
                                                                                                c=IN IP4 192.168.99.108
                                                                                                t=0 0
                                                                                                a=recvonly
                                                                                                m=video 0 RTP/AVP 96
                                                                                                a=rtpmap:96 H264/90000
                                                                                                a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LAKI2NUDwBEvLCAAADAAIAAAMAZR4RCNQ=,aM4xsg==
                                                                                                a=control:streamid=0
                                                                                                m=audio 0 RTP/AVP 97
                                                                                                a=rtpmap:97 MPEG4-GENERIC/32000/2
                                                                                                a=fmtp:97 profile-level-id=1; mode=AAC-hbr; config=1290; sizelength=13; indexlength=3; indexdeltalength=3
                                                                                                a=control:streamid=1

2024-05-04 15:12:50.243 11792-12079 CommandsManager com.pedro.streamer I RTSP/1.0 200 OK
CSeq: 3
Server: Rtsp Server/3.0
2024-05-04 15:12:50.254 11792-11792 Toast com.pedro.streamer I Auth success
2024-05-04 15:12:50.256 11792-12079 CommandsManager com.pedro.streamer I SETUP rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0/streamid=0 RTSP/1.0
Transport: RTP/AVP/TCP;unicast;interleaved=0-1;mode=record
CSeq: 4
Session:
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4145f1278977248b5354ca9f9738d35e", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="47e1f0c63b4f66fc760224b5ba2557ae"
2024-05-04 15:12:50.283 11792-12079 CommandsManager com.pedro.streamer I RTSP/1.0 451 Parameter Not Understood
CSeq: 4
Session: 9046743120
WWW-Authenticate: Digest realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4145f1278977248b5354ca9f9738d35e"
2024-05-04 15:12:50.288 11792-11792 RtmpClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:50.289 11792-11792 RtspClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:50.289 11792-11792 SrtClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:50.289 11792-11792 UdpClient com.pedro.streamer I send sps and pps
2024-05-04 15:12:50.292 11792-12079 CommandsManager com.pedro.streamer I TEARDOWN rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
CSeq: 5
Session: 9046743120
Authorization: Digest username="admin", realm="Login to dd6e213b24f9567bdf6874a9afec49e0", nonce="4145f1278977248b5354ca9f9738d35e", uri="rtsp://192.168.99.108:554/cam/realmonitor?channel=1&subtype=0", response="47e1f0c63b4f66fc760224b5ba2557ae"
2024-05-04 15:12:50.296 11792-12079 RtspClient com.pedro.streamer I write teardown success
2024-05-04 15:12:50.304 11792-11792 Toast com.pedro.streamer I Retry Error configure stream, setup video 451
2024-05-04 15:12:50.307 11792-12079 RtspClient com.pedro.streamer E connection error
kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelling}@e62ae40

@pedroSG94
Copy link
Owner

pedroSG94 commented May 4, 2024

the rtsp url play by LVC is successful. but run the demo Failed and toast “Retry Error configure stream, setup video 451”

What do you means with this?
This library is not a player like VLC. This is a pusher/encoder like OBS app
Are you trying to stream in an endpoint already in use by other pusher/encoder?

If not, can you tell me the way to reproduce the case?

  • server name, version and configuration
  • steps to reproduce it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants