jjzjj

setRemoteDescription

全部标签

ios - iOS 上的 webRTC : Can't send SDP answer, RTCPeerConnection.setRemoteDescription() 失败

我正在使用随cocoapods安装的libjingle_peerconnection。当我通过调用者的信令服务器收到SDP报价时,我试图将其设置为远程描述,这会触发RTCSessionDescriptionDelegatepeerConnection:didSetSessionDescriptionWithError:有错误:ErrorDomain=RTCSDPErrorCode=-1"(null)"UserInfo={error=Failedtosetremoteanswersdp:Calledinwrongstate:STATE_INIT}。我的代码是:-(void)transpo

flutter - 无法 RTCPeerConnection::setRemoteDescription:无法设置远程提供 sdp:无法设置远程视频描述发送参数

当我从janus-gateway获取sdp并尝试将其设置为远程描述时,我使用webrtcflutter插件在我的androidwebrtc应用程序上不断收到此错误。我试过调整sdp,因为我认为它无法解析字符串,但它没有用。v=0o=-15603969301819381INIP4"ip"s=Mountpoint99t=00a=group:BUNDLEvideoa=msid-semantic:WMSjanusm=video9UDP/TLS/RTP/SAVPF96c=INIP4"ip"a=sendonlyda=mid:videoa=rtcp-muxa=ice-ufrag:fg6Wa=ice-