ios - 原生IOS设置远程视频描述发送参数失败
<p><p>这里是 sdpOffer:</p>
<blockquote>
<p>offer</p>
<p>v=0</p>
<p>o=- 1514366952141741 1 IN IP4 <em>hostx</em></p>
<p>s=Mountpoint 99</p>
<p>t=0 0</p>
<p>a=group:BUNDLE video</p>
<p>a=msid-semantic: WMS janus</p>
<p>m=video 9 UDP/TLS/RTP/SAVPF 96</p>
<p>c=IN IP4 <em>hostx</em></p>
<p>a=sendonly</p>
<p>a=mid:video</p>
<p>a=rtcp-mux</p>
<p>a=ice-ufrag:7joH</p>
<p>a=ice-pwd:bdRP/kVha/3vSoGEvstOxK</p>
<p>a=ice-options:trickle</p>
<p>a=fingerprint:sha-256 D2:B9:31:8F:DF:24:D8:0E:ED:D2:EF:25:9E:AF:6F:B8:34:AE:53:9C:E6:F3:8F:F2:64:15:FA:E8:7F:53:2D:38</p>
<p>a=setup:actpass</p>
<p>a=rtpmap:96 H264/90000</p>
<p>a=fmtp:96 profile-level-id=420029; packetization-mode=1; sprop-parameter-sets=Z00AH5Y1QWgUNNwEBAQI,aO48gA==</p>
<p>a=rtcp-fb:96 nack</p>
<p>a=rtcp-fb:96 goog-remb</p>
<p>a=ssrc:2233529852 cname:janusvideo</p>
<p>a=ssrc:2233529852 msid:janus janusv0</p>
<p>a=ssrc:2233529852 mslabel:janus</p>
<p>a=ssrc:2233529852 label:janusv0</p>
<p>a=candidate:1 1 udp 2013266431 <em>host</em> 42772 typ host</p>
<p>a=candidate:2 1 udp 2013266431 <em>hostx</em> 54166 typ host</p>
<p>a=candidate:1 2 udp 2013266430 <em>host</em> 54469 typ host</p>
<p>a=candidate:2 2 udp 2013266430 <em>hostx</em> 49119 typ host</p>
<p>a=end-of-candidates</p>
</blockquote>
<p>在原生 IOS 上调用 setRemoteDescription 时出现以下错误。</p>
<blockquote>
<p>Failed to set remote video description send parameters</p>
</blockquote>
<p>请帮忙!</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>问题出在这一行:</p>
<blockquote>
<p>profile-level-id <strong>420029</strong></p>
</blockquote>
<p>我的解决方案是简单地将“420029”替换为“42e01f”,然后一切正常。这种情况似乎与 RFC 6184 8.2.2 有关。您可以访问<a href="https://groups.google.com/forum/m/#!topic/meetecho-janus/jKg5u9421kM" rel="noreferrer noopener nofollow">here</a>了解更多详情。</p></p>
<p style="font-size: 20px;">关于ios - 原生IOS设置远程视频描述发送参数失败,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/47990094/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/47990094/
</a>
</p>
页:
[1]