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

RTMP2WebRTC play failed on ios #4170

Open
wangjk920221 opened this issue Sep 4, 2024 · 1 comment
Open

RTMP2WebRTC play failed on ios #4170

wangjk920221 opened this issue Sep 4, 2024 · 1 comment
Labels
TransByAI Translated by AI/GPT.

Comments

@wangjk920221
Copy link

wangjk920221 commented Sep 4, 2024

!!! Before submitting a new bug report, please ensure you have searched for any existing bugs and utilized
the Ask AI feature at https://ossrs.io or https://ossrs.net (for users in China). Duplicate issues or
questions that are overly simple or already addressed in the documentation will be removed without any
response.

Describe the bug
I am using the RTMP protocol to push the Windows system screen image and desktop sound to SRS, and play it through the WebRTC protocol. During use, I found that the pushed stream can be played normally on Android and PC (including Windows and Mac) using RTMP and WebRTC, but can only be played using RTMP on iOS, and fails to be played using WebRTC.

Version
5.0
To Reproduce

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

Additional context
SRS start command:

docker run --rm -it -p 1935:1935 -p 1985:1985 -p 8080:8080 --env CANDIDATE=172.28.24.63 -p 8000:8000/udp 5a4b3440626f ./objs/srs -c conf/rtmp2rtc.conf

SRS receive rtmp stream log:

