Package live.hms.video.utils
Object VideoFrameToBitmapConverter.Companion
-
- All Implemented Interfaces:
public class VideoFrameToBitmapConverter.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static VideoFrameToBitmapConverter.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final BitmapconvertToBitmap(VideoFrame videoFrame, Boolean applyRotation)Convert VideoFrame to Bitmap -
-
Method Detail
-
convertToBitmap
final Bitmap convertToBitmap(VideoFrame videoFrame, Boolean applyRotation)
Convert VideoFrame to Bitmap
- Parameters:
videoFrame- The WebRTC VideoFrame to convertapplyRotation- Whether to apply rotation from VideoFrame- Returns:
Bitmap or null if conversion fails
-
-
-
-