rtp包最大大小可配置

This commit is contained in:
monktan
2021-08-11 15:48:15 +08:00
parent 9e5d325e43
commit 7ed7e5386c
6 changed files with 13 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ static bool loadFile(const char *path){
uint32_t timeStamp_last = 0;
uint16_t len;
char rtp[2 * 1024];
char rtp[50 * 1024];
struct sockaddr addr = {0};
auto sock = Socket::createSocket();
size_t total_size = 0;