The RTP PT for alaw is 8.
Less than 50 packets are received in the length of this test so it
would never drop a buffer or would drop only the last buffer and
it would fail sometimes when the received wouldn't receive the
retransmission packet in time.
https://bugzilla.gnome.org/show_bug.cgi?id=746445
payload_type = gst_rtp_buffer_get_payload_type (&rtp);
/* main stream packets */
- if (payload_type == 96) {
+ if (payload_type == 8) {
/* count packets of the main stream */
++rtxdata->nb_packets;
/* drop some packets */
RTXSendData send_rtxdata;
send_rtxdata.count = 1;
send_rtxdata.nb_packets = 0;
- send_rtxdata.drop_every_n_packets = 50;
+ send_rtxdata.drop_every_n_packets = 25;
GST_INFO ("preparing test");