mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
client test: expect any port in transport
setup_multicast_client sets a 5000-5010 range for the client ports, it is incorrect to expect the transport to always use 5000-5001 Fixes #73
This commit is contained in:
parent
571f119fea
commit
507e6f1db2
1 changed files with 1 additions and 1 deletions
|
@ -1833,7 +1833,7 @@ do_test_scale_and_speed (const gchar * scale, const gchar * speed)
|
||||||
gst_rtsp_message_add_header (&request, GST_RTSP_HDR_TRANSPORT,
|
gst_rtsp_message_add_header (&request, GST_RTSP_HDR_TRANSPORT,
|
||||||
"RTP/AVP;multicast");
|
"RTP/AVP;multicast");
|
||||||
expected_transport = "RTP/AVP;multicast;destination=233.252.0.1;"
|
expected_transport = "RTP/AVP;multicast;destination=233.252.0.1;"
|
||||||
"ttl=1;port=5000-5001;mode=\"PLAY\"";
|
"ttl=1;port=.*;mode=\"PLAY\"";
|
||||||
gst_rtsp_client_set_send_func (client, test_setup_response_200, NULL, NULL);
|
gst_rtsp_client_set_send_func (client, test_setup_response_200, NULL, NULL);
|
||||||
fail_unless (gst_rtsp_client_handle_message (client,
|
fail_unless (gst_rtsp_client_handle_message (client,
|
||||||
&request) == GST_RTSP_OK);
|
&request) == GST_RTSP_OK);
|
||||||
|
|
Loading…
Reference in a new issue