Uses of Class
org.webrtc.VideoSource.AspectRatio
-
Uses of VideoSource.AspectRatio in org.webrtc
Modifier and TypeFieldDescriptionstatic final VideoSource.AspectRatio
VideoSource.AspectRatio.UNDEFINED
Modifier and TypeMethodDescriptionvoid
NativeAndroidVideoTrackSource.adaptOutputFormat
(VideoSource.AspectRatio targetLandscapeAspectRatio, Integer maxLandscapePixelCount, VideoSource.AspectRatio targetPortraitAspectRatio, Integer maxPortraitPixelCount, Integer maxFps) Calling this function will cause frames to be scaled down to the requested resolution.void
VideoSource.adaptOutputFormat
(VideoSource.AspectRatio targetLandscapeAspectRatio, Integer maxLandscapePixelCount, VideoSource.AspectRatio targetPortraitAspectRatio, Integer maxPortraitPixelCount, Integer maxFps) Same as above, with even more control as each constraint is optional.