We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
感谢大佬编写这个程序,很有用,但是我在使用过程中发现一个的,比如:ovsyunlive10这个程序运行在192.168.0.2上,在192.168.0.2上访问是正常的,如:在本机(192.168.0.2)访问http://192.168.0.2:7701/play/demo.html 频画面都能出来,但是用在其他的机器(192.168.0.3)访问http://192.168.0.2:7701/play/demo.html就不行了,经过跟踪发现,这个http://192.168.0.2:7701/index/api/webrtc?app=webplay&type=play&stream=0.17760481352591806返回的数据里全是127.0.0.1的地址。返回值如下: { "code": 0, "id": "ovsid_3", "sdp": "v=0\r\no=- 5897567689041923959 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS\r\na=ice-lite\r\nm=audio 7800 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 127.0.0.1\r\na=rtcp:7800 IN IP4 127.0.0.1\r\na=ice-ufrag:ovsid_3\r\na=ice-pwd:NXbvVhadmTG3vjmgAlTGViIM\r\na=ice-options:trickle\r\na=fingerprint:sha-256 78:70:0B:E8:9B:B5:69:44:36:83:0A:7A:2B:1A:AF:22:4E:4A:E2:6E:81:3C:AC:BF:CD:20:2E:36:C8:18:34:9C\r\na=setup:passive\r\na=mid:0\r\na=ice-lite\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=sendonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=msid:ovsyunlive-mslabel ovsyunlive-label-0\r\na=ssrc:2 cname:ovsyunlive-rtp\r\na=ssrc:2 msid:ovsyunlive-mslabel ovsyunlive-label-0\r\na=ssrc:2 mslabel:ovsyunlive-mslabel\r\na=ssrc:2 label:ovsyunlive-label-0\r\na=candidate:udpcandidate 1 udp 110 127.0.0.1 7800 typ host\r\na=candidate:tcpcandidate 1 tcp 105 127.0.0.1 7800 typ host tcptype passive\r\nm=video 7800 UDP/TLS/RTP/SAVPF 127 125\r\nc=IN IP4 127.0.0.1\r\na=rtcp:7800 IN IP4 127.0.0.1\r\na=ice-ufrag:ovsid_3\r\na=ice-pwd:NXbvVhadmTG3vjmgAlTGViIM\r\na=ice-options:trickle\r\na=fingerprint:sha-256 78:70:0B:E8:9B:B5:69:44:36:83:0A:7A:2B:1A:AF:22:4E:4A:E2:6E:81:3C:AC:BF:CD:20:2E:36:C8:18:34:9C\r\na=setup:passive\r\na=mid:1\r\na=ice-lite\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=rtcp-mux\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=rtcp-fb:127 transport-cc\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d001f\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=127\r\na=msid:ovsyunlive-mslabel ovsyunlive-label-1\r\na=ssrc:1 cname:ovsyunlive-rtp\r\na=ssrc:1 msid:ovsyunlive-mslabel ovsyunlive-label-1\r\na=ssrc:1 mslabel:ovsyunlive-mslabel\r\na=ssrc:1 label:ovsyunlive-label-1\r\na=ssrc:3 cname:ovsyunlive-rtp\r\na=ssrc:3 msid:ovsyunlive-mslabel ovsyunlive-label-1\r\na=ssrc:3 mslabel:ovsyunlive-mslabel\r\na=ssrc:3 label:ovsyunlive-label-1\r\na=ssrc-group:FID 1 3\r\na=candidate:udpcandidate 1 udp 110 127.0.0.1 7800 typ host\r\na=candidate:tcpcandidate 1 tcp 105 127.0.0.1 7800 typ host tcptype passive\r\n", "type": "answer" } (因为非本机192.168.0.3上没有装这个服务器,这个也不可能每个客户端都装一个这个服务),导致不能访问,麻烦大佬改一下也返回exthost的值。谢谢!也可能是其他错误原因。如:/index/api/ovplayer,这个接口后返回:{ "code" : -1, "msg" : "SETUP:500 Internal Server Error" } 具体错误或不显示视频画面的原因是什么,麻烦修改一下。感谢大佬~!!!
{ "code": 0, "id": "ovsid_3", "sdp": "v=0\r\no=- 5897567689041923959 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS\r\na=ice-lite\r\nm=audio 7800 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 127.0.0.1\r\na=rtcp:7800 IN IP4 127.0.0.1\r\na=ice-ufrag:ovsid_3\r\na=ice-pwd:NXbvVhadmTG3vjmgAlTGViIM\r\na=ice-options:trickle\r\na=fingerprint:sha-256 78:70:0B:E8:9B:B5:69:44:36:83:0A:7A:2B:1A:AF:22:4E:4A:E2:6E:81:3C:AC:BF:CD:20:2E:36:C8:18:34:9C\r\na=setup:passive\r\na=mid:0\r\na=ice-lite\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=sendonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=msid:ovsyunlive-mslabel ovsyunlive-label-0\r\na=ssrc:2 cname:ovsyunlive-rtp\r\na=ssrc:2 msid:ovsyunlive-mslabel ovsyunlive-label-0\r\na=ssrc:2 mslabel:ovsyunlive-mslabel\r\na=ssrc:2 label:ovsyunlive-label-0\r\na=candidate:udpcandidate 1 udp 110 127.0.0.1 7800 typ host\r\na=candidate:tcpcandidate 1 tcp 105 127.0.0.1 7800 typ host tcptype passive\r\nm=video 7800 UDP/TLS/RTP/SAVPF 127 125\r\nc=IN IP4 127.0.0.1\r\na=rtcp:7800 IN IP4 127.0.0.1\r\na=ice-ufrag:ovsid_3\r\na=ice-pwd:NXbvVhadmTG3vjmgAlTGViIM\r\na=ice-options:trickle\r\na=fingerprint:sha-256 78:70:0B:E8:9B:B5:69:44:36:83:0A:7A:2B:1A:AF:22:4E:4A:E2:6E:81:3C:AC:BF:CD:20:2E:36:C8:18:34:9C\r\na=setup:passive\r\na=mid:1\r\na=ice-lite\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=rtcp-mux\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=rtcp-fb:127 transport-cc\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d001f\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=127\r\na=msid:ovsyunlive-mslabel ovsyunlive-label-1\r\na=ssrc:1 cname:ovsyunlive-rtp\r\na=ssrc:1 msid:ovsyunlive-mslabel ovsyunlive-label-1\r\na=ssrc:1 mslabel:ovsyunlive-mslabel\r\na=ssrc:1 label:ovsyunlive-label-1\r\na=ssrc:3 cname:ovsyunlive-rtp\r\na=ssrc:3 msid:ovsyunlive-mslabel ovsyunlive-label-1\r\na=ssrc:3 mslabel:ovsyunlive-mslabel\r\na=ssrc:3 label:ovsyunlive-label-1\r\na=ssrc-group:FID 1 3\r\na=candidate:udpcandidate 1 udp 110 127.0.0.1 7800 typ host\r\na=candidate:tcpcandidate 1 tcp 105 127.0.0.1 7800 typ host tcptype passive\r\n", "type": "answer" }
{ "code" : -1, "msg" : "SETUP:500 Internal Server Error" }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
感谢大佬编写这个程序,很有用,但是我在使用过程中发现一个的,比如:ovsyunlive10这个程序运行在192.168.0.2上,在192.168.0.2上访问是正常的,如:在本机(192.168.0.2)访问http://192.168.0.2:7701/play/demo.html 频画面都能出来,但是用在其他的机器(192.168.0.3)访问http://192.168.0.2:7701/play/demo.html就不行了,经过跟踪发现,这个http://192.168.0.2:7701/index/api/webrtc?app=webplay&type=play&stream=0.17760481352591806返回的数据里全是127.0.0.1的地址。返回值如下:
{ "code": 0, "id": "ovsid_3", "sdp": "v=0\r\no=- 5897567689041923959 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS\r\na=ice-lite\r\nm=audio 7800 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 127.0.0.1\r\na=rtcp:7800 IN IP4 127.0.0.1\r\na=ice-ufrag:ovsid_3\r\na=ice-pwd:NXbvVhadmTG3vjmgAlTGViIM\r\na=ice-options:trickle\r\na=fingerprint:sha-256 78:70:0B:E8:9B:B5:69:44:36:83:0A:7A:2B:1A:AF:22:4E:4A:E2:6E:81:3C:AC:BF:CD:20:2E:36:C8:18:34:9C\r\na=setup:passive\r\na=mid:0\r\na=ice-lite\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=sendonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=msid:ovsyunlive-mslabel ovsyunlive-label-0\r\na=ssrc:2 cname:ovsyunlive-rtp\r\na=ssrc:2 msid:ovsyunlive-mslabel ovsyunlive-label-0\r\na=ssrc:2 mslabel:ovsyunlive-mslabel\r\na=ssrc:2 label:ovsyunlive-label-0\r\na=candidate:udpcandidate 1 udp 110 127.0.0.1 7800 typ host\r\na=candidate:tcpcandidate 1 tcp 105 127.0.0.1 7800 typ host tcptype passive\r\nm=video 7800 UDP/TLS/RTP/SAVPF 127 125\r\nc=IN IP4 127.0.0.1\r\na=rtcp:7800 IN IP4 127.0.0.1\r\na=ice-ufrag:ovsid_3\r\na=ice-pwd:NXbvVhadmTG3vjmgAlTGViIM\r\na=ice-options:trickle\r\na=fingerprint:sha-256 78:70:0B:E8:9B:B5:69:44:36:83:0A:7A:2B:1A:AF:22:4E:4A:E2:6E:81:3C:AC:BF:CD:20:2E:36:C8:18:34:9C\r\na=setup:passive\r\na=mid:1\r\na=ice-lite\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=rtcp-mux\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=rtcp-fb:127 transport-cc\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d001f\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=127\r\na=msid:ovsyunlive-mslabel ovsyunlive-label-1\r\na=ssrc:1 cname:ovsyunlive-rtp\r\na=ssrc:1 msid:ovsyunlive-mslabel ovsyunlive-label-1\r\na=ssrc:1 mslabel:ovsyunlive-mslabel\r\na=ssrc:1 label:ovsyunlive-label-1\r\na=ssrc:3 cname:ovsyunlive-rtp\r\na=ssrc:3 msid:ovsyunlive-mslabel ovsyunlive-label-1\r\na=ssrc:3 mslabel:ovsyunlive-mslabel\r\na=ssrc:3 label:ovsyunlive-label-1\r\na=ssrc-group:FID 1 3\r\na=candidate:udpcandidate 1 udp 110 127.0.0.1 7800 typ host\r\na=candidate:tcpcandidate 1 tcp 105 127.0.0.1 7800 typ host tcptype passive\r\n", "type": "answer" }
(因为非本机192.168.0.3上没有装这个服务器,这个也不可能每个客户端都装一个这个服务),导致不能访问,麻烦大佬改一下也返回exthost的值。谢谢!也可能是其他错误原因。如:/index/api/ovplayer,这个接口后返回:
{ "code" : -1, "msg" : "SETUP:500 Internal Server Error" }
具体错误或不显示视频画面的原因是什么,麻烦修改一下。感谢大佬~!!!The text was updated successfully, but these errors were encountered: