AlexxIT / go2rtc

Ultimate camera streaming application with support RTSP, RTMP, HTTP-FLV, WebRTC, MSE, HLS, MP4, MJPEG, HomeKit, FFmpeg, etc.
https://github.com/AlexxIT/Blog
MIT License
6.7k stars 481 forks source link

Issue w/ Reolink doorbell camera #214

Closed mghenderson closed 1 year ago

mghenderson commented 1 year ago

Attempting to connect to Reolink doorbell camera from HA, specifically for low latency video viewing in Home Assistant, even though I've spent hours trying this I'm still configuring something wrong, so any help would be amazing. I've attached the logs below, tell me what else you need and I'll grab it.

config

log:
  level: trace

go2rtc log - trace

23:06:36.217 INF go2rtc version 1.0.1 linux/amd64
23:06:36.217 TRC [api] register path path=/
23:06:36.217 TRC [api] register path path=/api
23:06:36.217 TRC [api] register path path=/api/config
23:06:36.217 TRC [api] register path path=/api/exit
23:06:36.217 TRC [api] register path path=/api/ws
23:06:36.217 INF [api] listen addr=:1984
23:06:36.217 TRC [api] register path path=/api/streams
23:06:36.217 INF [rtsp] listen addr=:8554
23:06:36.217 TRC [api] register path path=/api/devices
23:06:36.218 TRC [api] register path path=/static
23:06:36.218 TRC [api] register path path=/streams
23:06:36.218 TRC [api] register path path=/stream/
23:06:36.218 TRC [api] register path path=/stream
23:06:36.218 INF [srtp] listen addr=:8443
23:06:36.218 TRC [api] register path path=/api/homekit
23:06:36.218 INF [webrtc] listen addr=:8555
23:06:36.218 TRC [api] register path path=/api/webrtc
23:06:36.218 TRC [api] register path path=/api/frame.mp4
23:06:36.218 TRC [api] register path path=/api/stream.mp4
23:06:36.218 TRC [api] register path path=/api/frame.jpeg
23:06:36.218 TRC [api] register path path=/api/stream.mjpeg
23:06:36.218 TRC [api] register path path=/api/stack
23:06:41.283 TRC [api] GET /streams 172.16.2.1:38296
23:06:41.287 TRC [api] POST /stream/camera.192_168_40_20/add 172.16.2.1:38296
23:06:41.292 TRC [api] POST /stream/camera.192_168_40_20/channel/0/webrtc 172.16.2.1:38296
23:06:41.294 TRC [webrtc] offer:
v=0
o=mozilla...THIS_IS_SDPARTA-99.0 551677052352092758 0 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 AD:45:78:81:6A:0F:49:45:7F:81:3B:C6:B8:D9:05:19:AE:E9:C3:02:6B:9E:CC:A8:E2:BF:74:7C:84:DE:3F:43
a=group:BUNDLE 0 1 2
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 9 UDP/TLS/RTP/SAVPF 109 9 0 8 101
c=IN IP4 0.0.0.0
a=recvonly
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2/recvonly urn:ietf:params:rtp-hdrext:csrc-audio-level
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1
a=fmtp:101 0-15
a=ice-pwd:be8b5f46a22c7d2429e832166dd23dde
a=ice-ufrag:ac6893da
a=mid:0
a=rtcp-mux
a=rtpmap:109 opus/48000/2
a=rtpmap:9 G722/8000/1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000/1
a=setup:actpass
a=ssrc:4115483211 cname:{829caf3f-d350-4ce4-b269-7193c90bbdc2}
m=video 9 UDP/TLS/RTP/SAVPF 120 124 121 125 126 127 97 98
c=IN IP4 0.0.0.0
a=recvonly
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:5 urn:ietf:params:rtp-hdrext:toffset
a=extmap:6/recvonly http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1
a=fmtp:120 max-fs=12288;max-fr=60
a=fmtp:124 apt=120
a=fmtp:121 max-fs=12288;max-fr=60
a=fmtp:125 apt=121
a=fmtp:127 apt=126
a=fmtp:98 apt=97
a=ice-pwd:be8b5f46a22c7d2429e832166dd23dde
a=ice-ufrag:ac6893da
a=mid:1
a=rtcp-fb:120 nack
a=rtcp-fb:120 nack pli
a=rtcp-fb:120 ccm fir
a=rtcp-fb:120 goog-remb
a=rtcp-fb:120 transport-cc
a=rtcp-fb:121 nack
a=rtcp-fb:121 nack pli
a=rtcp-fb:121 ccm fir
a=rtcp-fb:121 goog-remb
a=rtcp-fb:121 transport-cc
a=rtcp-fb:126 nack
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:126 goog-remb
a=rtcp-fb:126 transport-cc
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtcp-fb:97 goog-remb
a=rtcp-fb:97 transport-cc
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:120 VP8/90000
a=rtpmap:124 rtx/90000
a=rtpmap:121 VP9/90000
a=rtpmap:125 rtx/90000
a=rtpmap:126 H264/90000
a=rtpmap:127 rtx/90000
a=rtpmap:97 H264/90000
a=rtpmap:98 rtx/90000
a=setup:actpass
a=ssrc:2997497917 cname:{829caf3f-d350-4ce4-b269-7193c90bbdc2}
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 0.0.0.0
a=sendrecv
a=ice-pwd:be8b5f46a22c7d2429e832166dd23dde
a=ice-ufrag:ac6893da
a=mid:2
a=setup:actpass
a=sctp-port:5000
a=max-message-size:1073741823
a=candidate:0 1 UDP 2122252543 df0daa4d-f7a9-4c50-9cf0-3469b721cebf.local 53180 typ host
a=candidate:1 1 TCP 2105524479 df0daa4d-f7a9-4c50-9cf0-3469b721cebf.local 9 typ host tcptype active
a=
a=candidate:0 1 UDP 2122252543 df0daa4d-f7a9-4c50-9cf0-3469b721cebf.local 53181 typ host
a=candidate:1 1 TCP 2105524479 df0daa4d-f7a9-4c50-9cf0-3469b721cebf.local 9 typ host tcptype active
a=candidate:0 2 UDP 2122252542 df0daa4d-f7a9-4c50-9cf0-3469b721cebf.local 53182 typ host
a=candidate:1 2 TCP 2105524478 df0daa4d-f7a9-4c50-9cf0-3469b721cebf.local 9 typ host tcptype active
a=
a=candidate:0 1 UDP 2122252543 df0daa4d-f7a9-4c50-9cf0-3469b721cebf.local 53183 typ host
a=candidate:1 1 TCP 2105524479 df0daa4d-f7a9-4c50-9cf0-3469b721cebf.local 9 typ host tcptype active
a=candidate:0 2 UDP 2122252542 df0daa4d-f7a9-4c50-9cf0-3469b721cebf.local 53184 typ host
a=candidate:1 2 TCP 2105524478 df0daa4d-f7a9-4c50-9cf0-3469b721cebf.local 9 typ host tcptype active
a=

