K
K
kokoc702014-02-20 15:13:24
Asterisk
kokoc70, 2014-02-20 15:13:24

How to set payload type in VLC manually?

Good afternoon. There was a task to broadcast video on Asterisk. The libVLC library and the H.264 codec were chosen.
The line is generated:
cvlc /home/kokoc/aria.mp4 --sout "#transcode{vcodec=h264}:rtp{dst=127.0.0.1,port=5004}"
But in rtp packets vlc payload type is written as 96, and 99 is required (Asterisk throws errors about an unknown type 96 and does not pass traffic to the subscriber).
Question: How to set payload type in vlc manually?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kokoc70, 2014-02-25
@kokoc70

If someone is interested, then vlc does not have a key to determine the type of payload. I'll have to edit the source code of the library a little and rebuild it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question