Skip to content

Commit c3c9495

Browse files
committed
fix build
1 parent c2f8bfa commit c3c9495

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/desktopcapturer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void DesktopCapturer::OnCaptureResult(webrtc::DesktopCapturer::Result result, st
3333
libyuv::kRotate0, ::libyuv::FOURCC_ARGB);
3434

3535
if (conversionResult >= 0) {
36-
webrtc::VideoFrame videoFrame(I420buffer, webrtc::VideoRotation::kVideoRotation_0, rtc::TimeMicros());
36+
webrtc::VideoFrame videoFrame(I420buffer, webrtc::VideoRotation::kVideoRotation_0, webrtc::TimeMicros());
3737
if ( (m_height == 0) && (m_width == 0) ) {
3838
m_broadcaster.OnFrame(videoFrame);
3939

@@ -54,7 +54,7 @@ void DesktopCapturer::OnCaptureResult(webrtc::DesktopCapturer::Result result, st
5454
webrtc::VideoFrame frame = webrtc::VideoFrame::Builder()
5555
.set_video_frame_buffer(scaled_buffer)
5656
.set_rotation(webrtc::kVideoRotation_0)
57-
.set_timestamp_us(rtc::TimeMicros())
57+
.set_timestamp_us(webrtc::TimeMicros())
5858
.build();
5959

6060

0 commit comments

Comments
 (0)