V2TXLivePusher constructor

V2TXLivePusher(
  1. V2TXLiveMode liveMode
)

Implementation

V2TXLivePusher(V2TXLiveMode liveMode) {
  _identifier = const Uuid().v1();
  _listeners = {};
  _initMethodChannel(_identifier);
  _audioEffectManager = TXAudioEffectManager(_channel);
  _beautyManager = TXBeautyManager(_channel);
  _deviceManager = TXDeviceManager(_channel);
  _createNativePusher(_identifier, liveMode);
}