add srt recv and send packet buf size

This commit is contained in:
xiongguangjie
2022-06-11 22:51:11 +08:00
parent f8373302d0
commit 4b9f789c79
5 changed files with 15 additions and 2 deletions

View File

@@ -326,4 +326,10 @@ int SrtTransportImp::getLatencyMul() {
return latencyMul;
}
int SrtTransportImp::getPktBufSize() {
// kPktBufSize
GET_CONFIG(int, pktBufSize, kPktBufSize);
return pktBufSize;
}
} // namespace SRT