diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2014-01-14 15:56:42 +0100 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2014-01-15 10:13:12 +0100 |
commit | a7823bc5220c1fe76b5b41e39e1e31aef07e1ebb (patch) | |
tree | d56fb60f61e737e8fb7d7f61a54ad585b7d1fc65 /tests/examples | |
parent | 397c4ed7a09aa0a366d881698641ade01b49746b (diff) |
examples/*-rtpaux: specify payload type association for the audio stream, so that rtx works also for audio
Diffstat (limited to 'tests/examples')
-rw-r--r-- | tests/examples/rtp/client-rtpaux.c | 2 | ||||
-rw-r--r-- | tests/examples/rtp/server-rtpaux.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/examples/rtp/client-rtpaux.c b/tests/examples/rtp/client-rtpaux.c index 4ad6b240e..2352ed183 100644 --- a/tests/examples/rtp/client-rtpaux.c +++ b/tests/examples/rtp/client-rtpaux.c @@ -253,7 +253,7 @@ request_aux_receiver (GstElement * rtpbin, guint sessid, SessionData * session) bin = gst_bin_new (NULL); rtx = gst_element_factory_make ("rtprtxreceive", NULL); pt_map = gst_structure_new ("application/x-rtp-pt-map", - "96", G_TYPE_UINT, 99, NULL); + "8", G_TYPE_UINT, 98, "96", G_TYPE_UINT, 99, NULL); g_object_set (rtx, "payload-type-map", pt_map, NULL); gst_structure_free (pt_map); gst_bin_add (GST_BIN (bin), rtx); diff --git a/tests/examples/rtp/server-rtpaux.c b/tests/examples/rtp/server-rtpaux.c index d449799cb..838900fb1 100644 --- a/tests/examples/rtp/server-rtpaux.c +++ b/tests/examples/rtp/server-rtpaux.c @@ -173,7 +173,7 @@ request_aux_sender (GstElement * rtpbin, guint sessid, SessionData * session) bin = gst_bin_new (NULL); rtx = gst_element_factory_make ("rtprtxsend", NULL); pt_map = gst_structure_new ("application/x-rtp-pt-map", - "96", G_TYPE_UINT, 99, NULL); + "8", G_TYPE_UINT, 98, "96", G_TYPE_UINT, 99, NULL); g_object_set (rtx, "payload-type-map", pt_map, NULL); gst_structure_free (pt_map); gst_bin_add (GST_BIN (bin), rtx); |