mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-14 06:10:40 +01:00

We want clients to be able to build their own factories around these codecs. Bug: webrtc:7925 Change-Id: Ia8f62d5d85e63ac6e3eb402c5996d8b986625615 Reviewed-on: https://webrtc-review.googlesource.com/c/109529 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Commit-Queue: Jonathan Yu <yujo@chromium.org> Cr-Commit-Position: refs/heads/master@{#25543}
25 lines
715 B
Java
25 lines
715 B
Java
/*
|
|
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
package org.webrtc;
|
|
|
|
public class LibvpxVp8Encoder extends WrappedNativeVideoEncoder {
|
|
@Override
|
|
public long createNativeVideoEncoder() {
|
|
return nativeCreateEncoder();
|
|
}
|
|
|
|
static native long nativeCreateEncoder();
|
|
|
|
@Override
|
|
public boolean isHardwareEncoder() {
|
|
return false;
|
|
}
|
|
}
|