webrtc icon indicating copy to clipboard operation
webrtc copied to clipboard

SPD parser fails with SdpInvalidValue("TIAS") error

Open volodg opened this issue 2 years ago • 0 comments

When RTCSessionDescription::answer method called With given SDP: "v=0 o=- 7278326677029790277 948520000 IN IP4 0.0.0.0 s=- t=0 0 a=fingerprint:sha-256 8E:2B:90:AA:25:9A:A1:D8:60:3F:0B:15:C2:34:0E:84:3C:64:0F:00:45:5B:D2:F2:92:16:0A:7E:5B:D9:57:C6 a=group:BUNDLE 0 1 m=audio 9 UDP/TLS/RTP/SAVPF 111 9 0 8 c=IN IP4 0.0.0.0 a=setup:actpass a=mid:0 a=ice-ufrag:fdANdKWblpLMoYCf a=ice-pwd:lhZvMOMrLYYkuKGjCMBtpXEAMPnEaNXR a=rtcp-mux a=rtcp-rsize a=rtpmap:111 opus/48000/2 a=fmtp:111 minptime=10;useinbandfec=1 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=ssrc:1143735881 cname:webrtc-rs a=ssrc:1143735881 msid:webrtc-rs track-audio a=ssrc:1143735881 mslabel:webrtc-rs a=ssrc:1143735881 label:track-audio a=msid:webrtc-rs track-audio a=sendrecv m=video 9 UDP/TLS/RTP/SAVPF 96 98 100 102 127 125 108 123 116 a=fmtp:123 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640032;x-google-start-bitrate=415;x-google-max-bitrate=830;x-google-min-bitrate=30 a=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f;x-google-start-bitrate=415;x-google-max-bitrate=830;x-google-min-bitrate=30 a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f;x-google-start-bitrate=415;x-google-max-bitrate=830;x-google-min-bitrate=30 a=fmtp:127 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f;x-google-start-bitrate=415;x-google-max-bitrate=830;x-google-min-bitrate=30 a=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f;x-google-start-bitrate=415;x-google-max-bitrate=830;x-google-min-bitrate=30 a=fmtp:100 profile-id=1;x-google-start-bitrate=415;x-google-max-bitrate=830;x-google-min-bitrate=30 a=fmtp:98 profile-id=0;x-google-start-bitrate=415;x-google-max-bitrate=830;x-google-min-bitrate=30 a=fmtp:96 x-google-start-bitrate=415;x-google-max-bitrate=830;x-google-min-bitrate=30 b=TIAS:830000 b=AS:830 a=x-leaky-bucket c=IN IP4 0.0.0.0 a=setup:actpass a=mid:1 a=ice-ufrag:fdANdKWblpLMoYCf a=ice-pwd:lhZvMOMrLYYkuKGjCMBtpXEAMPnEaNXR a=rtcp-mux a=rtcp-rsize a=rtpmap:96 VP8/90000 a=rtcp-fb:96 goog-remb a=rtcp-fb:96 ccm fir a=rtcp-fb:96 nack a=rtcp-fb:96 nack pli a=rtpmap:98 VP9/90000 a=rtcp-fb:98 goog-remb a=rtcp-fb:98 ccm fir a=rtcp-fb:98 nack a=rtcp-fb:98 nack pli a=rtpmap:100 VP9/90000 a=rtcp-fb:100 goog-remb a=rtcp-fb:100 ccm fir a=rtcp-fb:100 nack a=rtcp-fb:100 nack pli a=rtpmap:102 H264/90000 a=rtcp-fb:102 goog-remb a=rtcp-fb:102 ccm fir a=rtcp-fb:102 nack a=rtcp-fb:102 nack pli a=rtpmap:127 H264/90000 a=rtcp-fb:127 goog-remb a=rtcp-fb:127 ccm fir a=rtcp-fb:127 nack a=rtcp-fb:127 nack pli a=rtpmap:125 H264/90000 a=rtcp-fb:125 goog-remb a=rtcp-fb:125 ccm fir a=rtcp-fb:125 nack a=rtcp-fb:125 nack pli a=rtpmap:108 H264/90000 a=rtcp-fb:108 goog-remb a=rtcp-fb:108 ccm fir a=rtcp-fb:108 nack a=rtcp-fb:108 nack pli a=rtpmap:123 H264/90000 a=rtcp-fb:123 goog-remb a=rtcp-fb:123 ccm fir a=rtcp-fb:123 nack a=rtcp-fb:123 nack pli a=rtpmap:116 ulpfec/90000 a=ssrc:829732797 cname:webrtc-rs a=ssrc:829732797 msid:webrtc-rs track-video a=ssrc:829732797 mslabel:webrtc-rs a=ssrc:829732797 label:track-video a=msid:webrtc-rs track-video a=sendrecv " Then error returned: SdpInvalidValue("TIAS")

volodg avatar Mar 31 '23 19:03 volodg