getPubLiveLocalTextureView static method

TextureView getPubLiveLocalTextureView({
  1. Key? key,
  2. String? channelId,
  3. VideoRenderMode renderMode = VideoRenderMode.Hidden,
  4. VideoMirrorMode mirrorMode = VideoMirrorMode.Auto,
  5. PlatformViewCreatedCallback? onPlatformViewCreated,
  6. Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
  7. bool useFlutterTexture = true,
})

Implementation

static TextureView getPubLiveLocalTextureView({
  Key? key,
  String? channelId,
  VideoRenderMode renderMode = VideoRenderMode.Hidden,
  VideoMirrorMode mirrorMode = VideoMirrorMode.Auto,
  PlatformViewCreatedCallback? onPlatformViewCreated,
  Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
  bool useFlutterTexture = true,
}) {
  return TextureView(
    key: key,
    channelId: channelId,
    renderMode: renderMode,
    mirrorMode: mirrorMode,
    onPlatformViewCreated: onPlatformViewCreated,
    gestureRecognizers: gestureRecognizers,
    useFlutterTexture: useFlutterTexture,
  );
}