23:06:41.298 TRC [streams] consumer=0 candidate=0 media="video, recvonly, 120 VP8/90000, 124 RTX/90000, 121 VP9/90000, 125 RTX/90000, 126 H264/90000, 127 RTX/90000, 97 H264/90000, 98 RTX/90000"
23:06:41.298 DBG [streams] probe producer url=rtsp://admin:<password>@192.168.40.20:554/
23:06:41.301 TRC [rtsp] client request:
DESCRIBE rtsp://192.168.40.20:554/ RTSP/1.0
Accept: application/sdp
Require: www.onvif.org/ver20/backchannel
CSeq: 1

23:06:41.304 TRC [rtsp] client response:
RTSP/1.0 401 Unauthorized
Date: Thu, Jan 26 2023 23:06:41 GMT
Www-Authenticate: Digest realm="LIVE555 Streaming Media", nonce="e70f5b4ffa9d48c1d15e088030090ce6"
Cseq: 1

23:06:41.304 TRC [rtsp] client request:
DESCRIBE rtsp://192.168.40.20:554/ RTSP/1.0
Accept: application/sdp
Require: www.onvif.org/ver20/backchannel
CSeq: 2
Authorization: Digest username="admin", realm="LIVE555 Streaming Media", nonce="e70f5b4ffa9d48c1d15e088030090ce6", uri="/", response="3df4f3649dee4f4dac55a58aafc4f1eb"

23:06:41.352 TRC [rtsp] client response:
RTSP/1.0 200 OK
Content-Length: 663
Date: Thu, Jan 26 2023 23:06:41 GMT
Cseq: 2
Content-Type: application/sdp
Content-Base: rtsp://192.168.40.20//

v=0
o=- 1674668428057855 1 IN IP4 192.168.40.20
s=Session streamed by "preview"
i=
t=0 0
a=tool:LIVE555 Streaming Media v2020.08.12
a=type:broadcast

      
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session streamed by "preview"
a=x-qt-text-inf:
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:8192
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=640033;sprop-parameter-sets=Z2QAM6wVFKAoAPGQ,aO48sA==
a=control:track1
m=audio 0 RTP/AVP 97
c=IN IP4 0.0.0.0
b=AS:8192
a=rtpmap:97 MPEG4-GENERIC/16000
a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1408
a=control:track2

23:06:41.353 TRC [streams] producer=0 candidate=0 media="video, sendonly, 96 H264/90000"
23:06:41.353 TRC [streams] match producer:0:0 => consumer:0:0 codec="96 H264/90000"
23:06:41.353 TRC [rtsp] client request:
SETUP rtsp://192.168.40.20//track1 RTSP/1.0
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
CSeq: 3
Authorization: Digest username="admin", realm="LIVE555 Streaming Media", nonce="e70f5b4ffa9d48c1d15e088030090ce6", uri="//track1", response="d78add8349e2f6608f2057c973ea66ca"

