[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MMUSIC] SDP offer/answer question from SIPit



Can somebody point quickly to some existing text that answers this question?
(If none exists, perhaps we should think about creating some)

When you reject an m-line that has something in it you've never heard of before,
(say someone sent you m=application 50000 TCP/TLS/BFCP *) you return a
corresponding m-line with a port of 0 as below, the question is, as you are building
that response:

m=application 0 ????what goes here????

One sane answer is to just copy the bits from the offer without trying to attribute any
meaning to them:

m=application 0 TCP/TLS/BFCP *

But remember that the rejector probably doesn't know TCP/TLS/BFCP
from NEVER/USE/THIS. Section 6 of 3264 has this language:
"To reject an offered
   stream, the port number in the corresponding stream in the answer
MUST be set to zero. Any media formats listed are ignored. At least
   one MUST be present, as specified by SDP."

Now, media-field is this in SDP:
   media-field =         %x6d "=" media SP port ["/" integer]
                         SP proto 1*(SP fmt) CRLF

So the text from 3264 could be read to be talking only the fmt field.
Should the proto field also be ignored at this point?

Would it be ok to return

m=application 0 RTP/AVP 0

for example?

If not, what text makes it clear?
(It might exist, but the testing is furious today and I'm not spotting it quickly).

RjS