webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
VideoSource (long nativeSource) | |
void | adaptOutputFormat (int width, int height, int fps) |
Public Member Functions inherited from org.webrtc.MediaSource | |
MediaSource (long nativeSource) | |
State | state () |
void | dispose () |
Java wrapper of native AndroidVideoTrackSource.
|
inline |
|
inline |
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.