-
kurisu
https://xmpp.org/extensions/xep-0167.html#sdp says `<description xmlns='urn:xmpp:jingle:apps:rtp:1' media='audio'> <payload-type id="13" name="CN"/> </description>` would be mapped to `m=audio 9999 RTP/AVP 13` Where does 9999 come from?
-
kurisu
the only place where jingle xml seems to mention ports is in `<candidate/>`, but that does to `a=candidate ...`
-
singpolyma
If you find an sdp spec does it say what that number (the 9999) means?
-
kurisu
it's supposed to be "port"
-
kurisu
m=<media> <port> <proto> <fmt>
-
singpolyma
As in udp port? Because that doesn't make any sense they all go over the same negotiated-by-ice port
-
singpolyma
Maybe it's historical and unused?
-
kurisu
yeah it doesn't make any sense, that's why im wondering
-
kurisu
then further in the XEP it specifies as seemingly random value again <description xmlns='urn:xmpp:jingle:apps:rtp:1' media='video'> <payload-type id='98' name='theora' clockrate='90000'> <parameter name='height' value='600'/> <parameter name='width' value='800'/> <parameter name='delivery-method' value='inline'/> <parameter name='configuration' value='somebase16string'/> <parameter name='sampling' value='YCbCr-4:2:2'/> </payload-type> </description> m=video 49170 RTP/AVP 98 ...
-
kurisu
I would assume it's unused if the xep at least specified 9999 consistently
-
singpolyma
Fair
-
singpolyma
You could check what conversations does. Does it use these numbers or something else?
-
kurisu
It hardcodes it to 9. Apparently unused in practice. If so, it would help if the XEP was more explicit about it.