Add rtcp module

This commit is contained in:
dijunkun
2023-09-11 17:23:32 +08:00
parent 3a291fe171
commit 8c545f7544
7 changed files with 205 additions and 18 deletions

View File

@@ -47,7 +47,7 @@ IceTransmission::~IceTransmission() {
}
int IceTransmission::InitIceTransmission(std::string &ip, int port) {
rtp_codec_ = std::make_unique<RtpCodec>(PAYLOAD_TYPE::H264);
rtp_codec_ = std::make_unique<RtpCodec>(RtpPacket::PAYLOAD_TYPE::H264);
rtp_video_receiver_ = std::make_unique<RtpVideoReceiver>();
rtp_video_receiver_->SetOnReceiveCompleteFrame(
[this](VideoFrame &video_frame) -> void {