examples/*-rtpaux: specify payload type association for the audio stream, so that...
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Tue, 14 Jan 2014 14:56:42 +0000 (15:56 +0100)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Wed, 15 Jan 2014 09:13:12 +0000 (10:13 +0100)
tests/examples/rtp/client-rtpaux.c
tests/examples/rtp/server-rtpaux.c

index 4ad6b24..2352ed1 100644 (file)
@@ -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);
index d449799..838900f 100644 (file)
@@ -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);