Fix RTCP socket initialization

This commit is contained in:
Aaro Altonen 2021-02-19 03:08:11 +02:00
parent 13989c66f1
commit 871242b149
1 changed files with 1 additions and 1 deletions

View File

@ -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)