Various fixes, among which:
- Fixed segfault when attempting to initialseek on disconnected streams - Fix 100% CPU bug in controller's stats code - WebRTC UDP bind socket improvements - Several segfault fixes - Increased packet reordering buffer size from 30 to 150 packets - Tweaks to default output/buffer behaviour for incoming pushes - Added message for load balancer checks - Fixed HLS content type - Stats fixes - Exit reason fixes - Fixed socket IP address detection - Fixed non-string arguments for stream settings - Added caching for getConnectedBinHost() - Added WebRTC playback rate control - Added/completed VP8/VP9 support to WebRTC/RTSP - Added live seek option to WebRTC - Fixed seek to exactly newest timestamp - Fixed HLS input # Conflicts: # lib/defines.h # src/input/input.cpp
This commit is contained in:
parent
2b99f2f5ea
commit
0af992d405
75 changed files with 1512 additions and 790 deletions
|
|
@ -115,7 +115,7 @@ namespace Comms{
|
|||
do{
|
||||
for (size_t i = firstValid(); i < endValid(); i++){
|
||||
if (getStatus(i) == COMM_STATUS_INVALID){continue;}
|
||||
setStatus(COMM_STATUS_DISCONNECT, i);
|
||||
setStatus(COMM_STATUS_REQDISCONNECT, i);
|
||||
}
|
||||
while (getStatus(firstValid()) == COMM_STATUS_INVALID){deleteFirst();}
|
||||
}while (firstValid() < endValid() && ++c < 10);
|
||||
|
|
@ -174,7 +174,7 @@ namespace Comms{
|
|||
dataAccX.addField("lastsecond", RAX_64UINT);
|
||||
dataAccX.addField("down", RAX_64UINT);
|
||||
dataAccX.addField("up", RAX_64UINT);
|
||||
dataAccX.addField("host", RAX_STRING, 16);
|
||||
dataAccX.addField("host", RAX_RAW, 16);
|
||||
dataAccX.addField("stream", RAX_STRING, 100);
|
||||
dataAccX.addField("connector", RAX_STRING, 20);
|
||||
dataAccX.addField("crc", RAX_32UINT);
|
||||
|
|
@ -277,8 +277,13 @@ namespace Comms{
|
|||
up.set(_up, idx);
|
||||
}
|
||||
|
||||
std::string Statistics::getHost() const{return host.string(index);}
|
||||
std::string Statistics::getHost(size_t idx) const{return (master ? host.string(idx) : "");}
|
||||
std::string Statistics::getHost() const{
|
||||
return std::string(host.ptr(index), 16);
|
||||
}
|
||||
std::string Statistics::getHost(size_t idx) const{
|
||||
if (!master){return std::string((size_t)16, (char)'\000');}
|
||||
return std::string(host.ptr(idx), 16);
|
||||
}
|
||||
void Statistics::setHost(std::string _host){host.set(_host, index);}
|
||||
void Statistics::setHost(std::string _host, size_t idx){
|
||||
if (!master){return;}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue