Object VideoFrameToBitmapConverter.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Bitmap convertToBitmap(VideoFrame videoFrame, Boolean applyRotation) Convert VideoFrame to Bitmap
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • convertToBitmap

         final Bitmap convertToBitmap(VideoFrame videoFrame, Boolean applyRotation)

        Convert VideoFrame to Bitmap

        Parameters:
        videoFrame - The WebRTC VideoFrame to convert
        applyRotation - Whether to apply rotation from VideoFrame
        Returns:

        Bitmap or null if conversion fails