Invalid SDP sent by browser

Issues when playing with WebRTC Player

Invalid SDP sent by browser

Postby kpgchd » Thu Apr 25, 2019 11:45 pm

Hi Admin

started getting "Invalid SDP sent by browser" error after Chrome update 74, its was working fine until version 73.
Do you have any idea? Please help
kpgchd
 
Posts: 0
Joined: Mon Nov 05, 2018 2:39 am

Re: Invalid SDP sent by browser

Postby kpgchd » Fri Apr 26, 2019 4:21 am

Hi

your following fix worked... Thanks !

//Fix for some browsers and/or adapter incorrect behavior
desc.sdp = desc.sdp.replace("a=sendrecv", "a=recvonly");
desc.sdp = desc.sdp.replace("a=sendrecv", "a=recvonly");
kpgchd
 
Posts: 0
Joined: Mon Nov 05, 2018 2:39 am

Re: Invalid SDP sent by browser

Postby admin » Fri Apr 26, 2019 11:15 am

admin
Site Admin
 
Posts: 1030
Joined: Fri Aug 21, 2009 10:13 am


Return to Playing with WebRTC Player

Who is online

Users browsing this forum: No registered users and 1 guest

cron