srs
srs copied to clipboard
safari推流rtc失败
注意:提问前,请先看FAQ(Please read FAQ before file an issue) https://github.com/ossrs/srs/issues/2716
safari浏览器推流rtc,页面上offer、answer成功, 服务器log来看没有得到视音频数据,无法播放;换成chrome浏览器可以推流成功且正常播放
safari浏览器已经设置允许访问摄像头和麦克风
-
SRS 4.0.139
-
SRS的日志如下(Log):
从log来看,没有获取到视音频数据
正常log: [2022-04-28 16:22:52.702][Trace][16574][4stv6e1i] RTC publish webrtc://110.191.203.225/live/akrunrecordrtctest, api=https://110.191.203.225:4433/rtc/v1/publish/, tid=84d7b14, clientip=, app=live, stream=akrunrecordrtctest, offer=5831B, eip=, codec= [2022-04-28 16:22:52.702][Trace][16574][4stv6e1i] ignore attribute=, value= [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] new source, stream_url=/live/akrunrecordrtctest [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = VP8 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = AV1 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = ulpfec [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = opus [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = G722 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = PCMU [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = PCMA [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = opus [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = G722 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = PCMU [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = PCMA [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = opus [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = G722 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = PCMU [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = PCMA [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = opus [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = G722 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = PCMU [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = PCMA [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = VP8 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = AV1 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = ulpfec [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = VP8 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = AV1 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = ulpfec [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = VP8 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = AV1 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = ulpfec [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = VP8 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = AV1 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = ulpfec [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] RTC publisher nack=1, nnc=1, pt-drop=0, twcc=1/3 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] rtc_to_rtmp on [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] new source, stream_url=/live/akrunrecordrtctest [2022-04-28 16:22:52.708][Trace][16574][4stv6e1i] RTC: Init tracks {track: cd12a2a2-5278-4e44-a634-6121d24b90c1, is_active: 0=>1},{track: 4f9bb001-c86b-4ddd-80d1-c7ca7de92342, is_active: 0=>1}, ok [2022-04-28 16:22:52.708][Trace][16574][4stv6e1i] RTC: Use candidates 110.191.203.225 [2022-04-28 16:22:52.708][Trace][16574][4stv6e1i] RTC init session, user=9568a46h:En8r, url=/live/akrunrecordrtctest, encrypt=1/1, DTLS(role=passive, version=auto), timeout=30000ms, nack=1 [2022-04-28 16:22:52.709][Trace][16574][4stv6e1i] RTC username=9568a46h:En8r, offer=5831B, answer=1466B [2022-04-28 16:22:52.709][Trace][16574][4stv6e1i] RTC remote offer: v=0\r\no=- 6076828971211397716 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 63 103 104 9 0 8 106 105 13 110 112 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:En8r\r\na=ice-pwd:PbTFismy0Qj7jIDxnQSx1dUf\r\na=ice-options:trickle\r\na=fingerprint:sha-256 FE:27:D7:80:A3:DC:5B:D2:14:E1:3C:37:84:0A:A2:19:E6:1C:66:A4:C6:9D:39:C3:48:C0:B3:C0:DA:A5:35:BB\r\na=setup:actpass\r\na=mid:0\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=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=sendonly\r\na=msid:- 4f9bb001-c86b-4ddd-80d1-c7ca7de92342\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=rtpmap:63 red/48000/2\r\na=fmtp:63 111/111\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:3752912407 cname:W9fxFNX3Hbg++rZC\r\na=ssrc:3752912407 msid:- 4f9bb001-c86b-4ddd-80d1-c7ca7de92342\r\na=ssrc:3752912407 mslabel:-\r\na=ssrc:3752912407 label:4f9bb001-c86b-4ddd-80d1-c7ca7de92342\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 127 121 125 107 108 109 124 120 123 119 35 36 41 42 114 115 116 117 118\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:En8r\r\na=ice-pwd:PbTFismy0Qj7jIDxnQSx1dUf\r\na=ice-options:trickle\r\na=fingerprint:sha-256 FE:27:D7:80:A3:DC:5B:D2:14:E1:3C:37:84:0A:A2:19:E6:1C:66:A4:C6:9D:39:C3:48:C0:B3:C0:DA:A5:35:BB\r\na=setup:actpass\r\na=mid:1\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:13 urn:3gpp:video-orientation\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:4 urn:ietf:params:rtp-hdrext:sdes:mid\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=msid:- cd12a2a2-5278-4e44-a634-6121d24b90c1\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 profile-id=0\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:100 VP9/90000\r\na=rtcp-fb:100 goog-remb\r\na=rtcp-fb:100 transport-cc\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=fmtp:100 profile-id=2\r\na=rtpmap:101 rtx/90000\r\na=fmtp:101 apt=100\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f\r\na=rtpmap:121 rtx/90000\r\na=fmtp:121 apt=127\r\na=rtpmap:125 H264/90000\r\na=rtcp-fb:125 goog-remb\r\na=rtcp-fb:125 transport-cc\r\na=rtcp-fb:125 ccm fir\r\na=rtcp-fb:125 nack\r\na=rtcp-fb:125 nack pli\r\na=fmtp:125 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f\r\na=rtpmap:107 rtx/90000\r\na=fmtp:107 apt=125\r\na=rtpmap:108 H264/90000\r\na=rtcp-fb:108 goog-remb\r\na=rtcp-fb:108 transport-cc\r\na=rtcp-fb:108 ccm fir\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:124 H264/90000\r\na=rtcp-fb:124 goog-remb\r\na=rtcp-fb:124 transport-cc\r\na=rtcp-fb:124 ccm fir\r\na=rtcp-fb:124 nack\r\na=rtcp-fb:124 nack pli\r\na=fmtp:124 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=rtpmap:120 rtx/90000\r\na=fmtp:120 apt=124\r\na=rtpmap:123 H264/90000\r\na=rtcp-fb:123 goog-remb\r\na=rtcp-fb:123 transport-cc\r\na=rtcp-fb:123 ccm fir\r\na=rtcp-fb:123 nack\r\na=rtcp-fb:123 nack pli\r\na=fmtp:123 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d001f\r\na=rtpmap:119 rtx/90000\r\na=fmtp:119 apt=123\r\na=rtpmap:35 H264/90000\r\na=rtcp-fb:35 goog-remb\r\na=rtcp-fb:35 transport-cc\r\na=rtcp-fb:35 ccm fir\r\na=rtcp-fb:35 nack\r\na=rtcp-fb:35 nack pli\r\na=fmtp:35 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=4d001f\r\na=rtpmap:36 rtx/90000\r\na=fmtp:36 apt=35\r\na=rtpmap:41 AV1/90000\r\na=rtcp-fb:41 goog-remb\r\na=rtcp-fb:41 transport-cc\r\na=rtcp-fb:41 ccm fir\r\na=rtcp-fb:41 nack\r\na=rtcp-fb:41 nack pli\r\na=rtpmap:42 rtx/90000\r\na=fmtp:42 apt=41\r\na=rtpmap:114 H264/90000\r\na=rtcp-fb:114 goog-remb\r\na=rtcp-fb:114 transport-cc\r\na=rtcp-fb:114 ccm fir\r\na=rtcp-fb:114 nack\r\na=rtcp-fb:114 nack pli\r\na=fmtp:114 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=64001f\r\na=rtpmap:115 rtx/90000\r\na=fmtp:115 apt=114\r\na=rtpmap:116 red/90000\r\na=rtpmap:117 rtx/90000\r\na=fmtp:117 apt=116\r\na=rtpmap:118 ulpfec/90000\r\na=ssrc-group:FID 2537334379 3488952439\r\na=ssrc:2537334379 cname:W9fxFNX3Hbg++rZC\r\na=ssrc:2537334379 msid:- cd12a2a2-5278-4e44-a634-6121d24b90c1\r\na=ssrc:2537334379 mslabel:-\r\na=ssrc:2537334379 label:cd12a2a2-5278-4e44-a634-6121d24b90c1\r\na=ssrc:3488952439 cname:W9fxFNX3Hbg++rZC\r\na=ssrc:3488952439 msid:- cd12a2a2-5278-4e44-a634-6121d24b90c1\r\na=ssrc:3488952439 mslabel:-\r\na=ssrc:3488952439 label:cd12a2a2-5278-4e44-a634-6121d24b90c1\r\n [2022-04-28 16:22:52.709][Trace][16574][4stv6e1i] RTC local answer: v=0\r\no=AKRRS/2.0(Kusanagi) 36921472 2 IN IP4 0.0.0.0\r\ns=AKRRSPublishSession\r\nt=0 0\r\na=ice-lite\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS live/akrunrecordrtctest\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:9568a46h\r\na=ice-pwd:r1iy99ne7ls2b9963n8bp35626jz1862\r\na=fingerprint:sha-256 5A:A0:CF:AB:95:F9:BC:02:CE:D1:2C:14:DE:D2:2F:6B:05:2E:C3:1D:06:99:D3:57:FD:1D:0B:C1:E8:EB:49:FA\r\na=setup:passive\r\na=mid:0\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=candidate:0 1 udp 2130706431 110.191.203.225 8000 typ host generation 0\r\nm=video 9 UDP/TLS/RTP/SAVPF 108 116\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:9568a46h\r\na=ice-pwd:r1iy99ne7ls2b9963n8bp35626jz1862\r\na=fingerprint:sha-256 5A:A0:CF:AB:95:F9:BC:02:CE:D1:2C:14:DE:D2:2F:6B:05:2E:C3:1D:06:99:D3:57:FD:1D:0B:C1:E8:EB:49:FA\r\na=setup:passive\r\na=mid:1\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:108 H264/90000\r\na=rtcp-fb:108 transport-cc\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:116 red/90000\r\na=candidate:0 1 udp 2130706431 110.191.203.225 8000 typ host generation 0\r\n [2022-04-28 16:22:52.723][Trace][16574][4stv6e1i] RTC: session address init 222.210.8.98:3397 [2022-04-28 16:22:52.723][Trace][16574][4stv6e1i] RTC: session STUN done, waiting DTLS handshake. [2022-04-28 16:22:52.729][Trace][16574][4stv6e1i] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=157, cnt=22, size=144, hs=1 [2022-04-28 16:22:52.729][Trace][16574][4stv6e1i] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=671, cnt=22, size=82, hs=2 [2022-04-28 16:22:52.736][Trace][16574][4stv6e1i] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=578, cnt=22, size=299, hs=11 [2022-04-28 16:22:52.737][Trace][16574][4stv6e1i] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=554, cnt=22, size=466, hs=4 [2022-04-28 16:22:52.737][Trace][16574][4stv6e1i] RTC: DTLS handshake done. [2022-04-28 16:22:52.737][Trace][16574][4stv6e1i] RTC: session pub=1, sub=0, to=30000ms connection established [2022-04-28 16:22:52.737][Trace][16574][4stv6e1i] RTC: Publisher url=/live/akrunrecordrtctest established [2022-04-28 16:22:52.738][Trace][16574][4stv6e1i] hls: win=30000ms, frag=10000ms, prefix=, path=/usr/local/live-record, m3u8=[app]/[stream].m3u8, ts=[app]/[stream]/[2006][01][02]/[15][04][05].ts, aof=1.00, floor=0, clean=1, waitk=1, dispose=0ms, dts_directly=1 [2022-04-28 16:22:52.738][Trace][16574][4stv6e1i] ignore disabled exec for vhost=defaultVhost [2022-04-28 16:22:52.738][Trace][16574][4stv6e1i] http: mount flv stream for sid=/live/akrunrecordrtctest, mount=/live/akrunrecordrtctest.flv [2022-04-28 16:22:52.755][Trace][16574][4stv6e1i] 7B audio sh, codec(10, profile=LC, 2channels, 0kbps, 48000HZ), flv(16bits, 2channels, 44100HZ) [2022-04-28 16:22:53.619][Warn][16574][4stv6e1i][11] VIDEO: stream not monotonically increase, please open mix_correct. [2022-04-28 16:22:53.619][Trace][16574][4stv6e1i] 34B video sh, codec(7, profile=Baseline, level=2.1, 320x240, 0kbps, 0.0fps, 0.0s) [2022-04-28 16:22:53.619][Trace][16574][4stv6e1i] set ts=2810431271, header=26069, lost=26070
异常log: [2022-04-28 16:29:38.072][Trace][16581][f503gx03] RTC publish webrtc://110.191.203.225/live/akrunrecordrtctest, api=https://110.191.203.225:4433/rtc/v1/publish/, tid=165fcbf, clientip=, app=live, stream=akrunrecordrtctest, offer=4578B, eip=, codec= [2022-04-28 16:29:38.072][Trace][16581][f503gx03] ignore attribute=, value= [2022-04-28 16:29:38.072][Trace][16581][f503gx03] new source, stream_url=/live/akrunrecordrtctest [2022-04-28 16:29:38.072][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = VP8 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = VP9 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = red [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = ulpfec [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = opus [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = ISAC [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = G722 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMU [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMA [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = opus [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = ISAC [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = G722 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMU [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMA [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = opus [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = ISAC [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = G722 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMU [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMA [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = opus [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = ISAC [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = G722 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMU [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMA [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = VP8 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = VP9 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = red [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = ulpfec [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = VP8 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = VP9 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = red [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = ulpfec [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = VP8 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = VP9 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = red [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = ulpfec [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = VP8 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = VP9 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = red [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = ulpfec [2022-04-28 16:29:38.074][Trace][16581][f503gx03] RTC publisher nack=1, nnc=1, pt-drop=0, twcc=1/3 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] rtc_to_rtmp on [2022-04-28 16:29:38.074][Trace][16581][f503gx03] new source, stream_url=/live/akrunrecordrtctest [2022-04-28 16:29:38.077][Trace][16581][f503gx03] RTC: Init tracks {track: 8aeb84a7-898f-424c-8e48-5589fbee6d82, is_active: 0=>1},{track: 65b4462e-3e08-4f0b-8093-2046da03612a, is_active: 0=>1}, ok [2022-04-28 16:29:38.077][Trace][16581][f503gx03] RTC: Use candidates 110.191.203.225 [2022-04-28 16:29:38.078][Trace][16581][f503gx03] RTC init session, user=a322145q:Rnct, url=/live/akrunrecordrtctest, encrypt=1/1, DTLS(role=passive, version=auto), timeout=30000ms, nack=1 [2022-04-28 16:29:38.078][Trace][16581][f503gx03] RTC username=a322145q:Rnct, offer=4578B, answer=1460B [2022-04-28 16:29:38.078][Trace][16581][f503gx03] RTC remote offer: v=0\r\no=- 3881857174211748048 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 105 13 110 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:Rnct\r\na=ice-pwd:Ye55UDF7FRvZ0pzdREjntr4A\r\na=ice-options:trickle\r\na=fingerprint:sha-256 74:86:89:BE:ED:D7:1A:89:8C:A6:66:47:BE:C5:E4:2C:2D:77:C3:E6:C9:BB:9A:27:F1:D8:23:23:33:0A:44:BE\r\na=setup:actpass\r\na=mid:0\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=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=msid:- 65b4462e-3e08-4f0b-8093-2046da03612a\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=rtpmap:103 ISAC/16000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:1975140161 cname:2yvPp/H5mLhDFfuu\r\na=ssrc:1975140161 msid:- 65b4462e-3e08-4f0b-8093-2046da03612a\r\na=ssrc:1975140161 mslabel:-\r\na=ssrc:1975140161 label:65b4462e-3e08-4f0b-8093-2046da03612a\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 125 104 124 106 107 108 109 127\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:Rnct\r\na=ice-pwd:Ye55UDF7FRvZ0pzdREjntr4A\r\na=ice-options:trickle\r\na=fingerprint:sha-256 74:86:89:BE:ED:D7:1A:89:8C:A6:66:47:BE:C5:E4:2C:2D:77:C3:E6:C9:BB:9A:27:F1:D8:23:23:33:0A:44:BE\r\na=setup:actpass\r\na=mid:1\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:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:11 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:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=msid:- 8aeb84a7-898f-424c-8e48-5589fbee6d82\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 H264/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c1f\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 H264/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:100 H264/90000\r\na=rtcp-fb:100 goog-remb\r\na=rtcp-fb:100 transport-cc\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=fmtp:100 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=640c1f\r\na=rtpmap:101 rtx/90000\r\na=fmtp:101 apt=100\r\na=rtpmap:102 H264/90000\r\na=rtcp-fb:102 goog-remb\r\na=rtcp-fb:102 transport-cc\r\na=rtcp-fb:102 ccm fir\r\na=rtcp-fb:102 nack\r\na=rtcp-fb:102 nack pli\r\na=fmtp:102 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=102\r\na=rtpmap:104 VP8/90000\r\na=rtcp-fb:104 goog-remb\r\na=rtcp-fb:104 transport-cc\r\na=rtcp-fb:104 ccm fir\r\na=rtcp-fb:104 nack\r\na=rtcp-fb:104 nack pli\r\na=rtpmap:124 rtx/90000\r\na=fmtp:124 apt=104\r\na=rtpmap:106 VP9/90000\r\na=rtcp-fb:106 goog-remb\r\na=rtcp-fb:106 transport-cc\r\na=rtcp-fb:106 ccm fir\r\na=rtcp-fb:106 nack\r\na=rtcp-fb:106 nack pli\r\na=fmtp:106 profile-id=0\r\na=rtpmap:107 rtx/90000\r\na=fmtp:107 apt=106\r\na=rtpmap:108 red/90000\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:127 ulpfec/90000\r\na=ssrc-group:FID 2101515321 4000122392\r\na=ssrc:2101515321 cname:2yvPp/H5mLhDFfuu\r\na=ssrc:2101515321 msid:- 8aeb84a7-898f-424c-8e48-5589fbee6d82\r\na=ssrc:2101515321 mslabel:-\r\na=ssrc:2101515321 label:8aeb84a7-898f-424c-8e48-5589fbee6d82\r\na=ssrc:4000122392 cname:2yvPp/H5mLhDFfuu\r\na=ssrc:4000122392 msid:- 8aeb84a7-898f-424c-8e48-5589fbee6d82\r\na=ssrc:4000122392 mslabel:-\r\na=ssrc:4000122392 label:8aeb84a7-898f-424c-8e48-5589fbee6d82\r\n [2022-04-28 16:29:38.078][Trace][16581][f503gx03] RTC local answer: v=0\r\no=AKRRS/2.0(Kusanagi) 26502848 2 IN IP4 0.0.0.0\r\ns=AKRRSPublishSession\r\nt=0 0\r\na=ice-lite\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS live/akrunrecordrtctest\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:a322145q\r\na=ice-pwd:944h1x83558202626d2444y1032iv09k\r\na=fingerprint:sha-256 4F:AB:07:62:8C:82:E6:1E:93:C1:60:0D:F8:97:40:E6:35:8D:02:C7:62:CD:6A:2B:2B:03:29:55:A7:78:3B:0A\r\na=setup:passive\r\na=mid:0\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=candidate:0 1 udp 2130706431 110.191.203.225 8000 typ host generation 0\r\nm=video 9 UDP/TLS/RTP/SAVPF 98 108\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:a322145q\r\na=ice-pwd:944h1x83558202626d2444y1032iv09k\r\na=fingerprint:sha-256 4F:AB:07:62:8C:82:E6:1E:93:C1:60:0D:F8:97:40:E6:35:8D:02:C7:62:CD:6A:2B:2B:03:29:55:A7:78:3B:0A\r\na=setup:passive\r\na=mid:1\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:98 H264/90000\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:108 red/90000\r\na=candidate:0 1 udp 2130706431 110.191.203.225 8000 typ host generation 0\r\n [2022-04-28 16:29:38.093][Trace][16581][f503gx03] RTC: session address init 222.210.8.98:1359 [2022-04-28 16:29:38.093][Trace][16581][f503gx03] RTC: session STUN done, waiting DTLS handshake. [2022-04-28 16:29:38.099][Trace][16581][f503gx03] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=155, cnt=22, size=142, hs=1 [2022-04-28 16:29:38.099][Trace][16581][f503gx03] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=671, cnt=22, size=82, hs=2 [2022-04-28 16:29:38.106][Trace][16581][f503gx03] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=572, cnt=22, size=301, hs=11 [2022-04-28 16:29:38.107][Trace][16581][f503gx03] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=546, cnt=22, size=466, hs=4 [2022-04-28 16:29:38.107][Trace][16581][f503gx03] RTC: DTLS handshake done. [2022-04-28 16:29:38.107][Trace][16581][f503gx03] RTC: session pub=1, sub=0, to=30000ms connection established [2022-04-28 16:29:38.107][Trace][16581][f503gx03] RTC: Publisher url=/live/akrunrecordrtctest established [2022-04-28 16:29:38.107][Trace][16581][f503gx03] hls: win=30000ms, frag=10000ms, prefix=, path=/usr/local/live-record, m3u8=[app]/[stream].m3u8, ts=[app]/[stream]/[2006][01][02]/[15][04][05].ts, aof=1.00, floor=0, clean=1, waitk=1, dispose=0ms, dts_directly=1 [2022-04-28 16:29:38.107][Trace][16581][f503gx03] ignore disabled exec for vhost=defaultVhost [2022-04-28 16:29:38.108][Trace][16581][f503gx03] http: mount flv stream for sid=/live/akrunrecordrtctest, mount=/live/akrunrecordrtctest.flv
- SRS的配置如下(Config):
the config for srs to delivery realtime RTMP stream
listen 1935; pid ./logs/srs.pid; ff_log_dir ./logs; srs_log_file ./logs/srs.log; srs_log_level trace; max_connections 1000;
http_server { #enabled on; #listen 8080; #dir /usr/local/live-record; dir /usr/local/replay;
https {
enabled on;
listen 8088;
key ./server.key;
cert ./server.crt;
}
}
#rtc用到的api服务端口 http_api { #enabled on; #listen 1985;
https {
enabled on;
listen 443;
key ./server.key;
cert ./server.crt;
}
} stats { network 0; }
rtc_server { enabled on; # Listen at udp://8000 listen 8000; # candidate $CANDIDATE; candidate 110.191.203.225; }
vhost defaultVhost { gop_cache off; queue_length 10; min_latency on; mr { enabled off; } mw_latency 100; tcp_nodelay on; hls{ enabled on; hls_fragment 10; hls_td_ratio 1; hls_aof_ratio 1; hls_window 30; hls_storage disk; hls_mount /[app]/[stream].m3u8; hls_path /usr/local/live-record; hls_m3u8_file [app]/[stream].m3u8; hls_ts_file [app]/[stream]/[2006][01][02]/[15][04][05].ts; hls_ts_floor off; hls_cleanup off;
#pure_audio stream;
#record_stream stream;
#valid_idr 1;
}
rtc {
enabled on;
rtc_to_rtmp on;
bframe discard;
}
http_remux{
enabled on;
mount [vhost]/[app]/[stream].flv;
}
}
描述你期望发生的事情(Please describe your expectation) 满足safari能推流rtc
Safari version 15
TRANS_BY_GPT3
Please try the latest v4.0.251.
TRANS_BY_GPT3
@li-kusanagi If you are not using the latest version of macOS or Safari for testing, it may be a bug in Safari 15. I encountered a similar issue before where Safari could only play but not publish. After upgrading macOS (to version 12.3.1), the system included the new version of Safari (currently v15.4), and RTC streaming testing worked fine. You can try upgrading and see if it resolves the issue.
TRANS_BY_GPT3
@li-kusanagi If you are not using the latest version of macOS or Safari for testing, it might be a bug in Safari 15. I encountered a similar issue before where Safari could only play but not publish. After upgrading macOS (to version 12.3.1), the system included the new version of Safari (currently v15.4), and the RTC streaming test worked fine. You can try upgrading and see if it resolves the issue.
I plan to follow Mr. Yang's suggestion and compile the latest SRS4 for testing. My Mac is a bit old, so I can't upgrade to the latest system. Currently, I have Safari 15.1, so I can't test if the latest version has any issues. After the problem occurred, I tested it on my colleague's phone. Her system is iOS 15.2, and she also couldn't stream. However, my own phone, which is still on iOS 14, was able to stream successfully.
TRANS_BY_GPT3
@li-kusanagi If your current system can use Safari 15, you should be able to just upgrade Safari to the latest version. I tested upgrading Safari to the new version on an old system Mac here, and it worked fine. However, I am using SRS version 4.0.245, which is slightly newer than yours. You can also try upgrading SRS first and see if it works.
TRANS_BY_GPT3
Note: Before asking a question, please read the FAQ (Please read FAQ before filing an issue) #2716
Safari browser streaming RTC, offer and answer are successful on the page, but the server log shows that no audiovisual data is received, so it cannot be played. When using Chrome browser, streaming is successful and plays normally.
Safari browser has been set to allow access to the camera and microphone.
- SRS 4.0.139
- The log of SRS is as follows:
From the log, it can be seen that no audiovisual data was obtained.
正常log: [2022-04-28 16:22:52.702][Trace][16574][4stv6e1i] RTC publish webrtc://110.191.203.225/live/akrunrecordrtctest, api=https://110.191.203.225:4433/rtc/v1/publish/, tid=84d7b14, clientip=, app=live, stream=akrunrecordrtctest, offer=5831B, eip=, codec= [2022-04-28 16:22:52.702][Trace][16574][4stv6e1i] ignore attribute=, value= [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] new source, stream_url=/live/akrunrecordrtctest [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = VP8 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = AV1 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = ulpfec [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = opus [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = G722 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = PCMU [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = PCMA [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = opus [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = G722 [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = PCMU [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = PCMA [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.703][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = opus [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = G722 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = PCMU [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = PCMA [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = opus [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = ISAC [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = G722 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = PCMU [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = PCMA [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = CN [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = telephone-event [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = VP8 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = AV1 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = ulpfec [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = VP8 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.704][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = AV1 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = ulpfec [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = VP8 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = AV1 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = ulpfec [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = VP8 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = VP9 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = AV1 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = H264 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = red [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = rtx [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] encoding_name_ = ulpfec [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] RTC publisher nack=1, nnc=1, pt-drop=0, twcc=1/3 [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] rtc_to_rtmp on [2022-04-28 16:22:52.705][Trace][16574][4stv6e1i] new source, stream_url=/live/akrunrecordrtctest [2022-04-28 16:22:52.708][Trace][16574][4stv6e1i] RTC: Init tracks {track: cd12a2a2-5278-4e44-a634-6121d24b90c1, is_active: 0=>1},{track: 4f9bb001-c86b-4ddd-80d1-c7ca7de92342, is_active: 0=>1}, ok [2022-04-28 16:22:52.708][Trace][16574][4stv6e1i] RTC: Use candidates 110.191.203.225 [2022-04-28 16:22:52.708][Trace][16574][4stv6e1i] RTC init session, user=9568a46h:En8r, url=/live/akrunrecordrtctest, encrypt=1/1, DTLS(role=passive, version=auto), timeout=30000ms, nack=1 [2022-04-28 16:22:52.709][Trace][16574][4stv6e1i] RTC username=9568a46h:En8r, offer=5831B, answer=1466B [2022-04-28 16:22:52.709][Trace][16574][4stv6e1i] RTC remote offer: v=0\r\no=- 6076828971211397716 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 63 103 104 9 0 8 106 105 13 110 112 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:En8r\r\na=ice-pwd:PbTFismy0Qj7jIDxnQSx1dUf\r\na=ice-options:trickle\r\na=fingerprint:sha-256 FE:27:D7:80:A3:DC:5B:D2:14:E1:3C:37:84:0A:A2:19:E6:1C:66:A4:C6:9D:39:C3:48:C0:B3:C0:DA:A5:35:BB\r\na=setup:actpass\r\na=mid:0\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=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=sendonly\r\na=msid:- 4f9bb001-c86b-4ddd-80d1-c7ca7de92342\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=rtpmap:63 red/48000/2\r\na=fmtp:63 111/111\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:3752912407 cname:W9fxFNX3Hbg++rZC\r\na=ssrc:3752912407 msid:- 4f9bb001-c86b-4ddd-80d1-c7ca7de92342\r\na=ssrc:3752912407 mslabel:-\r\na=ssrc:3752912407 label:4f9bb001-c86b-4ddd-80d1-c7ca7de92342\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 127 121 125 107 108 109 124 120 123 119 35 36 41 42 114 115 116 117 118\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:En8r\r\na=ice-pwd:PbTFismy0Qj7jIDxnQSx1dUf\r\na=ice-options:trickle\r\na=fingerprint:sha-256 FE:27:D7:80:A3:DC:5B:D2:14:E1:3C:37:84:0A:A2:19:E6:1C:66:A4:C6:9D:39:C3:48:C0:B3:C0:DA:A5:35:BB\r\na=setup:actpass\r\na=mid:1\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:13 urn:3gpp:video-orientation\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:4 urn:ietf:params:rtp-hdrext:sdes:mid\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=msid:- cd12a2a2-5278-4e44-a634-6121d24b90c1\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 profile-id=0\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:100 VP9/90000\r\na=rtcp-fb:100 goog-remb\r\na=rtcp-fb:100 transport-cc\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=fmtp:100 profile-id=2\r\na=rtpmap:101 rtx/90000\r\na=fmtp:101 apt=100\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f\r\na=rtpmap:121 rtx/90000\r\na=fmtp:121 apt=127\r\na=rtpmap:125 H264/90000\r\na=rtcp-fb:125 goog-remb\r\na=rtcp-fb:125 transport-cc\r\na=rtcp-fb:125 ccm fir\r\na=rtcp-fb:125 nack\r\na=rtcp-fb:125 nack pli\r\na=fmtp:125 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f\r\na=rtpmap:107 rtx/90000\r\na=fmtp:107 apt=125\r\na=rtpmap:108 H264/90000\r\na=rtcp-fb:108 goog-remb\r\na=rtcp-fb:108 transport-cc\r\na=rtcp-fb:108 ccm fir\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:124 H264/90000\r\na=rtcp-fb:124 goog-remb\r\na=rtcp-fb:124 transport-cc\r\na=rtcp-fb:124 ccm fir\r\na=rtcp-fb:124 nack\r\na=rtcp-fb:124 nack pli\r\na=fmtp:124 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=rtpmap:120 rtx/90000\r\na=fmtp:120 apt=124\r\na=rtpmap:123 H264/90000\r\na=rtcp-fb:123 goog-remb\r\na=rtcp-fb:123 transport-cc\r\na=rtcp-fb:123 ccm fir\r\na=rtcp-fb:123 nack\r\na=rtcp-fb:123 nack pli\r\na=fmtp:123 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d001f\r\na=rtpmap:119 rtx/90000\r\na=fmtp:119 apt=123\r\na=rtpmap:35 H264/90000\r\na=rtcp-fb:35 goog-remb\r\na=rtcp-fb:35 transport-cc\r\na=rtcp-fb:35 ccm fir\r\na=rtcp-fb:35 nack\r\na=rtcp-fb:35 nack pli\r\na=fmtp:35 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=4d001f\r\na=rtpmap:36 rtx/90000\r\na=fmtp:36 apt=35\r\na=rtpmap:41 AV1/90000\r\na=rtcp-fb:41 goog-remb\r\na=rtcp-fb:41 transport-cc\r\na=rtcp-fb:41 ccm fir\r\na=rtcp-fb:41 nack\r\na=rtcp-fb:41 nack pli\r\na=rtpmap:42 rtx/90000\r\na=fmtp:42 apt=41\r\na=rtpmap:114 H264/90000\r\na=rtcp-fb:114 goog-remb\r\na=rtcp-fb:114 transport-cc\r\na=rtcp-fb:114 ccm fir\r\na=rtcp-fb:114 nack\r\na=rtcp-fb:114 nack pli\r\na=fmtp:114 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=64001f\r\na=rtpmap:115 rtx/90000\r\na=fmtp:115 apt=114\r\na=rtpmap:116 red/90000\r\na=rtpmap:117 rtx/90000\r\na=fmtp:117 apt=116\r\na=rtpmap:118 ulpfec/90000\r\na=ssrc-group:FID 2537334379 3488952439\r\na=ssrc:2537334379 cname:W9fxFNX3Hbg++rZC\r\na=ssrc:2537334379 msid:- cd12a2a2-5278-4e44-a634-6121d24b90c1\r\na=ssrc:2537334379 mslabel:-\r\na=ssrc:2537334379 label:cd12a2a2-5278-4e44-a634-6121d24b90c1\r\na=ssrc:3488952439 cname:W9fxFNX3Hbg++rZC\r\na=ssrc:3488952439 msid:- cd12a2a2-5278-4e44-a634-6121d24b90c1\r\na=ssrc:3488952439 mslabel:-\r\na=ssrc:3488952439 label:cd12a2a2-5278-4e44-a634-6121d24b90c1\r\n [2022-04-28 16:22:52.709][Trace][16574][4stv6e1i] RTC local answer: v=0\r\no=AKRRS/2.0(Kusanagi) 36921472 2 IN IP4 0.0.0.0\r\ns=AKRRSPublishSession\r\nt=0 0\r\na=ice-lite\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS live/akrunrecordrtctest\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:9568a46h\r\na=ice-pwd:r1iy99ne7ls2b9963n8bp35626jz1862\r\na=fingerprint:sha-256 5A:A0:CF:AB:95:F9:BC:02:CE:D1:2C:14:DE:D2:2F:6B:05:2E:C3:1D:06:99:D3:57:FD:1D:0B:C1:E8:EB:49:FA\r\na=setup:passive\r\na=mid:0\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=candidate:0 1 udp 2130706431 110.191.203.225 8000 typ host generation 0\r\nm=video 9 UDP/TLS/RTP/SAVPF 108 116\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:9568a46h\r\na=ice-pwd:r1iy99ne7ls2b9963n8bp35626jz1862\r\na=fingerprint:sha-256 5A:A0:CF:AB:95:F9:BC:02:CE:D1:2C:14:DE:D2:2F:6B:05:2E:C3:1D:06:99:D3:57:FD:1D:0B:C1:E8:EB:49:FA\r\na=setup:passive\r\na=mid:1\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:108 H264/90000\r\na=rtcp-fb:108 transport-cc\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:116 red/90000\r\na=candidate:0 1 udp 2130706431 110.191.203.225 8000 typ host generation 0\r\n [2022-04-28 16:22:52.723][Trace][16574][4stv6e1i] RTC: session address init 222.210.8.98:3397 [2022-04-28 16:22:52.723][Trace][16574][4stv6e1i] RTC: session STUN done, waiting DTLS handshake. [2022-04-28 16:22:52.729][Trace][16574][4stv6e1i] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=157, cnt=22, size=144, hs=1 [2022-04-28 16:22:52.729][Trace][16574][4stv6e1i] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=671, cnt=22, size=82, hs=2 [2022-04-28 16:22:52.736][Trace][16574][4stv6e1i] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=578, cnt=22, size=299, hs=11 [2022-04-28 16:22:52.737][Trace][16574][4stv6e1i] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=554, cnt=22, size=466, hs=4 [2022-04-28 16:22:52.737][Trace][16574][4stv6e1i] RTC: DTLS handshake done. [2022-04-28 16:22:52.737][Trace][16574][4stv6e1i] RTC: session pub=1, sub=0, to=30000ms connection established [2022-04-28 16:22:52.737][Trace][16574][4stv6e1i] RTC: Publisher url=/live/akrunrecordrtctest established [2022-04-28 16:22:52.738][Trace][16574][4stv6e1i] hls: win=30000ms, frag=10000ms, prefix=, path=/usr/local/live-record, m3u8=[app]/[stream].m3u8, ts=[app]/[stream]/[2006][01][02]/[15][04][05].ts, aof=1.00, floor=0, clean=1, waitk=1, dispose=0ms, dts_directly=1 [2022-04-28 16:22:52.738][Trace][16574][4stv6e1i] ignore disabled exec for vhost=defaultVhost [2022-04-28 16:22:52.738][Trace][16574][4stv6e1i] http: mount flv stream for sid=/live/akrunrecordrtctest, mount=/live/akrunrecordrtctest.flv [2022-04-28 16:22:52.755][Trace][16574][4stv6e1i] 7B audio sh, codec(10, profile=LC, 2channels, 0kbps, 48000HZ), flv(16bits, 2channels, 44100HZ) [2022-04-28 16:22:53.619][Warn][16574][4stv6e1i][11] VIDEO: stream not monotonically increase, please open mix_correct. [2022-04-28 16:22:53.619][Trace][16574][4stv6e1i] 34B video sh, codec(7, profile=Baseline, level=2.1, 320x240, 0kbps, 0.0fps, 0.0s) [2022-04-28 16:22:53.619][Trace][16574][4stv6e1i] set ts=2810431271, header=26069, lost=26070
异常log: [2022-04-28 16:29:38.072][Trace][16581][f503gx03] RTC publish webrtc://110.191.203.225/live/akrunrecordrtctest, api=https://110.191.203.225:4433/rtc/v1/publish/, tid=165fcbf, clientip=, app=live, stream=akrunrecordrtctest, offer=4578B, eip=, codec= [2022-04-28 16:29:38.072][Trace][16581][f503gx03] ignore attribute=, value= [2022-04-28 16:29:38.072][Trace][16581][f503gx03] new source, stream_url=/live/akrunrecordrtctest [2022-04-28 16:29:38.072][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = VP8 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = VP9 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = red [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = ulpfec [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = opus [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = ISAC [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = G722 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMU [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMA [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = opus [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = ISAC [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = G722 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMU [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMA [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = opus [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = ISAC [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = G722 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMU [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMA [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = opus [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = ISAC [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = G722 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMU [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = PCMA [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = CN [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = telephone-event [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = VP8 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = VP9 [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = red [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.073][Trace][16581][f503gx03] encoding_name_ = ulpfec [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = VP8 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = VP9 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = red [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = ulpfec [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = VP8 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = VP9 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = red [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = ulpfec [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = H264 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = VP8 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = VP9 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = red [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = rtx [2022-04-28 16:29:38.074][Trace][16581][f503gx03] encoding_name_ = ulpfec [2022-04-28 16:29:38.074][Trace][16581][f503gx03] RTC publisher nack=1, nnc=1, pt-drop=0, twcc=1/3 [2022-04-28 16:29:38.074][Trace][16581][f503gx03] rtc_to_rtmp on [2022-04-28 16:29:38.074][Trace][16581][f503gx03] new source, stream_url=/live/akrunrecordrtctest [2022-04-28 16:29:38.077][Trace][16581][f503gx03] RTC: Init tracks {track: 8aeb84a7-898f-424c-8e48-5589fbee6d82, is_active: 0=>1},{track: 65b4462e-3e08-4f0b-8093-2046da03612a, is_active: 0=>1}, ok [2022-04-28 16:29:38.077][Trace][16581][f503gx03] RTC: Use candidates 110.191.203.225 [2022-04-28 16:29:38.078][Trace][16581][f503gx03] RTC init session, user=a322145q:Rnct, url=/live/akrunrecordrtctest, encrypt=1/1, DTLS(role=passive, version=auto), timeout=30000ms, nack=1 [2022-04-28 16:29:38.078][Trace][16581][f503gx03] RTC username=a322145q:Rnct, offer=4578B, answer=1460B [2022-04-28 16:29:38.078][Trace][16581][f503gx03] RTC remote offer: v=0\r\no=- 3881857174211748048 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 105 13 110 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:Rnct\r\na=ice-pwd:Ye55UDF7FRvZ0pzdREjntr4A\r\na=ice-options:trickle\r\na=fingerprint:sha-256 74:86:89:BE:ED:D7:1A:89:8C:A6:66:47:BE:C5:E4:2C:2D:77:C3:E6:C9:BB:9A:27:F1:D8:23:23:33:0A:44:BE\r\na=setup:actpass\r\na=mid:0\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=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=msid:- 65b4462e-3e08-4f0b-8093-2046da03612a\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=rtpmap:103 ISAC/16000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:1975140161 cname:2yvPp/H5mLhDFfuu\r\na=ssrc:1975140161 msid:- 65b4462e-3e08-4f0b-8093-2046da03612a\r\na=ssrc:1975140161 mslabel:-\r\na=ssrc:1975140161 label:65b4462e-3e08-4f0b-8093-2046da03612a\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 125 104 124 106 107 108 109 127\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:Rnct\r\na=ice-pwd:Ye55UDF7FRvZ0pzdREjntr4A\r\na=ice-options:trickle\r\na=fingerprint:sha-256 74:86:89:BE:ED:D7:1A:89:8C:A6:66:47:BE:C5:E4:2C:2D:77:C3:E6:C9:BB:9A:27:F1:D8:23:23:33:0A:44:BE\r\na=setup:actpass\r\na=mid:1\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:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:11 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:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=msid:- 8aeb84a7-898f-424c-8e48-5589fbee6d82\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 H264/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c1f\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 H264/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:100 H264/90000\r\na=rtcp-fb:100 goog-remb\r\na=rtcp-fb:100 transport-cc\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=fmtp:100 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=640c1f\r\na=rtpmap:101 rtx/90000\r\na=fmtp:101 apt=100\r\na=rtpmap:102 H264/90000\r\na=rtcp-fb:102 goog-remb\r\na=rtcp-fb:102 transport-cc\r\na=rtcp-fb:102 ccm fir\r\na=rtcp-fb:102 nack\r\na=rtcp-fb:102 nack pli\r\na=fmtp:102 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=102\r\na=rtpmap:104 VP8/90000\r\na=rtcp-fb:104 goog-remb\r\na=rtcp-fb:104 transport-cc\r\na=rtcp-fb:104 ccm fir\r\na=rtcp-fb:104 nack\r\na=rtcp-fb:104 nack pli\r\na=rtpmap:124 rtx/90000\r\na=fmtp:124 apt=104\r\na=rtpmap:106 VP9/90000\r\na=rtcp-fb:106 goog-remb\r\na=rtcp-fb:106 transport-cc\r\na=rtcp-fb:106 ccm fir\r\na=rtcp-fb:106 nack\r\na=rtcp-fb:106 nack pli\r\na=fmtp:106 profile-id=0\r\na=rtpmap:107 rtx/90000\r\na=fmtp:107 apt=106\r\na=rtpmap:108 red/90000\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:127 ulpfec/90000\r\na=ssrc-group:FID 2101515321 4000122392\r\na=ssrc:2101515321 cname:2yvPp/H5mLhDFfuu\r\na=ssrc:2101515321 msid:- 8aeb84a7-898f-424c-8e48-5589fbee6d82\r\na=ssrc:2101515321 mslabel:-\r\na=ssrc:2101515321 label:8aeb84a7-898f-424c-8e48-5589fbee6d82\r\na=ssrc:4000122392 cname:2yvPp/H5mLhDFfuu\r\na=ssrc:4000122392 msid:- 8aeb84a7-898f-424c-8e48-5589fbee6d82\r\na=ssrc:4000122392 mslabel:-\r\na=ssrc:4000122392 label:8aeb84a7-898f-424c-8e48-5589fbee6d82\r\n [2022-04-28 16:29:38.078][Trace][16581][f503gx03] RTC local answer: v=0\r\no=AKRRS/2.0(Kusanagi) 26502848 2 IN IP4 0.0.0.0\r\ns=AKRRSPublishSession\r\nt=0 0\r\na=ice-lite\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS live/akrunrecordrtctest\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:a322145q\r\na=ice-pwd:944h1x83558202626d2444y1032iv09k\r\na=fingerprint:sha-256 4F:AB:07:62:8C:82:E6:1E:93:C1:60:0D:F8:97:40:E6:35:8D:02:C7:62:CD:6A:2B:2B:03:29:55:A7:78:3B:0A\r\na=setup:passive\r\na=mid:0\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=candidate:0 1 udp 2130706431 110.191.203.225 8000 typ host generation 0\r\nm=video 9 UDP/TLS/RTP/SAVPF 98 108\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:a322145q\r\na=ice-pwd:944h1x83558202626d2444y1032iv09k\r\na=fingerprint:sha-256 4F:AB:07:62:8C:82:E6:1E:93:C1:60:0D:F8:97:40:E6:35:8D:02:C7:62:CD:6A:2B:2B:03:29:55:A7:78:3B:0A\r\na=setup:passive\r\na=mid:1\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:98 H264/90000\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:108 red/90000\r\na=candidate:0 1 udp 2130706431 110.191.203.225 8000 typ host generation 0\r\n [2022-04-28 16:29:38.093][Trace][16581][f503gx03] RTC: session address init 222.210.8.98:1359 [2022-04-28 16:29:38.093][Trace][16581][f503gx03] RTC: session STUN done, waiting DTLS handshake. [2022-04-28 16:29:38.099][Trace][16581][f503gx03] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=155, cnt=22, size=142, hs=1 [2022-04-28 16:29:38.099][Trace][16581][f503gx03] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=671, cnt=22, size=82, hs=2 [2022-04-28 16:29:38.106][Trace][16581][f503gx03] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=572, cnt=22, size=301, hs=11 [2022-04-28 16:29:38.107][Trace][16581][f503gx03] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=546, cnt=22, size=466, hs=4 [2022-04-28 16:29:38.107][Trace][16581][f503gx03] RTC: DTLS handshake done. [2022-04-28 16:29:38.107][Trace][16581][f503gx03] RTC: session pub=1, sub=0, to=30000ms connection established [2022-04-28 16:29:38.107][Trace][16581][f503gx03] RTC: Publisher url=/live/akrunrecordrtctest established [2022-04-28 16:29:38.107][Trace][16581][f503gx03] hls: win=30000ms, frag=10000ms, prefix=, path=/usr/local/live-record, m3u8=[app]/[stream].m3u8, ts=[app]/[stream]/[2006][01][02]/[15][04][05].ts, aof=1.00, floor=0, clean=1, waitk=1, dispose=0ms, dts_directly=1 [2022-04-28 16:29:38.107][Trace][16581][f503gx03] ignore disabled exec for vhost=defaultVhost [2022-04-28 16:29:38.108][Trace][16581][f503gx03] http: mount flv stream for sid=/live/akrunrecordrtctest, mount=/live/akrunrecordrtctest.flv
- SRS的配置如下(Config):
the config for srs to delivery realtime RTMP stream
listen 1935; pid ./logs/srs.pid; ff_log_dir ./logs; srs_log_file ./logs/srs.log; srs_log_level trace; max_connections 1000;
http_server { #enabled on; #listen 8080; #dir /usr/local/live-record; dir /usr/local/replay;
https { enabled on; listen 8088; key ./server.key; cert ./server.crt; }}
Port for API service used by RTC
http_api { # Enable or disable enabled on; # Listen on port listen 1985; }
https { enabled on; listen 443; key ./server.key; cert ./server.crt; }} stats { network 0; }
rtc_server { enabled on; # Listen at udp://8000 listen 8000; # candidate $CANDIDATE; candidate 110.191.203.225; }
vhost defaultVhost { gop_cache off; queue_length 10; min_latency on; mr { enabled off; } mw_latency 100; tcp_nodelay on; hls{ enabled on; hls_fragment 10; hls_td_ratio 1; hls_aof_ratio 1; hls_window 30; hls_storage disk; hls_mount /[app]/[stream].m3u8; hls_path /usr/local/live-record; hls_m3u8_file [app]/[stream].m3u8; hls_ts_file [app]/[stream]/[2006][01][02]/[15][04][05].ts; hls_ts_floor off; hls_cleanup off;
#pure_audio stream; #record_stream stream; #valid_idr 1; } rtc { enabled on; rtc_to_rtmp on; bframe discard; } http_remux{ enabled on; mount [vhost]/[app]/[stream].flv; }}
Describe your expectations: Enable Safari to stream RTC.
SrsRtcPublisherAsync cannot push custom streams. Do you know how to set it up?
TRANS_BY_GPT3