mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 20:27:34 +08:00
delay min is 120ms
This commit is contained in:
parent
ce7787fe33
commit
9e18428d7b
@ -164,7 +164,9 @@ void SrtTransport::handleHandshakeConclusion(HandshakePacket &pkt, struct sockad
|
||||
HSExtStreamID::Ptr sid;
|
||||
uint32_t srt_flag = 0xbf;
|
||||
uint16_t delay = DurationCountMicroseconds(_now - _induction_ts) * getLatencyMul() / 1000;
|
||||
|
||||
if (delay <= 120) {
|
||||
delay = 120;
|
||||
}
|
||||
for (auto ext : pkt.ext_list) {
|
||||
// TraceL << getIdentifier() << " ext " << ext->dump();
|
||||
if (!req) {
|
||||
|
Loading…
Reference in New Issue
Block a user