SDP - several format descriptions in same MediaDescription?
Roberto Mier Escandón <[email protected]> Tue, 18 Sep 2007 16:49:01 +0200
| Newsgroups | gmane.comp.voip.nist-sip,gmane.spam.detected |
|---|---|
| Message-ID | <024001c7fa03$0d401d60$1827a8c0@axpe00> |
Hi:
Does anybody tried to include several formats in same media description using nist-sip?. This is, I've tried to do, for example:
m=audio 10001 RTP/AVP 0 8
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
but, second attribute rtpmap deletes first one when using MediaDescription.setAttribute() method, and the sent sdp is like
m=audio 10001 RTP/AVP 0 8
a=rtpmap:8 PCMA/8000
The only way to do similar to this is to create two MediaDescription objects and send them separated, like this:
m=audio 10001 RTP/AVP 0 8
a=rtpmap:0 PCMU/8000
m=audio 10001 RTP/AVP 0 8
a=rtpmap:8 PCMA/8000
But this last sdp is more confused to be read. Does Anyone knows a solution to include several media formats into the same MediaDescription object.
Thank you.
--------------------------------
Roberto Mier Escandón
[email protected]
P. T. Boecillo
Tlf: 983 548 063
··········································
División 5213
Arquitecturas de referencia de plataformas para las nuevas redes
http://www.tid.es
_______________________________________________
nist-sip mailing list
[email protected]
http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
logo.gif
(image/gif, 1.2 KB) - not displayed