Commit 15527aa0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

live555: add audio/DAT12 and audio/L20 RTP payload formats

parent 77f8c2d6
...@@ -852,6 +852,11 @@ static int SessionsSetup( demux_t *p_demux ) ...@@ -852,6 +852,11 @@ static int SessionsSetup( demux_t *p_demux )
tk->fmt.i_codec = VLC_CODEC_S16B; tk->fmt.i_codec = VLC_CODEC_S16B;
tk->fmt.audio.i_bitspersample = 16; tk->fmt.audio.i_bitspersample = 16;
} }
else if( !strcmp( sub->codecName(), "L20" ) )
{
tk->fmt.i_codec = VLC_CODEC_S20B;
tk->fmt.audio.i_bitspersample = 20;
}
else if( !strcmp( sub->codecName(), "L24" ) ) else if( !strcmp( sub->codecName(), "L24" ) )
{ {
tk->fmt.i_codec = VLC_CODEC_S24B; tk->fmt.i_codec = VLC_CODEC_S24B;
...@@ -862,6 +867,11 @@ static int SessionsSetup( demux_t *p_demux ) ...@@ -862,6 +867,11 @@ static int SessionsSetup( demux_t *p_demux )
tk->fmt.i_codec = VLC_CODEC_U8; tk->fmt.i_codec = VLC_CODEC_U8;
tk->fmt.audio.i_bitspersample = 8; tk->fmt.audio.i_bitspersample = 8;
} }
else if( !strcmp( sub->codecName(), "DAT12" ) )
{
tk->fmt.i_codec = VLC_CODEC_DAT12;
tk->fmt.audio.i_bitspersample = 12;
}
else if( !strcmp( sub->codecName(), "PCMU" ) ) else if( !strcmp( sub->codecName(), "PCMU" ) )
{ {
tk->fmt.i_codec = VLC_CODEC_MULAW; tk->fmt.i_codec = VLC_CODEC_MULAW;
......
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