2024-09-04 16:01:23 [2024-09-04 08:01:23.442][INFO][1][282ht3vl] RTMP client ip=172.17.0.1:43542, fd=14
2024-09-04 16:01:23 [2024-09-04 08:01:23.443][INFO][1][282ht3vl] simple handshake success.
2024-09-04 16:01:23 [2024-09-04 08:01:23.443][INFO][1][282ht3vl] connect app, tcUrl=rtmp://172.28.24.63/live, pageUrl=, swfUrl=, schema=rtmp, vhost=172.28.24.63, port=1935, app=live, args=null
2024-09-04 16:01:23 [2024-09-04 08:01:23.444][INFO][1][282ht3vl] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
2024-09-04 16:01:23 [2024-09-04 08:01:23.487][INFO][1][282ht3vl] client identified, type=fmle-publish, vhost=172.28.24.63, app=live, stream=stream, param=, duration=0ms
2024-09-04 16:01:23 [2024-09-04 08:01:23.487][INFO][1][282ht3vl] connected stream, tcUrl=rtmp://172.28.24.63/live, pageUrl=, swfUrl=, schema=rtmp, vhost=defaultVhost, port=1935, app=live, stream=stream, param=, args=null
2024-09-04 16:01:23 [2024-09-04 08:01:23.487][INFO][1][282ht3vl] new live source, stream_url=/live/stream
2024-09-04 16:01:23 [2024-09-04 08:01:23.488][INFO][1][282ht3vl] source url=/live/stream, ip=172.17.0.1, cache=1/2500, is_edge=0, source_id=/
2024-09-04 16:01:23 [2024-09-04 08:01:23.547][INFO][1][282ht3vl] new rtc source, stream_url=/live/stream
2024-09-04 16:01:23 [2024-09-04 08:01:23.548][INFO][1][282ht3vl] RTC bridge from RTMP, rtmp2rtc=1, keep_bframe=0, keep_avc_nalu_sei=1, merge_nalus=0
2024-09-04 16:01:23 [2024-09-04 08:01:23.548][INFO][1][282ht3vl] ignore disabled exec for vhost=defaultVhost
2024-09-04 16:01:23 [2024-09-04 08:01:23.548][INFO][1][282ht3vl] http: mount flv stream for sid=/live/stream, mount=/live/stream.flv
2024-09-04 16:01:23 [2024-09-04 08:01:23.548][INFO][1][282ht3vl] start publish mr=0/350, p1stpt=20000, pnt=5000, tcp_nodelay=0
2024-09-04 16:01:23 [2024-09-04 08:01:23.775][INFO][1][282ht3vl] got metadata, width=1920, height=1080, vcodec=7, acodec=10
2024-09-04 16:01:23 [2024-09-04 08:01:23.776][INFO][1][282ht3vl] 42B video sh, codec(7, profile=High, level=4.1, 1920x1080, 0kbps, 0.0fps, 0.0s)
2024-09-04 16:01:23 [2024-09-04 08:01:23.776][INFO][1][282ht3vl] 7B audio sh, codec(10, profile=LC, 2channels, 0kbps, 48000HZ), flv(16bits, 2channels, 44100HZ)
2024-09-04 16:01:23 [2024-09-04 08:01:23.782][INFO][1][282ht3vl] RTMP2RTC: Init audio codec to 10(AAC)
2024-09-04 16:01:23 [2024-09-04 08:01:23.878][INFO][1][5r971078] Hybrid cpu=0.00%,22MB, cid=3,1, timer=62,0,0, clock=0,48,1,0,0,0,0,0,0, objs=(pkt:12,raw:1,fua:11,msg:15,oth:1,buf:1)
2024-09-04 16:01:24 [2024-09-04 08:01:24.003][INFO][1][5867878d] Process: cpu=2.00%,25MB, threads=2
2024-09-04 16:01:28 [2024-09-04 08:01:28.879][INFO][1][5r971078] Hybrid cpu=3.00%,26MB, cid=3,1, timer=62,0,0, clock=0,48,1,0,0,0,0,0,0, objs=(pkt:12,raw:1,fua:11,msg:15,oth:1,buf:1)
2024-09-04 16:01:29 [2024-09-04 08:01:29.008][INFO][1][5867878d] Process: cpu=2.00%,26MB, threads=2
2024-09-04 16:01:33 [2024-09-04 08:01:33.879][INFO][1][5r971078] Hybrid cpu=2.00%,26MB, cid=1,0, timer=62,0,0, clock=0,45,3,0,0,0,0,0,0, objs=(pkt:251,raw:70,fua:180,msg:394,oth:1,buf:50)
2024-09-04 16:01:34 [2024-09-04 08:01:34.014][INFO][1][5867878d] Process: cpu=2.00%,26MB, threads=2
2024-09-04 16:01:38 [2024-09-04 08:01:38.880][INFO][1][5r971078] Hybrid cpu=2.00%,26MB, cid=1,0, timer=62,0,0, clock=0,45,3,0,0,0,0,0,0, objs=(pkt:251,raw:70,fua:180,msg:394,oth:1,buf:50)
2024-09-04 16:01:39 [2024-09-04 08:01:39.019][INFO][1][5867878d] Process: cpu=2.00%,26MB, threads=2
2024-09-04 16:01:43 [2024-09-04 08:01:43.881][INFO][1][5r971078] Hybrid cpu=3.00%,26MB, cid=1,0, timer=62,0,0, clock=0,45,3,0,0,0,0,0,0, objs=(pkt:251,raw:70,fua:180,msg:394,oth:1,buf:50)
2024-09-04 16:01:44 [2024-09-04 08:01:44.024][INFO][1][5867878d] Process: cpu=2.00%,26MB, threads=2
2024-09-04 16:01:48 [2024-09-04 08:01:48.549][INFO][1][282ht3vl] <- CPB time=19986413, okbps=0,0,0, ikbps=0,0,0, mr=0/350, p1stpt=20000, pnt=5000
2024-09-04 16:01:48 [2024-09-04 08:01:48.881][INFO][1][5r971078] Hybrid cpu=3.00%,26MB, cid=1,0, timer=62,0,0, clock=0,45,3,0,0,0,0,0,0, objs=(pkt:265,raw:71,fua:193,msg:408,oth:1,buf:51)
2024-09-04 16:01:49 [2024-09-04 08:01:49.030][INFO][1][5867878d] Process: cpu=2.00%,26MB, threads=2
2024-09-04 16:01:53 [2024-09-04 08:01:53.881][INFO][1][5r971078] Hybrid cpu=2.00%,26MB, cid=1,0, timer=62,0,0, clock=0,45,3,0,0,0,0,0,0, objs=(pkt:265,raw:71,fua:193,msg:408,oth:1,buf:51)
2024-09-04 16:01:54 [2024-09-04 08:01:54.035][INFO][1][5867878d] Process: cpu=2.00%,26MB, threads=2
2024-09-04 16:01:58 [2024-09-04 08:01:58.550][INFO][1][282ht3vl] <- CPB time=29988045, okbps=0,0,0, ikbps=0,0,0, mr=0/350, p1stpt=20000, pnt=5000
2024-09-04 16:01:58 [2024-09-04 08:01:58.881][INFO][1][5r971078] Hybrid cpu=2.00%,26MB, cid=1,0, timer=62,0,0, clock=0,45,3,0,0,0,0,0,0, objs=(pkt:265,raw:71,fua:193,msg:408,oth:1,buf:51)
2024-09-04 16:01:59 [2024-09-04 08:01:59.041][INFO][1][5867878d] Process: cpu=2.00%,26MB, threads=2
2024-09-04 16:02:03 [2024-09-04 08:02:03.882][INFO][1][5r971078] Hybrid cpu=2.00%,26MB, cid=1,0, timer=62,0,0, clock=0,44,3,0,0,0,0,0,0, objs=(pkt:265,raw:71,fua:192,msg:407,oth:1,buf:50)
2024-09-04 16:02:04 [2024-09-04 08:02:04.046][INFO][1][5867878d] Process: cpu=2.00%,26MB, threads=2
2024-09-04 16:02:08 [2024-09-04 08:02:08.552][INFO][1][282ht3vl] <- CPB time=40002844, okbps=0,0,0, ikbps=0,0,0, mr=0/350, p1stpt=20000, pnt=5000
2024-09-04 16:02:08 [2024-09-04 08:02:08.883][INFO][1][5r971078] Hybrid cpu=1.00%,26MB, cid=1,0, timer=62,0,0, clock=0,44,3,0,0,0,0,0,0, objs=(pkt:265,raw:71,fua:192,msg:407,oth:1,buf:50)
2024-09-04 16:02:09 [2024-09-04 08:02:09.051][INFO][1][5867878d] Process: cpu=2.00%,26MB, threads=2
2024-09-04 16:02:13 [2024-09-04 08:02:13.883][INFO][1][5r971078] Hybrid cpu=1.00%,26MB, cid=1,0, timer=62,0,0, clock=0,44,3,0,0,0,0,0,0, objs=(pkt:265,raw:71,fua:192,msg:407,oth:1,buf:50)
2024-09-04 16:02:14 [2024-09-04 08:02:14.057][INFO][1][5867878d] Process: cpu=3.00%,26MB, threads=2
2024-09-04 16:02:18 [2024-09-04 08:02:18.884][INFO][1][5r971078] Hybrid cpu=2.00%,26MB, cid=1,0, timer=61,0,0, clock=0,45,3,0,0,0,0,0,0, objs=(pkt:253,raw:71,fua:180,msg:395,oth:1,buf:50)
2024-09-04 16:02:19 [2024-09-04 08:02:19.063][INFO][1][5867878d] Process: cpu=1.00%,26MB, threads=2
2024-09-04 16:02:23 [2024-09-04 08:02:23.553][INFO][1][282ht3vl] <- CPB time=54990404, okbps=0,0,0, ikbps=0,1996,0, mr=0/350, p1stpt=20000, pnt=5000
2024-09-04 16:02:23 [2024-09-04 08:02:23.884][INFO][1][5r971078] Hybrid cpu=2.00%,26MB, cid=1,0, timer=61,0,0, clock=0,45,3,0,0,0,0,0,0, objs=(pkt:253,raw:71,fua:180,msg:395,oth:1,buf:50)
2024-09-04 16:02:24 [2024-09-04 08:02:24.068][INFO][1][5867878d] Process: cpu=1.00%,26MB, threads=2
2024-09-04 16:02:28 [2024-09-04 08:02:28.885][INFO][1][5r971078] Hybrid cpu=3.00%,26MB, cid=1,0, timer=62,0,0, clock=0,45,3,0,0,0,0,0,0, objs=(pkt:265,raw:71,fua:192,msg:407,oth:1,buf:50)
2024-09-04 16:02:29 [2024-09-04 08:02:29.073][INFO][1][5867878d] Process: cpu=0.00%,26MB, threads=2
2024-09-04 16:02:33 [2024-09-04 08:02:33.886][INFO][1][5r971078] Hybrid cpu=2.00%,26MB, cid=1,0, timer=62,0,0, clock=0,45,3,0,0,0,0,0,0, objs=(pkt:265,raw:71,fua:192,msg:407,oth:1,buf:50)
2024-09-04 16:02:34 [2024-09-04 08:02:34.078][INFO][1][5867878d] Process: cpu=2.00%,26MB, threads=2
2024-09-04 16:02:38 [2024-09-04 08:02:38.555][INFO][1][282ht3vl] <- CPB time=70006020, okbps=0,0,0, ikbps=0,1996,0, mr=0/350, p1stpt=20000, pnt=5000
2024-09-04 16:02:38 [2024-09-04 08:02:38.886][INFO][1][5r971078] Hybrid cpu=2.00%,26MB, cid=1,0, timer=62,0,0, clock=0,45,3,0,0,0,0,0,0, objs=(pkt:265,raw:71,fua:192,msg:407,oth:1,buf:50)
2024-09-04 16:02:39 [2024-09-04 08:02:39.083][INFO][1][5867878d] Process: cpu=2.00%,26MB, threads=2

iOS chrome console log:

[Log] HTMLVideoElementPictureInPicture::~HTMLVideoElementPictureInPicture(1971B58957ED3C08)
[Log] HTMLMediaElement::~HTMLMediaElement(4C4CA9172C3E5973)
[Log] MediaSessionManageriOS::removeSession(0) (FBD5607C50050F5A)
[Log] MediaStreamTrackPrivate::~MediaStreamTrackPrivate(2C67A0F4832C7580)
[Log] MediaStreamTrackPrivate::~MediaStreamTrackPrivate(1B2C5242CD5B926C)
[Log] RTCPeerConnection::RTCPeerConnection(12B80F49BF111CF9)
[Info] RTCPeerConnection::initializeConfiguration(12B80F49BF111CF9)
[Log] MediaStream::MediaStream(BAE5486167731667)
[Info] HTMLMediaElement::setSrcObject(B8E8AE95898F724E)
[Log] HTMLMediaElement::prepareForLoad(B8E8AE95898F724E) gesture = true
[Info] MediaElementSession::removeBehaviorRestriction(B8E8AE95898F724E) removed RequireUserGestureForAudioRateChange, RequireUserGestureForFullscreen, RequireUserGestureToShowPlaybackTargetPicker, RequireUserGestureToAutoplayToExternalDevice, RequireUserGestureToControlControlsManager
[Log] HTMLMediaElement::createMediaPlayer(B8E8AE95898F724E)
[Log] MediaSessionManageriOS::addSession(0) (B8E8AE95898F724E)
[Info] HTMLMediaElement::cancelPendingEventsAndCallbacks(B8E8AE95898F724E)
[Log] HTMLMediaElement::setPlaybackRate(B8E8AE95898F724E) 1
[Log] MediaElementSession::clientWillBeginAutoplaying(B8E8AE95898F724E) state = Autoplaying
[Log] HTMLMediaElement::setShouldDelayLoadEvent(B8E8AE95898F724E) true
[Info] MediaElementSession::removeBehaviorRestriction(B8E8AE95898F724E) removed RequirePageConsentToLoadMedia
[Info] RTCPeerConnection::addTransceiver(12B80F49BF111CF9)
[Log] MediaStreamTrackPrivate::MediaStreamTrackPrivate(B0F7A76880EA275D)
[Log] RealtimeIncomingAudioSource::setLogger(B0F7A76880EA275D) Audio, remote audio, ,
[Log] MediaStreamTrack::MediaStreamTrack(B0F7A76880EA275D)
[Info] RTCPeerConnection::addTransceiver(12B80F49BF111CF9)
[Log] MediaStreamTrackPrivate::MediaStreamTrackPrivate(519599A5FAC36BEB)
[Log] RealtimeIncomingVideoSource::setLogger(519599A5FAC36BEB) Video, remote video, ,
[Log] MediaStreamTrack::MediaStreamTrack(519599A5FAC36BEB)
[Log] RTCPeerConnection::createOffer(12B80F49BF111CF9)
[Log] MediaSessionManageriOS::updateSessionState(0) types: AudioCapture(0), AudioTrack(0), Video(1), Audio(0), VideoAudio(0), WebAudio(0)
[Log] MediaSessionManageriOS::updateSessionState(0) setting category = None, mode = Default, policy = Default, previous category = None
[Log] MediaSessionManageriOS::updateSessionState(0) types: AudioCapture(0), AudioTrack(0), Video(1), Audio(0), VideoAudio(0), WebAudio(0)
[Log] MediaSessionManageriOS::updateSessionState(0) setting category = None, mode = Default, policy = Default, previous category = None
[Log] PeerConnectionBackend::createOfferSucceeded(12B80F49BF111CF9) Create offer succeeded:
v=0
o=- 4988176847636678697 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=extmap-allow-mixed
a=msid-semantic: WMS
m=audio 9 UDP/TLS/RTP/SAVPF 111 63 9 0 8 13 110 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:XTnV
a=ice-pwd:Vb8FUmnOiVsVkOpoI9A2j8tx
a=ice-options:trickle
a=fingerprint:sha-256 46:ED:3A:B9:70:89:6A:50:0D:88:6B:6B:1F:31:82:03:5E:A6:5F:E7:55:2A:12:27:10:2B:31:87:7E:87:8A:15
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=recvonly
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:63 red/48000/2
a=fmtp:63 111/111
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:126 telephone-event/8000
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 103 104 105 106 107 108 109 127 125 112 35
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:XTnV
a=ice-pwd:Vb8FUmnOiVsVkOpoI9A2j8tx
a=ice-options:trickle
a=fingerprint:sha-256 46:ED:3A:B9:70:89:6A:50:0D:88:6B:6B:1F:31:82:03:5E:A6:5F:E7:55:2A:12:27:10:2B:31:87:7E:87:8A:15
a=setup:actpass
a=mid:1
a=extmap:14 urn:ietf:params:rtp-hdrext:toffset
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:13 urn:3gpp:video-orientation
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type
a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing
a=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=recvonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 H264/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c1f
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:98 H264/90000
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:100 H264/90000
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=fmtp:100 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=640c1f
a=rtpmap:101 rtx/90000
a=fmtp:101 apt=100
a=rtpmap:102 H264/90000
a=rtcp-fb:102 goog-remb
a=rtcp-fb:102 transport-cc
a=rtcp-fb:102 ccm fir
a=rtcp-fb:102 nack
a=rtcp-fb:102 nack pli
a=fmtp:102 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f
a=rtpmap:103 rtx/90000
a=fmtp:103 apt=102
a=rtpmap:104 VP8/90000
a=rtcp-fb:104 goog-remb
a=rtcp-fb:104 transport-cc
a=rtcp-fb:104 ccm fir
a=rtcp-fb:104 nack
a=rtcp-fb:104 nack pli
a=rtpmap:105 rtx/90000
a=fmtp:105 apt=104
a=rtpmap:106 VP9/90000
a=rtcp-fb:106 goog-remb
a=rtcp-fb:106 transport-cc
a=rtcp-fb:106 ccm fir
a=rtcp-fb:106 nack
a=rtcp-fb:106 nack pli
a=fmtp:106 profile-id=0
a=rtpmap:107 rtx/90000
a=fmtp:107 apt=106
a=rtpmap:108 VP9/90000
a=rtcp-fb:108 goog-remb
a=rtcp-fb:108 transport-cc
a=rtcp-fb:108 ccm fir
a=rtcp-fb:108 nack
a=rtcp-fb:108 nack pli
a=fmtp:108 profile-id=2
a=rtpmap:109 rtx/90000
a=fmtp:109 apt=108
a=rtpmap:127 red/90000
a=rtpmap:125 rtx/90000
a=fmtp:125 apt=127
a=rtpmap:112 ulpfec/90000
a=rtpmap:35 flexfec-03/90000
a=rtcp-fb:35 goog-remb
a=rtcp-fb:35 transport-cc
a=fmtp:35 repair-window=10000000

[Info] HTMLMediaElement::updateMediaPlayer(B8E8AE95898F724E)
[Info] HTMLMediaElement::updateMediaPlayer(B8E8AE95898F724E)
[Info] HTMLMediaElement::updateMediaPlayer(B8E8AE95898F724E)
[Log] HTMLMediaElement::selectMediaResource(B8E8AE95898F724E) lambda(), task fired
The HTMLMediaElement has initiated the loadResource function with the identifier B8E8AE95898F724E. The resource being loaded is located at a specified URL and has an associated media container type that is currently unspecified. The codecs and profiles for the media resource are defined as "codecs" and "profiles" respectively.
[Info] HTMLMediaElement::loadResource(B8E8AE95898F724E) m_currentSrc is [url]
[Log] HTMLMediaElement::loadResource(B8E8AE95898F724E) loading media stream blob (BAE5486167731667)
[Info] MediaPlayerPrivateMediaStreamAVFObjC::MediaPlayerPrivateMediaStreamAVFObjC(B8E8AE95898F724E)
[Log] HTMLMediaElement::mediaPlayerEngineUpdated(B8E8AE95898F724E) AVFoundation MediaStream Engine
[Log] HTMLMediaElement::scheduleMediaEngineWasUpdated(B8E8AE95898F724E) task scheduled
[Log] HTMLMediaElement::mediaPlayerRenderingModeChanged(B8E8AE95898F724E)
[Log] MediaPlayerPrivateMediaStreamAVFObjC::setPageIsVisible(B8E8AE95898F724E) true
[Info] MediaPlayerPrivateMediaStreamAVFObjC::load(B8E8AE95898F724E)
[Log] HTMLMediaElement::mediaPlayerRenderingModeChanged(B8E8AE95898F724E)
[Log] HTMLMediaElement::selectMediaResource(B8E8AE95898F724E) using 'srcObject' property
[Log] RTCPeerConnection::setLocalDescription(12B80F49BF111CF9) Setting local description to:
v=0
o=- 4988176847636678697 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=extmap-allow-mixed
a=msid-semantic: WMS
m=audio 9 UDP/TLS/RTP/SAVPF 111 63 9 0 8 13 110 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:XTnV
a=ice-pwd:Vb8FUmnOiVsVkOpoI9A2j8tx
a=ice-options:trickle
a=fingerprint:sha-256 46:ED:3A:B9:70:89:6A:50:0D:88:6B:6B:1F:31:82:03:5E:A6:5F:E7:55:2A:12:27:10:2B:31:87:7E:87:8A:15
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=recvonly
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:63 red/48000/2
a=fmtp:63 111/111
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:126 telephone-event/8000
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 103 104 105 106 107 108 109 127 125 112 35
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:XTnV
a=ice-pwd:Vb8FUmnOiVsVkOpoI9A2j8tx
a=ice-options:trickle
a=fingerprint:sha-256 46:ED:3A:B9:70:89:6A:50:0D:88:6B:6B:1F:31:82:03:5E:A6:5F:E7:55:2A:12:27:10:2B:31:87:7E:87:8A:15
a=setup:actpass
a=mid:1
a=extmap:14 urn:ietf:params:rtp-hdrext:toffset
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:13 urn:3gpp:video-orientation
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type
a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing
a=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=recvonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 H264/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c1f
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:98 H264/90000
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:100 H264/90000
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=fmtp:100 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=640c1f
a=rtpmap:101 rtx/90000
a=fmtp:101 apt=100
a=rtpmap:102 H264/90000
a=rtcp-fb:102 goog-remb
a=rtcp-fb:102 transport-cc
a=rtcp-fb:102 ccm fir
a=rtcp-fb:102 nack
a=rtcp-fb:102 nack pli
a=fmtp:102 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f
a=rtpmap:103 rtx/90000
a=fmtp:103 apt=102
a=rtpmap:104 VP8/90000
a=rtcp-fb:104 goog-remb
a=rtcp-fb:104 transport-cc
a=rtcp-fb:104 ccm fir
a=rtcp-fb:104 nack
a=rtcp-fb:104 nack pli
a=rtpmap:105 rtx/90000
a=fmtp:105 apt=104
a=rtpmap:106 VP9/90000
a=rtcp-fb:106 goog-remb
a=rtcp-fb:106 transport-cc
a=rtcp-fb:106 ccm fir
a=rtcp-fb:106 nack
a=rtcp-fb:106 nack pli
a=fmtp:106 profile-id=0
a=rtpmap:107 rtx/90000
a=fmtp:107 apt=106
a=rtpmap:108 VP9/90000
a=rtcp-fb:108 goog-remb
a=rtcp-fb:108 transport-cc
a=rtcp-fb:108 ccm fir
a=rtcp-fb:108 nack
a=rtcp-fb:108 nack pli
a=fmtp:108 profile-id=2
a=rtpmap:109 rtx/90000
a=fmtp:109 apt=108
a=rtpmap:127 red/90000
a=rtpmap:125 rtx/90000
a=fmtp:125 apt=127
a=rtpmap:112 ulpfec/90000
a=rtpmap:35 flexfec-03/90000
a=rtcp-fb:35 goog-remb
a=rtcp-fb:35 transport-cc
a=fmtp:35 repair-window=10000000

[Info] HTMLMediaElement::updateMediaPlayer(B8E8AE95898F724E)
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning FALSE: no audio
[Log] HTMLMediaElement::setNetworkState(B8E8AE95898F724E) new state = Idle, current state = NETWORK_LOADING
[Log] HTMLMediaElement::setShouldDelayLoadEvent(B8E8AE95898F724E) false
[Log] PeerConnectionBackend::setLocalDescriptionSucceeded(12B80F49BF111CF9)
The log entry indicates that a Session Description Protocol (SDP) offer has been generated. The SDP offer includes various session details such as the version, originator identifier, session name, and other parameters necessary for establishing a media session. The offer is of the type "offer" and is part of the output from a user script at line 1, position 29. The SDP data is partially displayed, with details about the connection information (IP4 address 127.0.0.1) and media format parameters. The object notation at the end signifies that the SDP offer is encapsulated within a JavaScript object.
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning FALSE: no audio
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning FALSE: no audio
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Debug] HTMLMediaElement::dispatchEvent(B8E8AE95898F724E) loadstart
[Info] HTMLMediaElement::webkitCurrentPlaybackTargetIsWireless(B8E8AE95898F724E) false
[Log] HTMLMediaElement::scheduleMediaEngineWasUpdated(B8E8AE95898F724E) lambda(), task fired
[Log] HTMLMediaElement::mediaEngineWasUpdated(B8E8AE95898F724E)
[Info] HTMLMediaElement::updateMediaPlayer(B8E8AE95898F724E)
[Info] MediaElementSession::mediaEngineUpdated(B8E8AE95898F724E)
[Log] VideoLayerManagerObjC::setVideoFullscreenFrame(B8E8AE95898F724E) 0, 0, 0, 0
[Info] HTMLMediaElement::scheduleUpdateMediaState(B8E8AE95898F724E) task scheduled
[Debug] HTMLMediaElement::dispatchEvent(B8E8AE95898F724E) progress
[Debug] HTMLMediaElement::dispatchEvent(B8E8AE95898F724E) suspend
[Log] RTCPeerConnection::setSignalingState(12B80F49BF111CF9) have-local-offer
[Info] RTCPeerConnection::dispatchEvent(12B80F49BF111CF9) dispatching 'signalingstatechange'
[Log] RTCPeerConnection::updateIceGatheringState(12B80F49BF111CF9) gathering
[Info] HTMLMediaElement::scheduleUpdateMediaState(B8E8AE95898F724E) lambda(), task fired
[Info] RTCPeerConnection::dispatchEvent(12B80F49BF111CF9) dispatching 'icegatheringstatechange'
[Log] PeerConnectionBackend::newICECandidate(12B80F49BF111CF9) Gathered ice candidate:candidate:480433939 1 udp 2122260223 82d96a71-28eb-4d32-ac3e-e02b3c978c3b.local 58650 typ host generation 0 ufrag XTnV network-id 1 network-cost 10
[Info] RTCPeerConnection::dispatchEvent(12B80F49BF111CF9) dispatching 'icecandidate'
[Log] PeerConnectionBackend::newICECandidate(12B80F49BF111CF9) Gathered ice candidate:candidate:480433939 1 udp 2122260223 93a70686-1095-4c64-b76c-3ca5a2f33b67.local 61687 typ host generation 0 ufrag XTnV network-id 1 network-cost 10
[Info] RTCPeerConnection::dispatchEvent(12B80F49BF111CF9) dispatching 'icecandidate'
[Log] PeerConnectionBackend::newICECandidate(12B80F49BF111CF9) Gathered ice candidate:candidate:480433939 1 udp 2122260223 4b7cc5ac-0c24-480b-ac25-2e991826cc21.local 56875 typ host generation 0 ufrag XTnV network-id 1 network-cost 10
[Info] RTCPeerConnection::dispatchEvent(12B80F49BF111CF9) dispatching 'icecandidate'
[Log] PeerConnectionBackend::newICECandidate(12B80F49BF111CF9) Gathered ice candidate:candidate:480433939 1 udp 2122260223 c08f4a62-4be9-47cf-b855-7cfae5676aff.local 57412 typ host generation 0 ufrag XTnV network-id 1 network-cost 10
[Info] RTCPeerConnection::dispatchEvent(12B80F49BF111CF9) dispatching 'icecandidate'
The log entry indicates that a Session Description Protocol (SDP) answer has been received. The SDP answer contains details such as the version, originator information including the software version (SRS/5.0.213(Bee)), session identifier, and other session-related attributes necessary for completing the setup of a media session. The answer specifies that the connection IP address is 0.0.0.0 and includes additional SDP attributes like 'ice-lite' and 'group:BUNDLE'. The 'msid-semantic' attribute is also mentioned, though the full details are not shown. This information is part of the output from a user script at line 1, position 29.
"v=0
o=SRS/5.0.213(Bee) 140160692492240 2 IN IP4 0.0.0.0
s=SRSPlaySession
t=0 0
a=ice-lite
a=group:BUNDLE 0 1
a=msid-semantic: WMS live/livestream
m=audio 9 UDP/TLS/RTP/SAVPF 111
c=IN IP4 0.0.0.0
a=ice-ufrag:398f6n17
a=ice-pwd:vd42214l08yvi8ar6ta48e36oa5150e0
a=fingerprint:sha-256 A5:6C:32:6E:98:B6:E0:3B:20:52:BE:97:1E:62:82:1F:B3:D6:E9:F8:98:D9:98:E7:AD:2F:38:68:57:46:E2:A6
a=setup:passive
a=mid:0
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=sendonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=ssrc:10112 cname:973fu9f982j79oz4
a=ssrc:10112 label:audio-632n6dmz
a=candidate:0 1 udp 2130706431 172.28.24.63 8000 typ host generation 0
m=video 9 UDP/TLS/RTP/SAVPF 98
c=IN IP4 0.0.0.0
a=ice-ufrag:398f6n17
a=ice-pwd:vd42214l08yvi8ar6ta48e36oa5150e0
a=fingerprint:sha-256 A5:6C:32:6E:98:B6:E0:3B:20:52:BE:97:1E:62:82:1F:B3:D6:E9:F8:98:D9:98:E7:AD:2F:38:68:57:46:E2:A6
a=setup:passive
a=mid:1
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=sendonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:98 H264/90000
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=ssrc:10113 cname:973fu9f982j79oz4
a=ssrc:10113 label:video-64wnef56
a=candidate:0 1 udp 2130706431 172.28.24.63 8000 typ host generation 0
"
[Log] RTCPeerConnection::setRemoteDescription(12B80F49BF111CF9) Setting remote description to:
v=0
o=SRS/5.0.213(Bee) 140160692492240 2 IN IP4 0.0.0.0
s=SRSPlaySession
t=0 0
a=ice-lite
a=group:BUNDLE 0 1
a=msid-semantic: WMS live/livestream
m=audio 9 UDP/TLS/RTP/SAVPF 111
c=IN IP4 0.0.0.0
a=ice-ufrag:398f6n17
a=ice-pwd:vd42214l08yvi8ar6ta48e36oa5150e0
a=fingerprint:sha-256 A5:6C:32:6E:98:B6:E0:3B:20:52:BE:97:1E:62:82:1F:B3:D6:E9:F8:98:D9:98:E7:AD:2F:38:68:57:46:E2:A6
a=setup:passive
a=mid:0
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=sendonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=ssrc:10112 cname:973fu9f982j79oz4
a=ssrc:10112 label:audio-632n6dmz
a=candidate:0 1 udp 2130706431 172.28.24.63 8000 typ host generation 0
m=video 9 UDP/TLS/RTP/SAVPF 98
c=IN IP4 0.0.0.0
a=ice-ufrag:398f6n17
a=ice-pwd:vd42214l08yvi8ar6ta48e36oa5150e0
a=fingerprint:sha-256 A5:6C:32:6E:98:B6:E0:3B:20:52:BE:97:1E:62:82:1F:B3:D6:E9:F8:98:D9:98:E7:AD:2F:38:68:57:46:E2:A6
a=setup:passive
a=mid:1
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=sendonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:98 H264/90000
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=ssrc:10113 cname:973fu9f982j79oz4
a=ssrc:10113 label:video-64wnef56
a=candidate:0 1 udp 2130706431 172.28.24.63 8000 typ host generation 0

