mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-30 05:48:21 +08:00
add srt recv and send packet buf size
This commit is contained in:
@@ -326,4 +326,10 @@ int SrtTransportImp::getLatencyMul() {
|
||||
return latencyMul;
|
||||
}
|
||||
|
||||
int SrtTransportImp::getPktBufSize() {
|
||||
// kPktBufSize
|
||||
GET_CONFIG(int, pktBufSize, kPktBufSize);
|
||||
return pktBufSize;
|
||||
}
|
||||
|
||||
} // namespace SRT
|
||||
Reference in New Issue
Block a user