Then again, remapping static payload types dynamically via SDP is a very bad idea for interoperability; and maybe live555 does not support it. You should really use payload types from 96 upward.
You raise an interesting point... but I'm not convinced.
If payload type 11 completely specified the stream, including the sample rate, there would be no point in having an rtpmap line; it would be completely tautologous. As far as I can see from the RFCs I've found, there is nothing set in stone to say that payload type 11 must
always be at 44100 samples per second. But if you know differently, please tell me!
The RTP/AVP specification states that, payload type 11 is L16/44100/1, while dynamic payload types are in the 96-127 range:
http://tools.ietf.org/html/rfc3551#section-6
The SDP specification allows omitting a=rtpmap for static payloads. It does not explicitly allow using static or unassigned types dynamically:
http://tools.ietf.org/html/rfc4566#section-6 As such, you should stick to the dynamic range for dynamic payloads, lest you have some interoperability problems. As a practical example, VLC will misinterpret the data if told to open an RTP stream as rtp://@IP_ADDRESS:PORT_NUMBER with dynamically
overloaded static payload types, while it will just fail safe for dynamic payload types.
Anyway, assuming you're correct: I've tried payload type 96 specified either as "a=rtpmap:96 L16/8000" or as "a=rtpmap:96 L16/8000/1". Both result in a message that ends in "Unknown codec name for payload type 96". Is there a different name I should use for 16 bit LPCM?
That error comes from liblive555, not from VLC. It simply means your live555 library version does not support L16 decapsulation. You will need to update it. VLC supports L16 since version 0.7.0.
Perhaps VLCMP needs a codec name that specified the endian-ness too?
L16 is always big-endian.
Is there any other codec name and type that I can use for 8000 samples per second, that VLCMP understands?
If you mean static payload types, there iare PCMU and PCMA, i.e. A-law and µ-law.