23:06:41.473 TRC [rtsp] client response:
RTSP/1.0 200 OK
Cseq: 3
Date: Thu, Jan 26 2023 23:06:41 GMT
Transport: RTP/AVP/TCP;unicast;destination=192.168.60.60;source=192.168.40.20;interleaved=0-1
Session: 0044195F;timeout=65

23:06:41.473 TRC [streams] consumer=0 candidate=1 media="audio, recvonly, 109 OPUS/48000/2, 9 G722/8000, 0 PCMU/8000, 8 PCMA/8000, 101 TELEPHONE-EVENT/8000"
23:06:41.473 TRC [streams] producer=0 candidate=0 media="video, sendonly, 96 H264/90000"
23:06:41.473 TRC [streams] producer=0 candidate=1 media="audio, sendonly, 97 MPEG4-GENERIC/16000"
23:06:41.473 DBG [streams] start producer url=rtsp://admin:<password>@192.168.40.20:554/
23:06:41.474 TRC [rtsp] client request:
PLAY rtsp://192.168.40.20// RTSP/1.0
Session: 0044195F
CSeq: 4
Authorization: Digest username="admin", realm="LIVE555 Streaming Media", nonce="e70f5b4ffa9d48c1d15e088030090ce6", uri="//", response="258f3d7a88d7315f08dcbac20ec6f12f"

23:06:41.512 TRC [webrtc] answer
v=0
o=- 9040516536574664538 1674774401 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 19:F5:B3:0D:A9:F6:D6:CC:E3:D7:91:A7:2F:96:B1:49:DE:00:4F:92:39:F5:14:B0:ED:54:A1:42:DC:2E:6E:53
a=group:BUNDLE 0 1 2
m=audio 9 UDP/TLS/RTP/SAVPF 109 0 8
c=IN IP4 0.0.0.0
a=setup:active
a=mid:0
a=ice-ufrag:lGLKVJHRnUwYjAPB
a=ice-pwd:yYMWooMJOHxhCqfmRiqLurpBCvYRZtka
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:109 opus/48000/2
a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=inactive
a=candidate:1742402500 1 tcp 2124414975 172.16.2.16 8555 typ host tcptype passive
a=candidate:1742402500 2 tcp 2124414975 172.16.2.16 8555 typ host tcptype passive
a=candidate:3660153380 1 udp 2130706431 172.16.2.16 8555 typ host
a=candidate:3660153380 2 udp 2130706431 172.16.2.16 8555 typ host
a=candidate:281966988 1 udp 1694498815 69.5.152.129 30320 typ srflx raddr 0.0.0.0 rport 38362
a=candidate:281966988 2 udp 1694498815 69.5.152.129 30320 typ srflx raddr 0.0.0.0 rport 38362
a=end-of-candidates
m=video 9 UDP/TLS/RTP/SAVPF 126
c=IN IP4 0.0.0.0
a=setup:active
a=mid:1
a=ice-ufrag:lGLKVJHRnUwYjAPB
a=ice-pwd:yYMWooMJOHxhCqfmRiqLurpBCvYRZtka
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:126 H264/90000
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=rtcp-fb:126 nack 
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:126 goog-remb 
a=rtcp-fb:126 transport-cc 
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=ssrc:959259092 cname:go2rtc
a=ssrc:959259092 msid:go2rtc video
a=ssrc:959259092 mslabel:go2rtc
a=ssrc:959259092 label:video
a=msid:go2rtc video
a=sendonly
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 0.0.0.0
a=setup:active
a=mid:2
a=sendrecv
a=sctp-port:5000
a=ice-ufrag:lGLKVJHRnUwYjAPB
a=ice-pwd:yYMWooMJOHxhCqfmRiqLurpBCvYRZtka

23:06:41.708 TRC [rtsp] client response:
RTSP/1.0 200 OK
Date: Thu, Jan 26 2023 23:06:41 GMT
Range: npt=0.000-
Session: 0044195F
Rtp-Info: url=rtsp://192.168.40.20//track1;seq=56840;rtptime=3784291703,url=rtsp://192.168.40.20//track2;seq=0;rtptime=0
Cseq: 4

23:06:51.698 TRC [api] GET /streams 172.16.2.1:38296
23:06:51.701 TRC [api] POST /stream/camera.192_168_40_20/add 172.16.2.1:38296
23:06:51.708 TRC [api] POST /stream/camera.192_168_40_20/channel/0/webrtc 172.16.2.1:38296
23:06:51.709 TRC [webrtc] offer:
v=0
o=mozilla...THIS_IS_SDPARTA-99.0 703183014848813370 0 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 22:06:11:CD:E8:BC:27:8C:0E:55:DC:A5:D1:00:D2:21:15:E7:D4:5D:BF:D4:F3:85:EF:C0:7B:E1:33:D7:89:0A
a=group:BUNDLE 0 1 2
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 9 UDP/TLS/RTP/SAVPF 109 9 0 8 101
c=IN IP4 0.0.0.0
a=recvonly
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2/recvonly urn:ietf:params:rtp-hdrext:csrc-audio-level
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1
a=fmtp:101 0-15
a=ice-pwd:026ec9bf8f2834f69860081f049c7a2e
a=ice-ufrag:4ddc6d52
a=mid:0
a=rtcp-mux
a=rtpmap:109 opus/48000/2
a=rtpmap:9 G722/8000/1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000/1
a=setup:actpass
a=ssrc:1347584332 cname:{913b1b1f-7e76-4a85-9632-b56eed326185}
m=video 9 UDP/TLS/RTP/SAVPF 120 124 121 125 126 127 97 98
c=IN IP4 0.0.0.0
a=recvonly
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:5 urn:ietf:params:rtp-hdrext:toffset
a=extmap:6/recvonly http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1
a=fmtp:120 max-fs=12288;max-fr=60
a=fmtp:124 apt=120
a=fmtp:121 max-fs=12288;max-fr=60
a=fmtp:125 apt=121
a=fmtp:127 apt=126
a=fmtp:98 apt=97
a=ice-pwd:026ec9bf8f2834f69860081f049c7a2e
a=ice-ufrag:4ddc6d52
a=mid:1
a=rtcp-fb:120 nack
a=rtcp-fb:120 nack pli
a=rtcp-fb:120 ccm fir
a=rtcp-fb:120 goog-remb
a=rtcp-fb:120 transport-cc
a=rtcp-fb:121 nack
a=rtcp-fb:121 nack pli
a=rtcp-fb:121 ccm fir
a=rtcp-fb:121 goog-remb
a=rtcp-fb:121 transport-cc
a=rtcp-fb:126 nack
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:126 goog-remb
a=rtcp-fb:126 transport-cc
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtcp-fb:97 goog-remb
a=rtcp-fb:97 transport-cc
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:120 VP8/90000
a=rtpmap:124 rtx/90000
a=rtpmap:121 VP9/90000
a=rtpmap:125 rtx/90000
a=rtpmap:126 H264/90000
a=rtpmap:127 rtx/90000
a=rtpmap:97 H264/90000
a=rtpmap:98 rtx/90000
a=setup:actpass
a=ssrc:3455300588 cname:{913b1b1f-7e76-4a85-9632-b56eed326185}
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 0.0.0.0
a=sendrecv
a=ice-pwd:026ec9bf8f2834f69860081f049c7a2e
a=ice-ufrag:4ddc6d52
a=mid:2
a=setup:actpass
a=sctp-port:5000
a=max-message-size:1073741823
a=candidate:0 1 UDP 2122252543 afb64444-f271-44d9-a930-a49193c95869.local 57107 typ host
a=candidate:1 1 TCP 2105524479 afb64444-f271-44d9-a930-a49193c95869.local 9 typ host tcptype active
a=
a=candidate:0 1 UDP 2122252543 afb64444-f271-44d9-a930-a49193c95869.local 57108 typ host
a=candidate:1 1 TCP 2105524479 afb64444-f271-44d9-a930-a49193c95869.local 9 typ host tcptype active
a=candidate:0 2 UDP 2122252542 afb64444-f271-44d9-a930-a49193c95869.local 57109 typ host
a=candidate:1 2 TCP 2105524478 afb64444-f271-44d9-a930-a49193c95869.local 9 typ host tcptype active
a=
a=candidate:0 1 UDP 2122252543 afb64444-f271-44d9-a930-a49193c95869.local 57110 typ host
a=candidate:1 1 TCP 2105524479 afb64444-f271-44d9-a930-a49193c95869.local 9 typ host tcptype active
a=candidate:0 2 UDP 2122252542 afb64444-f271-44d9-a930-a49193c95869.local 57111 typ host
a=candidate:1 2 TCP 2105524478 afb64444-f271-44d9-a930-a49193c95869.local 9 typ host tcptype active
a=

