mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修复test_rtp触发断言的问题
This commit is contained in:
parent
771844d065
commit
266a0ca5b4
@ -38,6 +38,7 @@ static bool loadFile(const char *path){
|
|||||||
uint16_t len;
|
uint16_t len;
|
||||||
char rtp[0xFFFF];
|
char rtp[0xFFFF];
|
||||||
struct sockaddr_storage addr = {0};
|
struct sockaddr_storage addr = {0};
|
||||||
|
addr.ss_family = AF_INET;
|
||||||
auto sock = Socket::createSocket();
|
auto sock = Socket::createSocket();
|
||||||
size_t total_size = 0;
|
size_t total_size = 0;
|
||||||
while (true) {
|
while (true) {
|
||||||
|
Loading…
Reference in New Issue
Block a user