getPubLiveRemoteTextureView static method

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

Implementation

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