23:06:51.712 TRC [streams] consumer=1 candidate=0 media="video, recvonly, 120 VP8/90000, 124 RTX/90000, 121 VP9/90000, 125 RTX/90000, 126 H264/90000, 127 RTX/90000, 97 H264/90000, 98 RTX/90000"
23:06:51.712 TRC [streams] producer=0 candidate=0 media="video, sendonly, 96 H264/90000"
23:06:51.712 TRC [streams] match producer:0:0 => consumer:1:0 codec="96 H264/90000"
23:06:51.713 TRC [streams] consumer=1 candidate=1 media="audio, recvonly, 109 OPUS/48000/2, 9 G722/8000, 0 PCMU/8000, 8 PCMA/8000, 101 TELEPHONE-EVENT/8000"
23:06:51.713 TRC [streams] producer=0 candidate=0 media="video, sendonly, 96 H264/90000"
23:06:51.714 TRC [streams] producer=0 candidate=1 media="audio, sendonly, 97 MPEG4-GENERIC/16000"
23:06:51.752 TRC [webrtc] answer
v=0
o=- 5886759140275661158 1674774411 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 FF:47:86:B0:C4:E3:B6:6D:A6:B7:CB:43:BC:65:D2:91:13:CF:1B:A5:76:B0:4F:9D:D8:7C:AD:CD:34:0C:6B:05
a=group:BUNDLE 0 1 2
m=audio 9 UDP/TLS/RTP/SAVPF 109 0 8
c=IN IP4 0.0.0.0
a=setup:active
a=mid:0
a=ice-ufrag:vpIeVfctZbcKCFTp
a=ice-pwd:hUnvvihmJIazTEQKfQrHAFXFQjKNxMot
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:109 opus/48000/2
a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=inactive
a=candidate:3660153380 1 udp 2130706431 172.16.2.16 8555 typ host
a=candidate:3660153380 2 udp 2130706431 172.16.2.16 8555 typ host
a=candidate:281966988 1 udp 1694498815 69.5.152.129 12075 typ srflx raddr 0.0.0.0 rport 45585
a=candidate:281966988 2 udp 1694498815 69.5.152.129 12075 typ srflx raddr 0.0.0.0 rport 45585
a=candidate:1742402500 1 tcp 2124414975 172.16.2.16 8555 typ host tcptype passive
a=candidate:1742402500 2 tcp 2124414975 172.16.2.16 8555 typ host tcptype passive
a=end-of-candidates
m=video 9 UDP/TLS/RTP/SAVPF 126
c=IN IP4 0.0.0.0
a=setup:active
a=mid:1
a=ice-ufrag:vpIeVfctZbcKCFTp
a=ice-pwd:hUnvvihmJIazTEQKfQrHAFXFQjKNxMot
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:126 H264/90000
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=rtcp-fb:126 nack 
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:126 goog-remb 
a=rtcp-fb:126 transport-cc 
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=ssrc:4278010916 cname:go2rtc
a=ssrc:4278010916 msid:go2rtc video
a=ssrc:4278010916 mslabel:go2rtc
a=ssrc:4278010916 label:video
a=msid:go2rtc video
a=sendonly
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 0.0.0.0
a=setup:active
a=mid:2
a=sendrecv
a=sctp-port:5000
a=ice-ufrag:vpIeVfctZbcKCFTp
a=ice-pwd:hUnvvihmJIazTEQKfQrHAFXFQjKNxMot

23:07:01.184 TRC [api] GET /streams 172.16.2.1:38296
23:07:01.200 TRC [api] POST /stream/camera.192_168_40_20/add 172.16.2.1:38296
23:07:01.203 TRC [api] POST /stream/camera.192_168_40_20/channel/0/webrtc 172.16.2.1:38296
23:07:01.205 TRC [webrtc] offer:
v=0
o=mozilla...THIS_IS_SDPARTA-99.0 6085531063102166389 0 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 22:F1:7B:4E:15:FD:DA:70:2B:09:53:71:B0:A3:74:BA:3F:78:2C:F6:4C:DB:A8:3F:12:D9:A5:00:93:B4:68:91
a=group:BUNDLE 0 1 2
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 9 UDP/TLS/RTP/SAVPF 109 9 0 8 101
c=IN IP4 0.0.0.0
a=recvonly
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2/recvonly urn:ietf:params:rtp-hdrext:csrc-audio-level
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1
a=fmtp:101 0-15
a=ice-pwd:caa8b45f96e46dfa509a688820a46c6f
a=ice-ufrag:3e370f5d
a=mid:0
a=rtcp-mux
a=rtpmap:109 opus/48000/2
a=rtpmap:9 G722/8000/1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000/1
a=setup:actpass
a=ssrc:3554256623 cname:{1cfcc677-23f1-48b2-be61-c68ef35b39ec}
m=video 9 UDP/TLS/RTP/SAVPF 120 124 121 125 126 127 97 98
c=IN IP4 0.0.0.0
a=recvonly
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:5 urn:ietf:params:rtp-hdrext:toffset
a=extmap:6/recvonly http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1
a=fmtp:120 max-fs=12288;max-fr=60
a=fmtp:124 apt=120
a=fmtp:121 max-fs=12288;max-fr=60
a=fmtp:125 apt=121
a=fmtp:127 apt=126
a=fmtp:98 apt=97
a=ice-pwd:caa8b45f96e46dfa509a688820a46c6f
a=ice-ufrag:3e370f5d
a=mid:1
a=rtcp-fb:120 nack
a=rtcp-fb:120 nack pli
a=rtcp-fb:120 ccm fir
a=rtcp-fb:120 goog-remb
a=rtcp-fb:120 transport-cc
a=rtcp-fb:121 nack
a=rtcp-fb:121 nack pli
a=rtcp-fb:121 ccm fir
a=rtcp-fb:121 goog-remb
a=rtcp-fb:121 transport-cc
a=rtcp-fb:126 nack
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:126 goog-remb
a=rtcp-fb:126 transport-cc
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtcp-fb:97 goog-remb
a=rtcp-fb:97 transport-cc
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:120 VP8/90000
a=rtpmap:124 rtx/90000
a=rtpmap:121 VP9/90000
a=rtpmap:125 rtx/90000
a=rtpmap:126 H264/90000
a=rtpmap:127 rtx/90000
a=rtpmap:97 H264/90000
a=rtpmap:98 rtx/90000
a=setup:actpass
a=ssrc:2720113608 cname:{1cfcc677-23f1-48b2-be61-c68ef35b39ec}
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 0.0.0.0
a=sendrecv
a=ice-pwd:caa8b45f96e46dfa509a688820a46c6f
a=ice-ufrag:3e370f5d
a=mid:2
a=setup:actpass
a=sctp-port:5000
a=max-message-size:1073741823
a=candidate:0 1 UDP 2122252543 0dc41c8f-fb4a-481f-b7eb-14633404e612.local 58122 typ host
a=candidate:1 1 TCP 2105524479 0dc41c8f-fb4a-481f-b7eb-14633404e612.local 9 typ host tcptype active
a=
a=candidate:0 1 UDP 2122252543 0dc41c8f-fb4a-481f-b7eb-14633404e612.local 58123 typ host
a=candidate:1 1 TCP 2105524479 0dc41c8f-fb4a-481f-b7eb-14633404e612.local 9 typ host tcptype active
a=candidate:0 2 UDP 2122252542 0dc41c8f-fb4a-481f-b7eb-14633404e612.local 58124 typ host
a=candidate:1 2 TCP 2105524478 0dc41c8f-fb4a-481f-b7eb-14633404e612.local 9 typ host tcptype active
a=
a=candidate:0 1 UDP 2122252543 0dc41c8f-fb4a-481f-b7eb-14633404e612.local 58125 typ host
a=candidate:1 1 TCP 2105524479 0dc41c8f-fb4a-481f-b7eb-14633404e612.local 9 typ host tcptype active
a=candidate:0 2 UDP 2122252542 0dc41c8f-fb4a-481f-b7eb-14633404e612.local 58126 typ host
a=candidate:1 2 TCP 2105524478 0dc41c8f-fb4a-481f-b7eb-14633404e612.local 9 typ host tcptype active
a=

