X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=udpinput.cpp;h=81aef7f9c9bbae265b832f9fd8f1ba353c311c8a;hp=71364f1e79d2e98084b4c0b358fbd11c06c59f1c;hb=b05c2965d3d5bfc4f24f17a27716a69ddf03a3cc;hpb=023de2890fe7300d8940e66ae73b48262e86976c diff --git a/udpinput.cpp b/udpinput.cpp index 71364f1..81aef7f 100644 --- a/udpinput.cpp +++ b/udpinput.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include "acceptor.h" @@ -116,7 +117,9 @@ UDPInput::UDPInput(const string &url) stats.url = url; stats.bytes_received = 0; stats.data_bytes_received = 0; + stats.metadata_bytes_received = 0; stats.connect_time = time(NULL); + stats.latency_sec = HUGE_VAL; } UDPInput::UDPInput(const InputProto &serialized)