[Log] MediaStream::MediaStream(D531366404DE51EC)
[Log] PeerConnectionBackend::setRemoteDescriptionSucceeded(12B80F49BF111CF9) Set remote description succeeded
[Info] RTCPeerConnection::dispatchEvent(12B80F49BF111CF9) dispatching 'iceconnectionstatechange'
[Info] RTCPeerConnection::dispatchEvent(12B80F49BF111CF9) dispatching 'connectionstatechange'
[Log] RTCPeerConnection::setSignalingState(12B80F49BF111CF9) stable
[Info] RTCPeerConnection::dispatchEvent(12B80F49BF111CF9) dispatching 'signalingstatechange'
[Log] MediaStream::addTrackFromPlatform(D531366404DE51EC) (B0F7A76880EA275D)
[Log] MediaStream::setIsActive(D531366404DE51EC) true
[Log] MediaStreamPrivate::addTrack(D531366404DE51EC) (B0F7A76880EA275D)
[Log] MediaStream::addTrackFromPlatform(D531366404DE51EC) (519599A5FAC36BEB)
[Log] MediaStreamPrivate::addTrack(D531366404DE51EC) (519599A5FAC36BEB)
[Info] RTCPeerConnection::dispatchEvent(12B80F49BF111CF9) dispatching 'track'
[Log] MediaStream::addTrack(BAE5486167731667) (B0F7A76880EA275D)
[Log] MediaStream::setIsActive(BAE5486167731667) true
[Log] MediaStreamPrivate::addTrack(BAE5486167731667) (B0F7A76880EA275D)
[Info] RTCPeerConnection::dispatchEvent(12B80F49BF111CF9) dispatching 'addstream'
[Log] RealtimeIncomingAudioSource::setMuted(B0F7A76880EA275D) false
[Log] RealtimeIncomingAudioSource::start(B0F7A76880EA275D)
[Log] MediaStreamTrackPrivate::sourceStarted(B0F7A76880EA275D)
[Log] MediaStreamPrivate::trackStarted(BAE5486167731667) (B0F7A76880EA275D)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] MediaStreamPrivate::trackStarted(D531366404DE51EC) (B0F7A76880EA275D)
[Log] MediaStreamTrack::trackStarted(B0F7A76880EA275D)
[Log] MediaStreamTrackPrivate::sourceMutedChanged(B0F7A76880EA275D)
[Log] MediaStreamPrivate::trackMutedChanged(BAE5486167731667) (B0F7A76880EA275D) false
[Log] MediaStreamPrivate::trackMutedChanged(D531366404DE51EC) (B0F7A76880EA275D) false
[Info] RTCPeerConnection::dispatchEvent(12B80F49BF111CF9) dispatching 'track'
[Log] MediaStream::addTrack(BAE5486167731667) (519599A5FAC36BEB)
[Log] MediaStreamPrivate::addTrack(BAE5486167731667) (519599A5FAC36BEB)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] MediaPlayerPrivateMediaStreamAVFObjC::checkSelectedVideoTrack(B8E8AE95898F724E) observing video source (519599A5FAC36BEB)
[Log] RealtimeIncomingVideoSource::setMuted(519599A5FAC36BEB) false
[Log] RealtimeIncomingVideoSource::start(519599A5FAC36BEB)
[Log] MediaStreamTrackPrivate::sourceStarted(519599A5FAC36BEB)
[Log] MediaStreamTrack::trackStarted(519599A5FAC36BEB)
[Log] MediaStreamPrivate::trackStarted(D531366404DE51EC) (519599A5FAC36BEB)
[Log] MediaStreamPrivate::trackStarted(BAE5486167731667) (519599A5FAC36BEB)
[Log] MediaStreamTrackPrivate::sourceMutedChanged(519599A5FAC36BEB)
[Log] MediaStreamPrivate::trackMutedChanged(D531366404DE51EC) (519599A5FAC36BEB) false
[Log] MediaStreamPrivate::trackMutedChanged(BAE5486167731667) (519599A5FAC36BEB) false
[Log] HTMLMediaElement::mediaPlayerTimeChanged(B8E8AE95898F724E)
[Info] HTMLMediaElement::scheduleUpdatePlayState(B8E8AE95898F724E) task scheduled
[Log] HTMLMediaElement::mediaPlayerCharacteristicChanged(B8E8AE95898F724E)
[Info] HTMLMediaElement::markCaptionAndSubtitleTracksAsUnconfigured(B8E8AE95898F724E)
[Log] HTMLMediaElement::scheduleConfigureTextTracks(B8E8AE95898F724E) task scheduled
[Info] HTMLMediaElement::updateMediaPlayer(B8E8AE95898F724E)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] HTMLMediaElement::mediaPlayerCharacteristicChanged(B8E8AE95898F724E)
[Info] HTMLMediaElement::updateMediaPlayer(B8E8AE95898F724E)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] MediaSessionManageriOS::maybeActivateAudioSession(0) active audio session not required
[Log] MediaSessionManageriOS::updateSessionState(0) types: AudioCapture(0), AudioTrack(0), Video(1), Audio(0), VideoAudio(0), WebAudio(0)
[Log] MediaSessionManageriOS::updateSessionState(0) setting category = None, mode = Default, policy = Default, previous category = None
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Log] MediaSessionManageriOS::updateNowPlayingInfo(0) title = "title", isPlaying = false, duration = NaN, now = 0, id = 13656, registered = false, src = "src"
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Log] HTMLMediaElement::mediaPlayerCharacteristicChanged(B8E8AE95898F724E)
[Info] HTMLMediaElement::updateMediaPlayer(B8E8AE95898F724E)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] HTMLMediaElement::mediaPlayerCharacteristicChanged(B8E8AE95898F724E)
[Info] HTMLMediaElement::updateMediaPlayer(B8E8AE95898F724E)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Log] MediaSessionManageriOS::updateNowPlayingInfo(0) title = "title", isPlaying = false, duration = NaN, now = 0, id = 13656, registered = true, src = "src"
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Log] MediaSessionManageriOS::updateNowPlayingInfo(0) title = "title", isPlaying = false, duration = NaN, now = 0, id = 13656, registered = true, src = "src"
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Log] HTMLMediaElement::mediaPlayerCharacteristicChanged(B8E8AE95898F724E)
[Info] HTMLMediaElement::updateMediaPlayer(B8E8AE95898F724E)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] HTMLMediaElement::mediaPlayerCharacteristicChanged(B8E8AE95898F724E)
[Info] HTMLMediaElement::updateMediaPlayer(B8E8AE95898F724E)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] HTMLMediaElement::mediaPlayerCharacteristicChanged(B8E8AE95898F724E)
[Info] HTMLMediaElement::updateMediaPlayer(B8E8AE95898F724E)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Log] MediaSessionManageriOS::sessionCanProduceAudioChanged(0)
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Log] MediaSessionManageriOS::updateNowPlayingInfo(0) title = "title", isPlaying = false, duration = NaN, now = 0, id = 13656, registered = true, src = "src"
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Log] MediaSessionManageriOS::updateNowPlayingInfo(0) title = "title", isPlaying = false, duration = NaN, now = 0, id = 13656, registered = true, src = "src"
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Info] MediaElementSession::canShowControlsManager(B8E8AE95898F724E) returning TRUE: no user gesture required
[Info] MediaElementSession::playbackStateChangePermitted(B8E8AE95898F724E) state = 0
[Log] MediaSessionManageriOS::maybeActivateAudioSession(0) active audio session not required
[Log] MediaSessionManageriOS::updateSessionState(0) types: AudioCapture(0), AudioTrack(0), Video(1), Audio(0), VideoAudio(0), WebAudio(0)

SRS receive play log:

