修复test_rtp触发断言的问题

This commit is contained in:
xiongziliang 2022-06-18 13:27:15 +08:00
parent 771844d065
commit 266a0ca5b4

View File

@ -38,6 +38,7 @@ static bool loadFile(const char *path){
uint16_t len;
char rtp[0xFFFF];
struct sockaddr_storage addr = {0};
addr.ss_family = AF_INET;
auto sock = Socket::createSocket();
size_t total_size = 0;
while (true) {