23:07:01.208 TRC [streams] consumer=2 candidate=0 media="video, recvonly, 120 VP8/90000, 124 RTX/90000, 121 VP9/90000, 125 RTX/90000, 126 H264/90000, 127 RTX/90000, 97 H264/90000, 98 RTX/90000"
23:07:01.208 TRC [streams] producer=0 candidate=0 media="video, sendonly, 96 H264/90000"
23:07:01.208 TRC [streams] match producer:0:0 => consumer:2:0 codec="96 H264/90000"
23:07:01.209 TRC [streams] consumer=2 candidate=1 media="audio, recvonly, 109 OPUS/48000/2, 9 G722/8000, 0 PCMU/8000, 8 PCMA/8000, 101 TELEPHONE-EVENT/8000"
23:07:01.209 TRC [streams] producer=0 candidate=0 media="video, sendonly, 96 H264/90000"
23:07:01.209 TRC [streams] producer=0 candidate=1 media="audio, sendonly, 97 MPEG4-GENERIC/16000"
23:07:01.248 TRC [webrtc] answer
v=0
o=- 1910406581429683896 1674774421 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 D8:81:C0:BC:43:98:2C:75:09:DC:3C:E9:DE:9D:26:67:FA:DA:53:F3:8D:F3:D9:D2:F3:35:82:50:E3:67:4B:14
a=group:BUNDLE 0 1 2
m=audio 9 UDP/TLS/RTP/SAVPF 109 0 8
c=IN IP4 0.0.0.0
a=setup:active
a=mid:0
a=ice-ufrag:GfEHmMFUSXmuKwpM
a=ice-pwd:xZqCXcDKGSeHUGWoQJBaKjEpFwIYMzwu
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:109 opus/48000/2
a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=inactive
a=candidate:1742402500 1 tcp 2124414975 172.16.2.16 8555 typ host tcptype passive
a=candidate:1742402500 2 tcp 2124414975 172.16.2.16 8555 typ host tcptype passive
a=candidate:3660153380 1 udp 2130706431 172.16.2.16 8555 typ host
a=candidate:3660153380 2 udp 2130706431 172.16.2.16 8555 typ host
a=candidate:281966988 1 udp 1694498815 69.5.152.129 47774 typ srflx raddr 0.0.0.0 rport 60034
a=candidate:281966988 2 udp 1694498815 69.5.152.129 47774 typ srflx raddr 0.0.0.0 rport 60034
a=end-of-candidates
m=video 9 UDP/TLS/RTP/SAVPF 126
c=IN IP4 0.0.0.0
a=setup:active
a=mid:1
a=ice-ufrag:GfEHmMFUSXmuKwpM
a=ice-pwd:xZqCXcDKGSeHUGWoQJBaKjEpFwIYMzwu
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:126 H264/90000
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=rtcp-fb:126 nack 
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:126 goog-remb 
a=rtcp-fb:126 transport-cc 
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=ssrc:1099264203 cname:go2rtc
a=ssrc:1099264203 msid:go2rtc video
a=ssrc:1099264203 mslabel:go2rtc
a=ssrc:1099264203 label:video
a=msid:go2rtc video
a=sendonly
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 0.0.0.0
a=setup:active
a=mid:2
a=sendrecv
a=sctp-port:5000
a=ice-ufrag:GfEHmMFUSXmuKwpM
a=ice-pwd:xZqCXcDKGSeHUGWoQJBaKjEpFwIYMzwu

