iOS端报错:Failed to set remote video description send parameters


#1
这段代码是 sdpOffer
offer

v=0

o=- 1514366952141741 1 IN IP4  *hostx*

s=Mountpoint 99

t=0 0

a=group:BUNDLE video

a=msid-semantic: WMS janus

m=video 9 UDP/TLS/RTP/SAVPF 96

c=IN IP4  *hostx*

a=sendonly

a=mid:video

a=rtcp-mux

a=ice-ufrag:7joH

a=ice-pwd:bdRP/kVha/3vSoGEvstOxK

a=ice-options:trickle

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

a=setup:actpass

a=rtpmap:96 H264/90000

a=fmtp:96 profile-level-id=420029; packetization-mode=1; sprop-parameter-sets=Z00AH5Y1QWgUNNwEBAQI,aO48gA==

a=rtcp-fb:96 nack

a=rtcp-fb:96 goog-remb

a=ssrc:2233529852 cname:janusvideo

a=ssrc:2233529852 msid:janus janusv0

a=ssrc:2233529852 mslabel:janus

a=ssrc:2233529852 label:janusv0

a=candidate:1 1 udp 2013266431  *host*  42772 typ host

a=candidate:2 1 udp 2013266431  *hostx*  54166 typ host

a=candidate:1 2 udp 2013266430  *host*  54469 typ host

a=candidate:2 2 udp 2013266430  *hostx*  49119 typ host

a=end-of-candidates

iOS 上 setRemoteDescription,然后报错

Failed to set remote video description send parameters

怎么搞?求助


#2

应该是这行出了问题

profile-level-id 420029

把420029替换成42e01f试试


#3

搞定,Thanks