Hi, The H264 codec (97,98) has different packetization mode and G7221(102,103) has different bit rates which is valid to send in SDP.
If the media server supports pack mode 1, then as per the preference(of media server) it should include the h264 codec atrributes. Thanks, Gaurav ________________________________________ From: [email protected] [[email protected]] on behalf of Tarun2 Gupta [[email protected]] Sent: Thursday, April 11, 2013 12:25 PM To: Sip-implementors Subject: [Sip-implementors] Same encoding name and clock rate for 2 dynamic payloads in offer Hi All We are facing an interop issue wherein an end point is sending the following SDP to a B2BUA (acting as a media server): ================ m=audio 2358 RTP/AVP 100 102 103 9 18 11 8 0 101 b=TIAS:64000 a=rtpmap:100 MP4A-LATM/90000 a=fmtp:100 profile-level-id=24;object=23;bitrate=64000 a=rtpmap:102 G7221/16000 a=fmtp:102 bitrate=32000 a=rtpmap:103 G7221/16000 a=fmtp:103 bitrate=24000 a=rtpmap:9 G722/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=yes a=rtpmap:11 L16/16000 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv m=video 2360 RTP/AVP 97 98 99 34 31 b=TIAS:1152000 a=rtpmap:97 H264/90000 a=fmtp:97 profile-level-id=42800d;max-br=906;max-mbps=40500;max-fs=3072;max-smbps=40500;max-fps=3000 a=rtpmap:98 H264/90000 a=fmtp:98 profile-level-id=42800d;max-br=906;max-mbps=40500;max-fs=3072;max-smbps=40500;packetization-mode=1;max-fps=3000 a=rtpmap:99 H263-1998/90000 a=fmtp:99 custom=1024,768,4;custom=1024,576,4;custom=800,600,4;cif4=2;custom=720,480,2;custom=640,480,2;custom=512,288,1;cif=1;custom=352,240,1;qcif=1;maxbr=10880 a=rtpmap:34 H263/90000 a=fmtp:34 cif4=2;cif=1;qcif=1;maxbr=10880 a=rtpmap:31 H261/90000 a=fmtp:31 cif=1;qcif=1;maxbr=10880 a=rtcp-fb:* nack pli a=sendrecv a=content:main a=label:11 a=answer:full m=video 2362 RTP/AVP 97 98 99 34 31 b=TIAS:1152000 a=rtpmap:97 H264/90000 a=fmtp:97 profile-level-id=42800d;max-br=906;max-mbps=40500;max-fs=3072;max-smbps=40500;max-fps=3000 a=rtpmap:98 H264/90000 a=fmtp:98 profile-level-id=42800d;max-br=906;max-mbps=40500;max-fs=3072;max-smbps=40500;packetization-mode=1;max-fps=3000 a=rtpmap:99 H263-1998/90000 a=fmtp:99 custom=1024,76 =========== In the audio and video lines, the encoding name and clock rate are same for 2 dynamic payloads. - Audio line G7221/16000 for both 102 and 103 - Video line H264/90000 for both 97 and 98 My questions are: 1) Is this a valid SDP? 2) What should be the answer that the media server should send? The media server supports video with payload 97 (H264/90000). As per the current implementation, the encoding name and clock rate is compared for each dynamic payload in the offer to form the answer. This comparison succeeds twice (for both 97 and 98) and 97 is added twice in the video line in the answer. Regards Tarun Gupta =============================================================================== Please refer to http://www.aricent.com/legal/email_disclaimer.html for important disclosures regarding this electronic communication. =============================================================================== _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors This is confidential Ittiam property. _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
