iOS Swift - WebRTC Video connection is not working
376 views
Skip to first unread message
Sudha Sandhiya
unread,
Feb 4, 2020, 6:28:12 AM2/4/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to discuss-webrtc
Am trying to test webrtc in iphone devices. I have created peer connection and offer is generated in one application. In the another application Answer SDP is not created for received Offer SDP and the error "Failed to set remote offer sdp: Failed to set remote video description send parameters." is throwing.
I am using SwiftUI to render the video . Kindly provide your suggestion for this.
Following are the constraints used while creating Video's Peer connection
fileprivate let videoCallConstraint = RTCMediaConstraints(mandatoryConstraints: ["OfferToReceiveAudio" : "true", "OfferToReceiveVideo": "true"],
fileprivate let defaultConnectionConstraint = RTCMediaConstraints(mandatoryConstraints: nil, optionalConstraints: ["DtlsSrtpKeyAgreement": "true"])