sdp: make 1 media line per profile
authorWim Taymans <wtaymans@redhat.com>
Mon, 3 Mar 2014 15:56:53 +0000 (16:56 +0100)
committerWim Taymans <wtaymans@redhat.com>
Mon, 3 Mar 2014 15:59:09 +0000 (16:59 +0100)
commitdffdbbf0906201ec6d6711d1e80e6245182d517c
treefbb5103e02b9be054ab45b0fc38f66d2fb79db92
parent4b74afcc78b25996d03f16d5b52fa0888e6e6973
sdp: make 1 media line per profile

If we have multiple profiles (AVP or AVPF) for a stream, make one m=
line in the SDP for each profile. The client is then supposed to pick
one of the profiles in the SETUP request. Because the m= lines have the
same pt, the client also knows that only 1 option is possible.
gst/rtsp-server/rtsp-sdp.c