Commit 2c4189d9 authored by Andrey Utkin's avatar Andrey Utkin Committed by Jean-Baptiste Kempf

Enable GSM RTP packetization

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent bf73ab03
......@@ -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;
break;
case VLC_CODEC_GSM:
rtp_fmt->payload_type = 3;
rtp_fmt->ptname = "GSM";
rtp_fmt->pf_packetize = rtp_packetize_split;
break;
default:
msg_Err( obj, "cannot add this stream (unsupported "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment