Page 1 of 1

RTP add custom payload type

Posted: 22 Jun 2010 15:52
by Klaus82
Hello,

I wrote a server streaming RTP packets with 16 bits per sample (L16) and a samplerate of 3000 Hz. Now I want to open the stream in VLC. The payload type 11 has the wrong samplerate. So I thought I must use one in the dynamic range 96-127. I thought I can write a SDP file, but I do not know what to do.

Has anyone an example of an SDP file or does anyone know how I have to write the SDP file?

Thank you
Regards
Klaus

Re: RTP add custom payload type

Posted: 23 Jun 2010 05:53
by Rémi Denis-Courmont
Type "fmtp" in the search box, seriously...

Re: RTP add custom payload type

Posted: 24 Jun 2010 07:56
by Klaus82
Now I wrote an SDP file and it works pretty well, but when I set the frequency to 3000 Hz. It won't work saying too low frequency (but it works with 4000 Hz). Has anyone an idea?

v=0
o=Klaus 1 1 IN IP4 localhost
c=IN IP4 224.64.16.3
m=audio 30013 RTP/AVP 96
a=rtpmap:96 PCMU/3000/1


I have 16 bits per sample and I do not know if PCMU is suitable for this situation. And I think the SNR (the distance between the quietly parts and the loud parts) is too low. Do I have to change something with the protocol PCMU?

@Rémi:
I do not have a clue what fmtp should tell me, but I got some SDP examples when I typed it into the searchbox.