Commit e8dcea17 authored by Olivier Crête's avatar Olivier Crête
Browse files

tests: Add G.729 RTP payloader/depayloader test

https://bugzilla.gnome.org/show_bug.cgi?id=606050
parent 63a9db58
......@@ -750,6 +750,24 @@ GST_START_TEST (rtp_jpeg_list)
}
GST_END_TEST;
static char rtp_g729_frame_data[] =
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
static int rtp_g729_frame_data_size = 22;
static int rtp_g729_frame_count = 1;
GST_START_TEST (rtp_g729)
{
rtp_pipeline_test (rtp_g729_frame_data, rtp_g729_frame_data_size,
rtp_g729_frame_count, "audio/G729", "rtpg729pay",
"rtpg729depay", 0, 0, FALSE);
}
GST_END_TEST;
/*
* Creates the test suite.
*
......@@ -786,6 +804,7 @@ rtp_payloading_suite ()
tcase_add_test (tc_chain, rtp_vorbis);
tcase_add_test (tc_chain, rtp_jpeg);
tcase_add_test (tc_chain, rtp_jpeg_list);
tcase_add_test (tc_chain, rtp_g729);
return s;
}
......
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