Add SetIsScreencast method to VideoSource.
Bug: None Change-Id: Iec0bb066b8100fa1d4bd095f78a0473933d1e30d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/159689 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Commit-Queue: Jakob Ivarsson <jakobi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29785}
This commit is contained in:
committed by
Commit Bot
parent
c1dac38aec
commit
c5ec54e51b
@ -86,6 +86,11 @@ bool AndroidVideoTrackSource::remote() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
void AndroidVideoTrackSource::SetIsScreencast(JNIEnv* env,
|
||||
jboolean j_is_screencast) {
|
||||
is_screencast_ = j_is_screencast;
|
||||
}
|
||||
|
||||
ScopedJavaLocalRef<jobject> AndroidVideoTrackSource::AdaptFrame(
|
||||
JNIEnv* env,
|
||||
jint j_width,
|
||||
|
||||
Reference in New Issue
Block a user