Fix RTCP socket initialization
This commit is contained in:
parent
13989c66f1
commit
871242b149
|
@ -114,7 +114,7 @@ rtp_error_t uvg_rtp::rtcp::add_participant(std::string dst_addr, uint16_t dst_po
|
|||
|
||||
zero_stats(&p->stats);
|
||||
|
||||
if (!(p->socket = new uvg_rtp::socket(RTP_CTX_NO_FLAGS)))
|
||||
if (!(p->socket = new uvgrtp::socket(0)))
|
||||
return RTP_MEMORY_ERROR;
|
||||
|
||||
if ((ret = p->socket->init(AF_INET, SOCK_DGRAM, 0)) != RTP_OK)
|
||||
|
|
Loading…
Reference in New Issue