Мне нужна информация о видео потоке при публицаии потока (валидация качества), но иногда выходит такая ситуация что при информировании о публикации отсутствуют данные о видео потоке. На какой ивент можно полагаться, если такой метод дает сбой.
Code:
URL:http://someservice.com:2912/v1/flashphoner/StreamStatusEvent
OBJECT: {
"nodeId" : "irO1BptHCon3uTTyNRDkqXBVuqvkktzU@5.5.5.6",
"appKey" : "someApp",
"sessionId" : "/5.5.5.5:64042/5.5.5.6:8443-59b0bb66-a893-4005-a326-65411db378ad",
"mediaSessionId" : "da446ec0-11db-11eb-858a-71fcd2e936c2",
"name" : "4268e7302097c0bb3cdd3ec37139be01",
"published" : true,
"hasVideo" : true,
"hasAudio" : true,
"status" : "PUBLISHING",
"sdp" : "v=0\r\no=- 8587999016537288712 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS qbDqE9ta6t8Q8trFh0FCbpmRSEJzGwH1maFj\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 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:hYnT\r\na=ice-pwd:eV1ESx/VibDfNDb2JxDKrnG8\r\na=ice-options:trickle\r\na=fingerprint:sha-256 92:46:66:97:9B:1E:1E:CE:36:C7:6C:2B:88:91:31:2D:9A:BF:BB:04:06:20:CA:95:7A:23:D0:43:92:F2:9E:19\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:qbDqE9ta6t8Q8trFh0FCbpmRSEJzGwH1maFj 4add3776-d063-4b1c-ad73-80b9415df215\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: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:300010847 cname:NKxdNxrh6exs8hZH\r\na=ssrc:300010847 msid:qbDqE9ta6t8Q8trFh0FCbpmRSEJzGwH1maFj 4add3776-d063-4b1c-ad73-80b9415df215\r\na=ssrc:300010847 mslabel:qbDqE9ta6t8Q8trFh0FCbpmRSEJzGwH1maFj\r\na=ssrc:300010847 label:4add3776-d063-4b1c-ad73-80b9415df215\r\nm=video 9 UDP/TLS/RTP/SAVPF 97 99 101 102 121 127 120 125 107 108 109 124 119 123 118 114 115 116\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:hYnT\r\na=ice-pwd:eV1ESx/VibDfNDb2JxDKrnG8\r\na=ice-options:trickle\r\na=fingerprint:sha-256 92:46:66:97:9B:1E:1E:CE:36:C7:6C:2B:88:91:31:2D:9A:BF:BB:04:06:20:CA:95:7A:23:D0:43:92:F2:9E:19\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:qbDqE9ta6t8Q8trFh0FCbpmRSEJzGwH1maFj 42140dbd-37c0-40e9-923f-c728ecb8a1e0\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\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=1;profile-level-id=42001f\r\na=rtpmap:121 rtx/90000\r\na=fmtp:121 apt=102\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=0;profile-level-id=42001f\r\na=rtpmap:120 rtx/90000\r\na=fmtp:120 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=1;profile-level-id=42e01f\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=0;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=1;profile-level-id=4d001f\r\na=rtpmap:119 rtx/90000\r\na=fmtp:119 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=64001f\r\na=rtpmap:118 rtx/90000\r\na=fmtp:118 apt=123\r\na=rtpmap:114 red/90000\r\na=rtpmap:115 rtx/90000\r\na=fmtp:115 apt=114\r\na=rtpmap:116 ulpfec/90000\r\na=ssrc-group:FID 1805593137 3657059575\r\na=ssrc:1805593137 cname:NKxdNxrh6exs8hZH\r\na=ssrc:1805593137 msid:qbDqE9ta6t8Q8trFh0FCbpmRSEJzGwH1maFj 42140dbd-37c0-40e9-923f-c728ecb8a1e0\r\na=ssrc:1805593137 mslabel:qbDqE9ta6t8Q8trFh0FCbpmRSEJzGwH1maFj\r\na=ssrc:1805593137 label:42140dbd-37c0-40e9-923f-c728ecb8a1e0\r\na=ssrc:3657059575 cname:NKxdNxrh6exs8hZH\r\na=ssrc:3657059575 msid:qbDqE9ta6t8Q8trFh0FCbpmRSEJzGwH1maFj 42140dbd-37c0-40e9-923f-c728ecb8a1e0\r\na=ssrc:3657059575 mslabel:qbDqE9ta6t8Q8trFh0FCbpmRSEJzGwH1maFj\r\na=ssrc:3657059575 label:42140dbd-37c0-40e9-923f-c728ecb8a1e0\r\n",
"audioCodec" : "opus",
"videoCodec" : "H264",
"record" : false,
"width" : 0,
"height" : 0,
"bitrate" : 0,
"minBitrate" : 0,
"maxBitrate" : 0,
"quality" : 0,
"history" : false,
"gop" : 0,
"fps" : 0,
"audioBitrate" : 0,
"codecImpl" : "",
"transport" : "UDP",
"cvoExtension" : false,
"createDate" : 1603092153275,
"mediaProvider" : "WebRTC",
"origin" : "https://someorigin.com",
"constraints" : {
"audio" : {
"deviceId" : "default"
},
"video" : {
"deviceId" : "abeba38c43d7734de78eb56a935e41e3696fefee4f2d8f288999d8a1bdfe0d14"
}
}
}