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

Fix wrong SDP for MERCURY camera #708

Closed
wiz-anzhen opened this issue Oct 20, 2023 · 2 comments
Closed

Fix wrong SDP for MERCURY camera #708

wiz-anzhen opened this issue Oct 20, 2023 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@wiz-anzhen
Copy link

wiz-anzhen commented Oct 20, 2023

0:40:04.302 TRC [rtsp] client response:
RTSP/1.0 200 OK
Content-Base: rtsp://10.0.0.94:554/stream2/
Content-Type: application/sdp
Content-Length: 478
Cseq: 2
Date: Fri, Oct 20 2023 02:40:02 GMT

v=0
o=- 14665860 31787219 1 IN IP4 10.0.0.94
s=Session streamed by "MERCURY RTSP Server"
t=0 0
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:4096
a=range:npt=0-
a=control:track1
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; profile-level-id=640016; sprop-parameter-sets=Z2QAFqzGoCgPaEAAAAMAQAAAB6E=,aOqPLA==
m=audio 0 RTP/AVP 8
a=rtpmap:8 PCMA/8000
a=control:track2
m=application/MERCURY 0 RTP/AVP smart/1/90000
a=rtpmap:95 MERCURY/90000
a=control:track3

10:40:04.303 TRC [streams] skip prod=rtsp://admin:play4u88A@10.0.0.94:554/stream2 error="sdp: invalid value `application/MERCURY`"
2
10:40:09.583 DBG [streams] can't stop none producer
10:40:09.583 ERR internal/mjpeg/init.go:166 > error="streams: sdp: invalid value `application/MERCURY`"
@wiz-anzhen wiz-anzhen changed the title MERCURY camera there is a error on MERCURY camera #336 Oct 20, 2023
@wiz-anzhen
Copy link
Author

wiz-anzhen commented Oct 20, 2023

10:33:17.064 TRC [streams] skip prod=rtsp://admin:play4u88A@10.0.0.94:554/stream2 error=EOF
10:34:04.000 DBG [mp4] add consumer error="streams: sdp: invalid value `application/MERCURY`, EOF"
10:34:04.000 TRC [streams] skip prod=rtsp://admin:play4u88A@10.0.0.94:554/stream2 error="dial tcp 10.0.0.94:554: i/o timeout"
10:40:01.200 TRC [api.ws] msg type=mjpeg
10:40:01.200 DBG [streams] can't stop none producer
10:40:03.324 TRC [streams] check cons=0 media=video, sendonly, JPEG
10:40:03.324 DBG [webrtc] add consumer error="streams: EOF, dial tcp 10.0.0.94:554: i/o timeout"
10:40:03.676 TRC [rtsp] client request:
DESCRIBE rtsp://10.0.0.94:554/stream2 RTSP/1.0
Accept: application/sdp
Require: www.onvif.org/ver20/backchannel
User-Agent: go2rtc/1.8.1
CSeq: 1

@AlexxIT AlexxIT added the enhancement New feature or request label Oct 24, 2023
@AlexxIT AlexxIT added this to the v1.8.2 milestone Oct 24, 2023
@AlexxIT AlexxIT changed the title there is a error on MERCURY camera #336 Fix wrong SDP for MERCURY camera #336 Oct 27, 2023
@AlexxIT AlexxIT changed the title Fix wrong SDP for MERCURY camera #336 Fix wrong SDP for MERCURY camera Oct 27, 2023
AlexxIT added a commit that referenced this issue Oct 27, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Nov 4, 2023

@AlexxIT AlexxIT closed this as completed Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants