[vlc-devel] [PATCH] Enable GSM RTP packetization

Andrey Utkin andrey.krieger.utkin at gmail.com
Thu Dec 5 21:36:56 CET 2013

This patch is related to announced bounty task
https://wiki.videolan.org/Bounties/#RTP_packetization .
I would like to continue the work on other desired RTP payloaders, and other
announced bounty tasks. Before I continue, I'm waiting to hear from responsible
person the confirmation that announcement is still valid. You may also want to
update amount of money for tasks.

The current patch is ridiculously small to be valued for 200 EUR, although it
is just initial version, i didn't find client software to test patch against
it, yet, except for ffmpeg patched by myself -
http://ffmpeg.org/pipermail/ffmpeg-devel/2013-December/151732.html . Your
suggestions for testing, and additional requirements are welcome.


 modules/stream_out/rtpfmt.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/stream_out/rtpfmt.c b/modules/stream_out/rtpfmt.c
index b680307..aa4bcb1 100644
--- a/modules/stream_out/rtpfmt.c
+++ b/modules/stream_out/rtpfmt.c
@@ -496,6 +496,11 @@ int rtp_get_fmt( vlc_object_t *obj, es_format_t *p_fmt, const char *mux,
             rtp_fmt->clock_rate = 1000;
             rtp_fmt->pf_packetize = rtp_packetize_t140;
+        case VLC_CODEC_GSM:
+            rtp_fmt->payload_type = 3;
+            rtp_fmt->ptname = "GSM";
+            rtp_fmt->pf_packetize = rtp_packetize_split;
+            break;
             msg_Err( obj, "cannot add this stream (unsupported "

More information about the vlc-devel mailing list