Commit d287080e authored by Clément Stenac's avatar Clément Stenac

If proto is RTP/AVP, use rtp

parent ab674acf
...@@ -917,6 +917,13 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp ) ...@@ -917,6 +917,13 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
} }
} }
if( psz_proto && !strncmp( psz_proto, "RTP/AVP", 7 ) )
{
free( psz_proto );
psz_proto = strdup( "rtp" );
}
/* FIXME: HTTP support */ /* FIXME: HTTP support */
if( i_port == 0 ) if( i_port == 0 )
...@@ -1166,7 +1173,7 @@ static int Decompress( unsigned char *psz_src, unsigned char **_dst, int i_len ) ...@@ -1166,7 +1173,7 @@ static int Decompress( unsigned char *psz_src, unsigned char **_dst, int i_len )
#if 0 #if 0
p_playlist->pp_items[p_playlist->i_index]->b_autodeletion = VLC_TRUE; p_playlist->pp_items[p_playlist->i_index]->b_autodeletion = VLC_TRUE;
i_position = p_playlist->i_index; i_position = p_playlist->i_index;
/* Gather the complete sdp file */ /* Gather the complete sdp file */
for( ;; ) for( ;; )
{ {
......
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