setRemoteDescription - Failed to parse audio codecs correctly.

1,199 views
Skip to first unread message

Ramasundar Kandasamy

unread,
May 31, 2013, 4:49:20 PM5/31/13
to discuss...@googlegroups.com
Hi,

On setting the remote sdp with the sdp given below, i am getting " Failed to parse SessionDescription. a=ssrc:2929509848 mslabel:0i6fakBZbBElbYAf3sUvVaCDqeX07Od2O3j6 Failed to parse audio codecs correctly."

Did anyone have experience with similar errors?

Thanks
Ram

v=0
o=mrelay 844756756 2 IN IP4 10.87.70.28
s=
t=0 0
a=group:BUNDLE audio video
m=audio 9128 RTP/SAVPF 8 126
c=IN IP4 10.87.70.28
a=candidate:1 1 UDP 1 10.87.70.28 9128 typ host
a=candidate:1 2 UDP 1 10.87.70.28 9129 typ host
a=crypto:0 AES_CM_128_HMAC_SHA1_32 inline:Fq6Q5sF+T4kvuqQCn5WkfuVJ1bLOeGM5eI23/Iog
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:DsklylqhkldC76z0vdO85aB7zHZbFYoSCJ2WA/VW
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=fmtp:111 minptime=10
a=fmtp:126 0-15
a=ice-options:google-ice
a=ice-pwd:mysecret
a=ice-ufrag:root
a=maxptime:60
a=mid:audio
a=rtcp:9129 IN IP4 10.87.70.28
a=rtcp-mux
a=rtpmap:126 telephone-event/8000
a=rtpmap:8 PCMA/8000
a=ssrc:2929509848 cname:YksnZwQdgOxUQaxh
a=ssrc:2929509848 label:0i6fakBZbBElbYAf3sUvVaCDqeX07Od2O3j6a0
a=ssrc:2929509848 mslabel:0i6fakBZbBElbYAf3sUvVaCDqeX07Od2O3j6



Adam Fineberg

unread,
May 31, 2013, 5:06:12 PM5/31/13
to discuss...@googlegroups.com
You don't appear to have a codec specified
--
 
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
Regards,
Adam

Mamadou

unread,
May 31, 2013, 6:54:21 PM5/31/13
to discuss-webrtc
You're probably trying a hack the SDP and making it invalid.
A codec with payload type equal to 111 is removed from the audio line
but you forgot to remove all the fmtps:
> a=fmtp:111 minptime=10
Remove this line

On May 31, 10:49 pm, Ramasundar Kandasamy <kramasun...@yahoo.com>
wrote:

Suji Thang

unread,
Jun 6, 2014, 7:44:52 PM6/6/14
to discuss...@googlegroups.com
Hi 
 I'm getting similar error on parsing audio codec. The set up is Our client on Chrome(M35) <--> Our server with SIP statck <--> Doubango <--> SipML5(Chrome M35). I've attached the SDP offer from our client and the SDP answer we got from SipML5. When we try to parse the answer, we get "Error setting SDP"Failed to parse SessionDescription. Failed to parse audio codecs correctly." . Can you please let me know which part of SDP answer from SIPML5 is causing the error? 
    The config file on doubango - enable-media-coder is no, in Expert mode.htm, RTCWebBreaker is not enabled since both endpoints are WebRTC aware. 

Thanks
Suji
ChromeClient-SDP-Offer.txt
SipML5OnChrome-SDP-Answer.txt
Reply all
Reply to author
Forward
0 new messages