mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-29 14:45:55 +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;
|
HSExtStreamID::Ptr sid;
|
||||||
uint32_t srt_flag = 0xbf;
|
uint32_t srt_flag = 0xbf;
|
||||||
uint16_t delay = DurationCountMicroseconds(_now - _induction_ts) * getLatencyMul() / 1000;
|
uint16_t delay = DurationCountMicroseconds(_now - _induction_ts) * getLatencyMul() / 1000;
|
||||||
|
if (delay <= 120) {
|
||||||
|
delay = 120;
|
||||||
|
}
|
||||||
for (auto ext : pkt.ext_list) {
|
for (auto ext : pkt.ext_list) {
|
||||||
// TraceL << getIdentifier() << " ext " << ext->dump();
|
// TraceL << getIdentifier() << " ext " << ext->dump();
|
||||||
if (!req) {
|
if (!req) {
|
||||||
|
Loading…
Reference in New Issue
Block a user