mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-12-16 20:17:10 +08:00
[feat] update rtc api
This commit is contained in:
@@ -204,8 +204,7 @@ int Render::StartScreenCapturer() {
|
|||||||
frame.size = size;
|
frame.size = size;
|
||||||
frame.width = width;
|
frame.width = width;
|
||||||
frame.height = height;
|
frame.height = height;
|
||||||
frame.timestamp = CurrentNtpTimeMs(peer_);
|
frame.captured_timestamp = GetSystemTimeMicros(peer_);
|
||||||
|
|
||||||
SendVideoFrame(peer_, &frame);
|
SendVideoFrame(peer_, &frame);
|
||||||
last_frame_time_ = now_time;
|
last_frame_time_ = now_time;
|
||||||
}
|
}
|
||||||
|
|||||||
2
thirdparty/projectx
vendored
2
thirdparty/projectx
vendored
Submodule thirdparty/projectx updated: de0386f08a...b50175f943
Reference in New Issue
Block a user