Open MuneebAhmed568 opened 4 months ago
Nevermind Solved it myself, Just needed to add offerOptions.iceRestart : true. This option is not available by default so I have to manually add it
export interface SessionDescriptionHandlerOptions {
constraints?: object;
offerOptions?: RTCOfferOptions; // added this manually
}
sessionDescriptionHandlerOptions: {
constraints: {
audio: true,
video: true
},
offerOptions : {
iceRestart : true
}
},
Rest of code is same as above mentioned in question
Hey, I hope you are doing good.
I am trying to Convert an already Established Audio call to Video Call but getting error on Ice-Candicate I am using SIPJS : 0.21.2
Error
I can't identify why it's not working. I also tried Simple Audio Call , Audio and Video call and even screen share they are working Just fine, error occurs when I try to update SDP.
CODE