Commit 348022c8 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Updated default number of packets required to compute value

parent a60d967d
......@@ -26,7 +26,7 @@ OrtpVideoBandwidthEstimator * ortp_video_bandwidth_estimator_new(RtpSession *ses
OrtpVideoBandwidthEstimator *vbe = (OrtpVideoBandwidthEstimator*)ortp_malloc0(sizeof(OrtpVideoBandwidthEstimator));
vbe->session = session;
vbe->packet_count_min = 5;
vbe->packets_size_max = 3;
vbe->packets_size_max = 30;
vbe->trust_percentage = 90;
vbe->nb_packets_computed = 0;
vbe->packets = NULL;
......@@ -150,4 +150,4 @@ void ortp_video_bandwidth_estimator_process_packet(OrtpVideoBandwidthEstimator *
current_packet->recv_first_timestamp.tv_usec = recv_timestamp->tv_usec;
vbe->last_packet = current_packet;
}
}
\ No newline at end of file
}
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