Uses of Class
org.webrtc.VideoSource.AspectRatio
Packages that use VideoSource.AspectRatio
-
Uses of VideoSource.AspectRatio in org.webrtc
Fields in org.webrtc declared as VideoSource.AspectRatioModifier and TypeFieldDescriptionstatic final VideoSource.AspectRatioVideoSource.AspectRatio.UNDEFINEDMethods in org.webrtc with parameters of type VideoSource.AspectRatioModifier and TypeMethodDescriptionvoidNativeAndroidVideoTrackSource.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.voidVideoSource.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.