Commit 3d7ef3d1 authored by Clément Stenac's avatar Clément Stenac

Add sdp meta-data to playlist

parent 3907a932
...@@ -836,6 +836,18 @@ sap_announce_t *CreateAnnounce( services_discovery_t *p_sd, uint16_t i_hash, ...@@ -836,6 +836,18 @@ sap_announce_t *CreateAnnounce( services_discovery_t *p_sd, uint16_t i_hash,
return NULL; return NULL;
} }
psz_value = GetAttribute( p_sap->p_sdp, "tool" );
if( psz_value != NULL )
{
vlc_input_item_AddInfo( &p_item->input, _("Session"),
_("Tool"), psz_value );
}
if( strcmp( p_sdp->psz_username, "-" ) )
{
vlc_input_item_AddInfo( &p_item->input, _("Session"),
_("User"), p_sdp->psz_username );
}
psz_value = GetAttribute( p_sap->p_sdp, "x-plgroup" ); psz_value = GetAttribute( p_sap->p_sdp, "x-plgroup" );
if( psz_value == NULL ) if( psz_value == NULL )
...@@ -1058,7 +1070,6 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp ) ...@@ -1058,7 +1070,6 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
psz_proto = strdup( "udp" ); psz_proto = strdup( "udp" );
} }
/* FIXME: HTTP support */ /* FIXME: HTTP support */
if( i_port == 0 ) if( i_port == 0 )
......
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