RTP add custom payload type

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Klaus82
New Cone
New Cone
Posts: 2
Joined: 22 Jun 2010 15:23

RTP add custom payload type

Postby Klaus82 » 22 Jun 2010 15:52

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15328
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: RTP add custom payload type

Postby Rémi Denis-Courmont » 23 Jun 2010 05:53

Type "fmtp" in the search box, seriously...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Klaus82
New Cone
New Cone
Posts: 2
Joined: 22 Jun 2010 15:23

Re: RTP add custom payload type

Postby Klaus82 » 24 Jun 2010 07:56

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 63 guests