Skip to content

Commit 5a7bba5

Browse files
committed
Switch to WebRTC branch M80/3987
1 parent 7e79d8b commit 5a7bba5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

webrtc-jni/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<properties>
1414
<download.cmake>true</download.cmake>
15-
<webrtc.branch>branch-heads/m79</webrtc.branch>
15+
<webrtc.branch>branch-heads/3987</webrtc.branch>
1616
</properties>
1717

1818
<build>

webrtc-jni/src/media/video/VideoTrackDesktopSource.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,6 @@ namespace jni
187187
{
188188
rtc::VideoSinkWants wants = broadcaster.wants();
189189

190-
videoAdapter.OnResolutionFramerateRequest(wants.target_pixel_count, wants.max_pixel_count, wants.max_framerate_fps);
190+
videoAdapter.OnOutputFormatRequest(std::make_pair(0, 0), wants.max_pixel_count, wants.max_framerate_fps);
191191
}
192192
}

webrtc-jni/src/media/video/VideoTrackDeviceSource.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ namespace jni
155155
{
156156
rtc::VideoSinkWants wants = broadcaster.wants();
157157

158-
videoAdapter.OnResolutionFramerateRequest(wants.target_pixel_count, wants.max_pixel_count, wants.max_framerate_fps);
158+
videoAdapter.OnOutputFormatRequest(std::make_pair(capability.width, capability.height), wants.max_pixel_count, wants.max_framerate_fps);
159159
}
160160

161161
void VideoTrackDeviceSource::OnFrame(const webrtc::VideoFrame & frame)

0 commit comments

Comments
 (0)