Why, Haivision, why? 😭

This commit is contained in:
Thulinma 2022-08-25 10:26:38 +02:00
parent 2870ae1ced
commit a9ddc37789

View file

@ -392,6 +392,10 @@ namespace Socket{
}
}
params["payloadsize"] = asString(chunkTransmitSize);
//This line forces the transmission type to live if unset.
//Live is actually the default, but not explicitly setting the option means
//that all other defaults do not get applied either, which is bad.
if (!params.count("transtype")){params["transtype"] = "live";}
}
int SRTConnection::preConfigureSocket(){