23:07:03.396 TRC [api] GET /streams 172.16.2.1:38296
23:07:03.398 TRC [api] POST /stream/camera.192_168_40_20/add 172.16.2.1:38296
23:07:03.402 TRC [api] POST /stream/camera.192_168_40_20/channel/0/webrtc 172.16.2.1:38296
23:07:03.404 TRC [webrtc] offer:
v=0
o=mozilla...THIS_IS_SDPARTA-99.0 8100055670984120721 0 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 5E:09:14:F2:EB:B8:12:54:0B:70:F7:AA:0E:F8:B9:08:85:C4:4A:A4:DE:95:AB:44:42:BD:81:DD:F3:9E:9D:C8
a=group:BUNDLE 0 1 2
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 9 UDP/TLS/RTP/SAVPF 109 9 0 8 101
c=IN IP4 0.0.0.0
a=recvonly
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2/recvonly urn:ietf:params:rtp-hdrext:csrc-audio-level
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1
a=fmtp:101 0-15
a=ice-pwd:d7a7833743486ef54a4b4994a1e86930
a=ice-ufrag:9ceb5d55
a=mid:0
a=rtcp-mux
a=rtpmap:109 opus/48000/2
a=rtpmap:9 G722/8000/1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000/1
a=setup:actpass
a=ssrc:2741078407 cname:{6b178a76-17b1-4ba3-b5c3-e377ab22ef19}
m=video 9 UDP/TLS/RTP/SAVPF 120 124 121 125 126 127 97 98
c=IN IP4 0.0.0.0
a=recvonly
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:5 urn:ietf:params:rtp-hdrext:toffset
a=extmap:6/recvonly http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1
a=fmtp:120 max-fs=12288;max-fr=60
a=fmtp:124 apt=120
a=fmtp:121 max-fs=12288;max-fr=60
a=fmtp:125 apt=121
a=fmtp:127 apt=126
a=fmtp:98 apt=97
a=ice-pwd:d7a7833743486ef54a4b4994a1e86930
a=ice-ufrag:9ceb5d55
a=mid:1
a=rtcp-fb:120 nack
a=rtcp-fb:120 nack pli
a=rtcp-fb:120 ccm fir
a=rtcp-fb:120 goog-remb
a=rtcp-fb:120 transport-cc
a=rtcp-fb:121 nack
a=rtcp-fb:121 nack pli
a=rtcp-fb:121 ccm fir
a=rtcp-fb:121 goog-remb
a=rtcp-fb:121 transport-cc
a=rtcp-fb:126 nack
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:126 goog-remb
a=rtcp-fb:126 transport-cc
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtcp-fb:97 goog-remb
a=rtcp-fb:97 transport-cc
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:120 VP8/90000
a=rtpmap:124 rtx/90000
a=rtpmap:121 VP9/90000
a=rtpmap:125 rtx/90000
a=rtpmap:126 H264/90000
a=rtpmap:127 rtx/90000
a=rtpmap:97 H264/90000
a=rtpmap:98 rtx/90000
a=setup:actpass
a=ssrc:1552796651 cname:{6b178a76-17b1-4ba3-b5c3-e377ab22ef19}
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 0.0.0.0
a=sendrecv
a=ice-pwd:d7a7833743486ef54a4b4994a1e86930
a=ice-ufrag:9ceb5d55
a=mid:2
a=setup:actpass
a=sctp-port:5000
a=max-message-size:1073741823
a=candidate:0 1 UDP 2122252543 05eec978-a803-4c7b-a150-9e39b826bb82.local 65078 typ host
a=candidate:1 1 TCP 2105524479 05eec978-a803-4c7b-a150-9e39b826bb82.local 9 typ host tcptype active
a=
a=candidate:0 1 UDP 2122252543 05eec978-a803-4c7b-a150-9e39b826bb82.local 65079 typ host
a=candidate:1 1 TCP 2105524479 05eec978-a803-4c7b-a150-9e39b826bb82.local 9 typ host tcptype active
a=candidate:0 2 UDP 2122252542 05eec978-a803-4c7b-a150-9e39b826bb82.local 65080 typ host
a=candidate:1 2 TCP 2105524478 05eec978-a803-4c7b-a150-9e39b826bb82.local 9 typ host tcptype active
a=
a=candidate:0 1 UDP 2122252543 05eec978-a803-4c7b-a150-9e39b826bb82.local 65081 typ host
a=candidate:1 1 TCP 2105524479 05eec978-a803-4c7b-a150-9e39b826bb82.local 9 typ host tcptype active
a=candidate:0 2 UDP 2122252542 05eec978-a803-4c7b-a150-9e39b826bb82.local 65082 typ host
a=candidate:1 2 TCP 2105524478 05eec978-a803-4c7b-a150-9e39b826bb82.local 9 typ host tcptype active
a=

23:07:03.410 TRC [streams] consumer=3 candidate=0 media="video, recvonly, 120 VP8/90000, 124 RTX/90000, 121 VP9/90000, 125 RTX/90000, 126 H264/90000, 127 RTX/90000, 97 H264/90000, 98 RTX/90000"
23:07:03.410 TRC [streams] producer=0 candidate=0 media="video, sendonly, 96 H264/90000"
23:07:03.410 TRC [streams] match producer:0:0 => consumer:3:0 codec="96 H264/90000"
23:07:03.411 TRC [streams] consumer=3 candidate=1 media="audio, recvonly, 109 OPUS/48000/2, 9 G722/8000, 0 PCMU/8000, 8 PCMA/8000, 101 TELEPHONE-EVENT/8000"
23:07:03.411 TRC [streams] producer=0 candidate=0 media="video, sendonly, 96 H264/90000"
23:07:03.411 TRC [streams] producer=0 candidate=1 media="audio, sendonly, 97 MPEG4-GENERIC/16000"
23:07:03.452 TRC [webrtc] answer
v=0
o=- 3172862404949999977 1674774423 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 96:72:8D:D9:CC:FD:89:6D:4E:B8:7D:D1:97:3D:59:AD:8E:C3:A0:AE:59:AD:6B:CD:A3:47:95:69:EA:9B:DA:63
a=group:BUNDLE 0 1 2
m=audio 9 UDP/TLS/RTP/SAVPF 109 0 8
c=IN IP4 0.0.0.0
a=setup:active
a=mid:0
a=ice-ufrag:npoYvxBWFasjGtUe
a=ice-pwd:FSxofafyCuhTqFKiReQpYdZMEXGSoacx
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:109 opus/48000/2
a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=inactive
a=candidate:3660153380 1 udp 2130706431 172.16.2.16 8555 typ host
a=candidate:3660153380 2 udp 2130706431 172.16.2.16 8555 typ host
a=candidate:281966988 1 udp 1694498815 69.5.152.129 39650 typ srflx raddr 0.0.0.0 rport 34629
a=candidate:281966988 2 udp 1694498815 69.5.152.129 39650 typ srflx raddr 0.0.0.0 rport 34629
a=candidate:1742402500 1 tcp 2124414975 172.16.2.16 8555 typ host tcptype passive
a=candidate:1742402500 2 tcp 2124414975 172.16.2.16 8555 typ host tcptype passive
a=end-of-candidates
m=video 9 UDP/TLS/RTP/SAVPF 126
c=IN IP4 0.0.0.0
a=setup:active
a=mid:1
a=ice-ufrag:npoYvxBWFasjGtUe
a=ice-pwd:FSxofafyCuhTqFKiReQpYdZMEXGSoacx
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:126 H264/90000
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=rtcp-fb:126 nack 
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:126 goog-remb 
a=rtcp-fb:126 transport-cc 
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=ssrc:64518929 cname:go2rtc
a=ssrc:64518929 msid:go2rtc video
a=ssrc:64518929 mslabel:go2rtc
a=ssrc:64518929 label:video
a=msid:go2rtc video
a=sendonly
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 0.0.0.0
a=setup:active
a=mid:2
a=sendrecv
a=sctp-port:5000
a=ice-ufrag:npoYvxBWFasjGtUe
a=ice-pwd:FSxofafyCuhTqFKiReQpYdZMEXGSoacx

23:07:06.475 TRC [rtsp] client request:
OPTIONS rtsp://192.168.40.20// RTSP/1.0
CSeq: 5
Authorization: Digest username="admin", realm="LIVE555 Streaming Media", nonce="e70f5b4ffa9d48c1d15e088030090ce6", uri="//", response="93a29381c4c7412b9ae6ebaa4a200a92"
Session: 0044195F

23:07:06.479 TRC [rtsp] client response:
RTSP/1.0 200 OK
Cseq: 5
Date: Thu, Jan 26 2023 23:07:06 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER
NickM-27 commented 1 year ago

I have this doorbell. I'd highly recommend using the http_flv stream instead of the rtsp stream as it is much more stable / reliable https://deploy-preview-4055--frigate-docs.netlify.app/configuration/camera_specific#reolink-cameras

AlexxIT commented 1 year ago

You didn't describe what the problem is?

mghenderson commented 1 year ago

Apologies, original issue was that no matter what configuration/version I tried, I could never get go2rtc to connect & stream correctly. Going to close this as I've taken @NickM-27 advice (thanks for that, btw).