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

rtc playback, successful in Chrome, failed in Firefox. #1962

Closed
caijian76 opened this issue Sep 23, 2020 · 3 comments
Closed

rtc playback, successful in Chrome, failed in Firefox. #1962

caijian76 opened this issue Sep 23, 2020 · 3 comments
Assignees
Labels
Bug It might be a bug. TransByAI Translated by AI/GPT.
Milestone

Comments

@caijian76
Copy link

caijian76 commented Sep 23, 2020

Description
Using different browsers, playing the same URL through ossrs.net/players/rtc_player.html, the browser with the Chrome kernel successfully plays, while the Firefox browser does not respond. Checking in the SRS backend, the following errors are found.

1. SRS Version: v4.0.37
1. SRS Log:

Please provide the SRS log for further analysis.

[2020-09-23 06:22:22.491][Trace][1][s04nc276] RTC remote offer: v=0\r\no=mozilla...THIS_IS_SDPARTA-80.0.1 8404807263269614493 0 IN IP4 0.0.0.0\r\ns=-\r\nt=0 0\r\na=fingerprint:sha-256 D1:65:56:5D:8D:5E:92:59:86:37:5C:B7:C3:FF:74:B7:DF:68:56:98:05:AA:3F:0A:F4:57:4C:A9:C8:6F:D1:69\r\na=group:BUNDLE 0 1\r\na=ice-options:trickle\r\na=msid-semantic:WMS *\r\nm=audio 9 UDP/TLS/RTP/SAVPF 109 9 0 8 101\r\nc=IN IP4 0.0.0.0\r\na=recvonly\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2/recvonly urn:ietf:params:rtp-hdrext:csrc-audio-level\r\na=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1\r\na=fmtp:101 0-15\r\na=ice-pwd:47deea132346fa843d00bcc4a201dabf\r\na=ice-ufrag:ca64d1b7\r\na=mid:0\r\na=rtcp-mux\r\na=rtpmap:109 opus/48000/2\r\na=rtpmap:9 G722/8000/1\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:101 telephone-event/8000/1\r\na=setup:actpass\r\na=ssrc:398212254 cname:{a5bc92d2-6a8d-4e03-9211-7e8aa8eedd87}\r\nm=video 9 UDP/TLS/RTP/SAVPF 120 124 121 125 126 127 97 98\r\nc=IN IP4 0.0.0.0\r\na=recvonly\r\na=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:5 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:6/recvonly http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1\r\na=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1\r\na=fmtp:120 max-fs=12288;max-fr=60\r\na=fmtp:124 apt=120\r\na=fmtp:121 max-fs=12288;max-fr=60\r\na=fmtp:125 apt=121\r\na=fmtp:127 apt=126\r\na=fmtp:98 apt=97\r\na=ice-pwd:47deea132346fa843d00bcc4a201dabf\r\na=ice-ufrag:ca64d1b7\r\na=mid:1\r\na=rtcp-fb:120 nack\r\na=rtcp-fb:120 nack pli\r\na=rtcp-fb:120 ccm fir\r\na=rtcp-fb:120 goog-remb\r\na=rtcp-fb:120 transport-cc\r\na=rtcp-fb:121 nack\r\na=rtcp-fb:121 nack pli\r\na=rtcp-fb:121 ccm fir\r\na=rtcp-fb:
121 goog-remb\r\na=rtcp-fb:121 transport-cc\r\na=rtcp-fb:126 nack\r\na=rtcp-fb:126 nack pli\r\na=rtcp-fb:126 ccm fir\r\na=rtcp-fb:126 goog-remb\r\na=rtcp-fb:126 transport-cc\r\na=rtcp-fb:97 nack\r\na=rtcp-fb:97 nack pli\r\na=rtcp-fb:97 ccm fir\r\na=rtcp-fb:97 goog-remb\r\na=rtcp-fb:97 transport-cc\r\na=rtcp-mux\r\na=rtpmap:120 VP8/90000\r\na=rtpmap:124 rtx/90000\r\na=rtpmap:121 VP9/90000\r\na=rtpmap:125 rtx/90000\r\na=rtpmap:126 H264/90000\r\na=rtpmap:127 rtx/90000\r\na=rtpmap:97 H264/90000\r\na=rtpmap:98 rtx/90000\r\na=setup:actpass\r\na=ssrc:1350500819 cname:{a5bc92d2-6a8d-4e03-9211-7e8aa8eedd87}\r\n
[2020-09-23 06:22:22.491][Trace][1][s04nc276] RTC local answer: v=0\r\no=SRS/4.0.37(Leo) 24040896 2 IN IP4 0.0.0.0\r\ns=SRSPlaySession\r\nt=0 0\r\na=ice-lite\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS live/test\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:524g9623\r\na=ice-pwd:x24k5h664eh4z285k6822k9fd0657ie0\r\na=fingerprint:sha-256 F1:1A:E1:8E:EF:85:45:5E:8B:BD:30:F8:89:ED:31:29:92:38:29:22:AE:4E:93:C9:16:B9:26:0B:8F:8F:DB:15\r\na=setup:passive\r\na=mid:0\r\na=sendonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:111 opus/48000/2\r\na=ssrc:10134 cname:01ei2667dd17im23\r\na=ssrc:10134 label:audio-5wg2l6op\r\na=candidate:0 1 udp 2130706431 175.6.80.125 30009 typ host generation 0\r\nm=video 9 UDP/TLS/RTP/SAVPF 102\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:524g9623\r\na=ice-pwd:x24k5h664eh4z285k6822k9fd0657ie0\r\na=fingerprint:sha-256 F1:1A:E1:8E:EF:85:45:5E:8B:BD:30:F8:89:ED:31:29:92:38:29:22:AE:4E:93:C9:16:B9:26:0B:8F:8F:DB:15\r\na=setup:passive\r\na=mid:1\r\na=sendonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:102 H264/90000\r\na=ssrc:10135 cname:01ei2667dd17im23\r\na=ssrc:10135 label:video-y909m360\r\na=candidate:0 1 udp 2130706431 175.6.80.125 30009 typ host generation 0\r\n
[2020-09-23 06:22:22.578][Warn][1][s04nc276][104] client disconnect peer. ret=1007

TRANS_BY_GPT3

@Arron2
Copy link

Arron2 commented Sep 27, 2020

I have tried using other plugins to play, but it still doesn't work.

TRANS_BY_GPT3

@vegalou
Copy link

vegalou commented Nov 4, 2020

Compiled SRS 4.0.43, webrtc protocol can play streaming in Chrome only.

Firefox and latest Opera core based on Chrome NOT work.

Thanks for your performance SRS server. FLV works perfectly with flv.js in `extremely` low latency under 1 sec.

@winlinvip
Copy link
Member

winlinvip commented Dec 1, 2020

Fixed by #1998

@winlinvip winlinvip added the Bug It might be a bug. label Aug 29, 2021
@winlinvip winlinvip added this to the SRS 4.0 release milestone Aug 29, 2021
@winlinvip winlinvip changed the title rtc播放,chrome成功,firefox失败。 rtc playback, successful in Chrome, failed in Firefox. Jul 28, 2023
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug It might be a bug. TransByAI Translated by AI/GPT.
Projects
None yet
Development

No branches or pull requests

5 participants