2024-09-04 16:11:23 [2024-09-04 08:11:23.609][INFO][1][282ht3vl] <- CPB time=595058101, okbps=0,0,0, ikbps=0,1996,2013, mr=0/350, p1stpt=20000, pnt=5000
2024-09-04 16:11:23 [2024-09-04 08:11:23.939][INFO][1][5r971078] Hybrid cpu=3.00%,33MB, cid=1,7, timer=61,0,97, clock=0,45,2,0,0,0,0,0,0, objs=(pkt:530,raw:142,fua:385,msg:673,oth:1,buf:50)
2024-09-04 16:11:23 [2024-09-04 08:11:23.939][INFO][1][5r971078] RTC: Server conns=2, rpkts=(7,rtp:0,stun:1,rtcp:6), spkts=(302,rtp:301,stun:1,rtcp:0), rnk=(1,1,h:36,m:0), fid=(id:0,fid:7,ffid:0,addr:1,faddr:7)
2024-09-04 16:11:24 [2024-09-04 08:11:24.649][INFO][1][5867878d] Process: cpu=2.00%,33MB, threads=2
2024-09-04 16:11:26 [2024-09-04 08:11:26.493][INFO][1][0436258r] RTC: NACK ARQ seq=60632, ssrc=10107, ts=25777800, count=11223/11223, 1214 bytes
2024-09-04 16:11:27 [2024-09-04 08:11:27.708][INFO][1][9s779723] DTLS: After done, got 31 bytes
2024-09-04 16:11:27 [2024-09-04 08:11:27.708][INFO][1][9s779723] DTLS: State Passive RECV, done=1, arq=0, r0=31, len=31, cnt=21, size=18, hs=198
2024-09-04 16:11:27 [2024-09-04 08:11:27.708][WARN][1][9s779723][0] DTLS: SSL3 alert method=read type=warning, desc=CN(close notify), where=16388, ret=256, r1=0
2024-09-04 16:11:27 [2024-09-04 08:11:27.708][INFO][1][9s779723] RTC: session destroy by DTLS alert(warning CN), username=398f6n17:XTnV
2024-09-04 16:11:27 [2024-09-04 08:11:27.708][INFO][1][9s779723] RTC: before dispose resource(RtcConn)(0x7f79b44997d0), conns=2, zombies=0, ign=0, inz=0, ind=0
2024-09-04 16:11:27 [2024-09-04 08:11:27.708][INFO][1][9s779723] RTC: session detach from 9s779723, disposing=1
2024-09-04 16:11:27 [2024-09-04 08:11:27.708][INFO][1][93332076] RTC: clear zombies=1 resources, conns=2, removing=0, unsubs=1
2024-09-04 16:11:27 [2024-09-04 08:11:27.708][INFO][1][9s779723] RTC: disposing #0 resource(RtcConn)(0x7f79b44997d0), conns=2, disposing=1, zombies=0
2024-09-04 16:11:27 [2024-09-04 08:11:27.708][WARN][1][9s779723][4][DTLS_HANG] DTLS: Hang, done=0, version=-1, arq=0
2024-09-04 16:11:27 [2024-09-04 08:11:27.744][INFO][1][44ys70wx] HTTP #0 172.17.0.1:53536 OPTIONS http://172.28.24.63:1985/rtc/v1/whep/?app=live&stream=livestream, content-length=0
2024-09-04 16:11:27 [2024-09-04 08:11:27.748][INFO][1][44ys70wx] TCP: before dispose resource(HttpConn)(0x7f79b43a3fd0), conns=2, zombies=0, ign=0, inz=0, ind=0
2024-09-04 16:11:27 [2024-09-04 08:11:27.748][WARN][1][44ys70wx][104] client disconnect peer. ret=1007
2024-09-04 16:11:27 [2024-09-04 08:11:27.748][INFO][1][d4q5eogx] TCP: clear zombies=1 resources, conns=2, removing=0, unsubs=0
2024-09-04 16:11:27 [2024-09-04 08:11:27.748][INFO][1][44ys70wx] TCP: disposing #0 resource(HttpConn)(0x7f79b43a3fd0), conns=2, disposing=1, zombies=0
2024-09-04 16:11:27 [2024-09-04 08:11:27.755][INFO][1][fy36s997] HTTP #0 172.17.0.1:53540 POST http://172.28.24.63:1985/rtc/v1/whep/?app=live&stream=livestream, content-length=4021
2024-09-04 16:11:27 [2024-09-04 08:11:27.755][INFO][1][fy36s997] RTC whip play /live/livestream, clientip=172.17.0.1, app=live, stream=livestream, offer=4021B, eip=, codec=, srtp=, dtls=, ufrag=, pwd=, param=app=live&stream=livestream
2024-09-04 16:11:27 [2024-09-04 08:11:27.755][INFO][1][fy36s997] ignore attribute=, value=
2024-09-04 16:11:27 [2024-09-04 08:11:27.755][INFO][1][fy36s997] RTC player nack=1, nnc=1
2024-09-04 16:11:27 [2024-09-04 08:11:27.755][INFO][1][fy36s997] RTC connection player gcc=3
2024-09-04 16:11:27 [2024-09-04 08:11:27.755][INFO][1][fy36s997] RTC: Init tracks {track: video-64wnef56, is_active: 0=>1},{track: audio-632n6dmz, is_active: 0=>1}, ok
2024-09-04 16:11:27 [2024-09-04 08:11:27.755][INFO][1][fy36s997] RTC: Use candidates 172.28.24.63, protocol=udp
2024-09-04 16:11:27 [2024-09-04 08:11:27.755][INFO][1][fy36s997] RTC init session, user=0qq23167:iky1, url=/live/livestream, encrypt=1/1, DTLS(role=passive, version=auto), timeout=30000ms, nack=1
2024-09-04 16:11:27 [2024-09-04 08:11:27.755][INFO][1][fy36s997] RTC username=0qq23167:iky1, dtls=1, srtp=1, offer=4021B, answer=1526B
2024-09-04 16:11:27 [2024-09-04 08:11:27.755][INFO][1][fy36s997] RTC remote offer: v=0\r\no=- 2595374959389166444 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 9 0 8 13 110 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:iky1\r\na=ice-pwd:KhSxlGTghLVnRz63RivqhUwO\r\na=ice-options:trickle\r\na=fingerprint:sha-256 E5:81:C4:06:B0:50:0C:AF:28:31:20:B7:E9:AF:E9:34:7A:30:5E:A5:48:F1:69:C4:52:C8:68:4C:29:20:DC:86\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=recvonly\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:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:126 telephone-event/8000\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 103 104 105 106 107 108 109 127 125 112 35\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:iky1\r\na=ice-pwd:KhSxlGTghLVnRz63RivqhUwO\r\na=ice-options:trickle\r\na=fingerprint:sha-256 E5:81:C4:06:B0:50:0C:AF:28:31:20:B7:E9:AF:E9:34:7A:30:5E:A5:48:F1:69:C4:52:C8:68:4C:29:20:DC:86\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=recvonly\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:103 rtx/90000\r\na=fmtp:103 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:105 rtx/90000\r\na=fmtp:105 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 VP9/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 profile-id=2\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:127 red/90000\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=127\r\na=rtpmap:112 ulpfec/90000\r\na=rtpmap:35 flexfec-03/90000\r\na=rtcp-fb:35 goog-remb\r\na=rtcp-fb:35 transport-cc\r\na=fmtp:35 repair-window=10000000\r\n
2024-09-04 16:11:27 [2024-09-04 08:11:27.755][INFO][1][fy36s997] RTC local answer: v=0\r\no=SRS/5.0.213(Bee) 140160692492240 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/livestream\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:0qq23167\r\na=ice-pwd:03nmc61t4gxt2894q69gde3873r347n4\r\na=fingerprint:sha-256 A5:6C:32:6E:98:B6:E0:3B:20:52:BE:97:1E:62:82:1F:B3:D6:E9:F8:98:D9:98:E7:AD:2F:38:68:57:46:E2:A6\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=sendonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=ssrc:10114 cname:s5of650l7n5a1z61\r\na=ssrc:10114 label:audio-632n6dmz\r\na=candidate:0 1 udp 2130706431 172.28.24.63 8000 typ host generation 0\r\nm=video 9 UDP/TLS/RTP/SAVPF 98\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:0qq23167\r\na=ice-pwd:03nmc61t4gxt2894q69gde3873r347n4\r\na=fingerprint:sha-256 A5:6C:32:6E:98:B6:E0:3B:20:52:BE:97:1E:62:82:1F:B3:D6:E9:F8:98:D9:98:E7:AD:2F:38:68:57:46:E2:A6\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=sendonly\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=ssrc:10115 cname:s5of650l7n5a1z61\r\na=ssrc:10115 label:video-64wnef56\r\na=candidate:0 1 udp 2130706431 172.28.24.63 8000 typ host generation 0\r\n
2024-09-04 16:11:27 [2024-09-04 08:11:27.760][INFO][1][fy36s997] TCP: before dispose resource(HttpConn)(0x7f79b44cdae0), conns=2, zombies=0, ign=0, inz=0, ind=0
2024-09-04 16:11:27 [2024-09-04 08:11:27.760][WARN][1][fy36s997][104] client disconnect peer. ret=1007
2024-09-04 16:11:27 [2024-09-04 08:11:27.760][INFO][1][d4q5eogx] TCP: clear zombies=1 resources, conns=2, removing=0, unsubs=0
2024-09-04 16:11:27 [2024-09-04 08:11:27.760][INFO][1][fy36s997] TCP: disposing #0 resource(HttpConn)(0x7f79b44cdae0), conns=2, disposing=1, zombies=0
2024-09-04 16:11:27 [2024-09-04 08:11:27.764][INFO][1][fy36s997] RTC: session address init 172.17.0.1:43519
2024-09-04 16:11:27 [2024-09-04 08:11:27.764][INFO][1][fy36s997] RTC: session STUN done, waiting DTLS handshake.
2024-09-04 16:11:27 [2024-09-04 08:11:27.764][INFO][1][f198bz34] <- RTC RECV #12, udp 76, pps 2/7, schedule 76
2024-09-04 16:11:27 [2024-09-04 08:11:27.770][INFO][1][fy36s997] DTLS: State Passive RECV, done=0, arq=0, r0=157, len=157, cnt=22, size=144, hs=1
2024-09-04 16:11:27 [2024-09-04 08:11:27.770][INFO][1][fy36s997] DTLS: State Passive SEND, done=0, arq=0, r0=0, len=679, cnt=22, size=82, hs=2
2024-09-04 16:11:27 [2024-09-04 08:11:27.774][INFO][1][fy36s997] DTLS: State Passive RECV, done=0, arq=0, r0=570, len=570, cnt=22, size=298, hs=11
2024-09-04 16:11:27 [2024-09-04 08:11:27.775][INFO][1][fy36s997] DTLS: State Passive SEND, done=0, arq=0, r0=0, len=546, cnt=22, size=466, hs=4
2024-09-04 16:11:27 [2024-09-04 08:11:27.775][INFO][1][fy36s997] RTC: DTLS handshake done.
2024-09-04 16:11:27 [2024-09-04 08:11:27.775][INFO][1][fy36s997] RTC: session pub=0, sub=1, to=30000ms connection established
2024-09-04 16:11:27 [2024-09-04 08:11:27.775][INFO][1][fy36s997] RTC: Subscriber url=/live/livestream established
2024-09-04 16:11:27 [2024-09-04 08:11:27.775][INFO][1][fy36s997] create consumer, no gop cache
2024-09-04 16:11:27 [2024-09-04 08:11:27.775][INFO][1][fy36s997] RTC: start play url=/live/livestream, source_id=/, realtime=1, mw_msgs=0
2024-09-04 16:11:27 [2024-09-04 08:11:27.921][INFO][1][fy36s997] RTC: session address change 172.17.0.1:43519 -> 172.17.0.1:58971, cached=0, nn_change=1/1, nn_address=1
2024-09-04 16:11:28 [2024-09-04 08:11:28.940][INFO][1][5r971078] Hybrid cpu=3.00%,33MB, cid=7,10, timer=62,0,97, clock=0,45,3,0,0,0,0,0,0, free=1, objs=(pkt:530,raw:143,fua:385,msg:673,oth:1,buf:51)
2024-09-04 16:11:28 [2024-09-04 08:11:28.940][INFO][1][5r971078] RTC: Server conns=2, rpkts=(8,rtp:0,stun:1,rtcp:6), spkts=(303,rtp:302,stun:1,rtcp:0), rnk=(1,1,h:36,m:0), fid=(id:1,fid:8,ffid:0,addr:1,faddr:8)
2024-09-04 16:11:28 [2024-09-04 08:11:28.992][INFO][1][fy36s997] RTC: session address change 172.17.0.1:58971 -> 172.17.0.1:43519, cached=1, nn_change=2/1, nn_address=2
2024-09-04 16:11:29 [2024-09-04 08:11:29.654][INFO][1][5867878d] Process: cpu=3.00%,33MB, threads=2
2024-09-04 16:11:33 [2024-09-04 08:11:33.610][INFO][1][282ht3vl] <- CPB time=605060135, okbps=0,0,0, ikbps=0,2015,2013, mr=0/350, p1stpt=20000, pnt=5000
2024-09-04 16:11:33 [2024-09-04 08:11:33.940][INFO][1][5r971078] Hybrid cpu=3.00%,33MB, cid=7,10, timer=62,0,97, clock=0,45,3,0,0,0,0,0,0, free=1, objs=(pkt:530,raw:143,fua:385,msg:673,oth:1,buf:51)
2024-09-04 16:11:33 [2024-09-04 08:11:33.940][INFO][1][5r971078] RTC: Server conns=2, rpkts=(8,rtp:0,stun:1,rtcp:6), spkts=(303,rtp:302,stun:1,rtcp:0), rnk=(1,1,h:36,m:0), fid=(id:1,fid:8,ffid:0,addr:1,faddr:8)
2024-09-04 16:11:34 [2024-09-04 08:11:34.659][INFO][1][5867878d] Process: cpu=3.00%,33MB, threads=2
2024-09-04 16:11:36 [2024-09-04 08:11:36.702][INFO][1][0436258r] RTC: NACK ARQ seq=62821, ssrc=10107, ts=26695710, count=11586/11586, 1214 bytes
2024-09-04 16:11:37 [2024-09-04 08:11:37.947][INFO][1][f198bz34] <- RTC RECV #12, udp 84, pps 2/8, schedule 84
2024-09-04 16:11:38 [2024-09-04 08:11:38.941][INFO][1][5r971078] Hybrid cpu=3.00%,33MB, cid=7,10, timer=62,0,97, clock=0,45,3,0,0,0,0,0,0, free=1, objs=(pkt:530,raw:143,fua:385,msg:673,oth:1,buf:51)
2024-09-04 16:11:38 [2024-09-04 08:11:38.941][INFO][1][5r971078] RTC: Server conns=2, rpkts=(8,rtp:0,stun:1,rtcp:6), spkts=(303,rtp:302,stun:1,rtcp:0), rnk=(1,1,h:36,m:0), fid=(id:1,fid:8,ffid:0,addr:1,faddr:8)
2024-09-04 16:11:39 [2024-09-04 08:11:39.665][INFO][1][5867878d] Process: cpu=2.00%,33MB, threads=2
2024-09-04 16:11:43 [2024-09-04 08:11:43.941][INFO][1][5r971078] Hybrid cpu=3.00%,33MB, cid=1,7, timer=62,0,97, clock=0,43,5,0,0,0,0,0,0, objs=(pkt:531,raw:143,fua:386,msg:673,oth:2,buf:51)
2024-09-04 16:11:43 [2024-09-04 08:11:43.941][INFO][1][5r971078] RTC: Server conns=2, rpkts=(7,rtp:0,stun:1,rtcp:6), spkts=(300,rtp:300,stun:1,rtcp:0), rnk=(1,1,h:34,m:0), fid=(id:0,fid:7,ffid:0,addr:1,faddr:7)
2024-09-04 16:11:44 [2024-09-04 08:11:44.671][INFO][1][5867878d] Process: cpu=2.00%,33MB, threads=2

TRANS_BY_GPT4

@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Sep 4, 2024
@suzp1984
Copy link
Contributor

can not reproduce this issue on my iphone 11 (ios 18.1).

Env

iphone 11
ios 18.1
browser: chrome (131.0.6778.31, latest version) & safari.
Network: srs and ios in same local network (192.168..).

According to your logs:

2024-09-04 16:11:27 [2024-09-04 08:11:27.708][WARN][1][9s779723][0] DTLS: SSL3 alert method=read type=warning, desc=CN(close notify), where=16388, ret=256, r1=0
2024-09-04 16:11:27 [2024-09-04 08:11:27.708][INFO][1][9s779723] RTC: session destroy by DTLS alert(warning CN), username=398f6n17:XTnV

The DTLS alert warning to trigger RTC session to close is a common error, usually triggered by frequently RTC play and close.

But can't reproduce your case: iOS can't play RTC stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TransByAI Translated by AI/GPT.
Projects
None yet
Development

No branches or pull requests

3 participants