Commit f4d21bb5 authored by Stefan Reif's avatar Stefan Reif

Fix targetdelay

avoid integer overflow
parent 72d85778
Pipeline #897 failed with stages
in 2 minutes and 20 seconds
......@@ -26,7 +26,7 @@ int main(int argc, char *const argv[]) {
uint16_t local_port = 6000;
PrrtSocket* socket = PrrtSocket_create(true);
PrrtSocket_set_sock_opt(socket, "targetdelay", (uint32_t) 10*1000*1000*1000);
PrrtSocket_set_sock_opt(socket, "targetdelay", (uint32_t) 4*1000*1000*1000);
//PrrtSocket_set_coding_parameters(socket, 1, 1); // comment this line to re-enable coding.
check(PrrtSocket_bind(socket, "0.0.0.0", local_port), "bind failed");
......
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