On 10/6/16 12:40 AM, Sachin Rastogi wrote:
Hi Everyone,
I have a User Agent, which can decode H.264-HP as well as H.264-BP. But it
can encode only H.264 BP. So how should I share my offer in SDP
Option 1 :
========
m=video 2300 RTP/AVP 100 109
a=rtpmap:100 H264/90000
a=fmtp:100 profile-level-id=640029; packetization-mode=1; max-mbps=245760;
max-fs=8196
a=rtpmap:109 H264/90000
a=fmtp:109 profile-level-id=428029; packetization-mode=1; max-mbps=245760;
max-fs=8196
a=sendrecv
Option 2 :
========
m=video 2300 RTP/AVP 100 109
a=rtpmap:100 H264/90000
a=fmtp:100 profile-level-id=640029; packetization-mode=1; max-mbps=245760;
max-fs=8196
a=rtpmap:109 H264/90000
a=fmtp:109 profile-level-id=428029; packetization-mode=1; max-mbps=245760;
max-fs=8196
a=recvonly
m=video 2300 RTP/AVP 109
a=rtpmap:109 H264/90000
a=fmtp:109 profile-level-id=428029; packetization-mode=1; max-mbps=245760;
max-fs=8196
a=sendonly
I think the only way to negotiate asymetric codec usage is with two
m-lines, as you show in (2).
You could however get them on a single 5-tuple by using
draft-ietf-mmusic-sdp-bundle-negotiation-32.
The downside of this is that it probably won't interoperate well with
legacy video devices.
Thanks,
Paul
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors