mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[feat] openh264 encoder and dav1d decoder support dynamic resolution
This commit is contained in:
@@ -149,8 +149,8 @@ int PeerConnection::Init(PeerConnectionParams params,
|
||||
if (on_receive_video_frame_) {
|
||||
XVideoFrame x_video_frame;
|
||||
x_video_frame.data = (const char *)video_frame.Buffer();
|
||||
x_video_frame.width = video_frame.GetWidth();
|
||||
x_video_frame.height = video_frame.GetHeight();
|
||||
x_video_frame.width = video_frame.Width();
|
||||
x_video_frame.height = video_frame.Height();
|
||||
x_video_frame.size = video_frame.Size();
|
||||
on_receive_video_frame_(&x_video_frame, user_id, user_id_size,
|
||||
user_data_);
|
||||
|
||||
Reference in New Issue
Block a user