Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(460)

Unified Diff: webrtc/api/android/java/src/org/webrtc/VideoSource.java

Issue 2547483003: Move /webrtc/api/android files to /webrtc/sdk/android (Closed)
Patch Set: Move to api folder under Android instead of src Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/api/android/java/src/org/webrtc/VideoSource.java
diff --git a/webrtc/api/android/java/src/org/webrtc/VideoSource.java b/webrtc/api/android/java/src/org/webrtc/VideoSource.java
deleted file mode 100644
index d9531cd9a5f98a88f82d26814ca2eed41b0ecd38..0000000000000000000000000000000000000000
--- a/webrtc/api/android/java/src/org/webrtc/VideoSource.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright 2013 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;
-
-/**
- * Java wrapper of native AndroidVideoTrackSource.
- */
-public class VideoSource extends MediaSource {
- public VideoSource(long nativeSource) {
- super(nativeSource);
- }
-
- /**
- * Calling this function will cause frames to be scaled down to the requested resolution. Also,
- * frames will be cropped to match the requested aspect ratio, and frames will be dropped to match
- * the requested fps. The requested aspect ratio is orientation agnostic and will be adjusted to
- * maintain the input orientation, so it doesn't matter if e.g. 1280x720 or 720x1280 is requested.
- */
- public void adaptOutputFormat(int width, int height, int fps) {
- nativeAdaptOutputFormat(nativeSource, width, height, fps);
- }
-
- private static native void nativeAdaptOutputFormat(
- long nativeSource, int width, int height, int fps);
-}
« no previous file with comments | « webrtc/api/android/java/src/org/webrtc/VideoRendererGui.java ('k') | webrtc/api/android/java/src/org/webrtc/VideoTrack.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698