Fix blurred screen caused by yuv to nv12 error

This commit is contained in:
dijunkun
2024-05-08 14:27:57 +08:00
parent 114c80cd72
commit e0d2ab5a9f
5 changed files with 98 additions and 22 deletions

View File

@@ -62,7 +62,7 @@ int IceTransmission::InitIceTransmission(
});
rtp_video_receiver_->SetOnReceiveCompleteFrame(
[this](VideoFrame &video_frame) -> void {
LOG_ERROR("OnReceiveCompleteFrame {}", video_frame.Size());
// LOG_ERROR("OnReceiveCompleteFrame {}", video_frame.Size());
on_receive_video_((const char *)video_frame.Buffer(),
video_frame.Size(), remote_user_id_.data(),
remote_user_id_.size());