public void StopBroadcast() { if (MicrophoneLoopback != null) { MicrophoneLoopback.StopMicrophone(); } #if UNITY_IOS && !UNITY_EDITOR replayKitStopBroadcast(); #endif }
public void StartBroadcast() { if ((UseCamera || UseMicrophone) && MicrophoneLoopback != null) { MicrophoneLoopback.StartMicrophone(); } #if UNITY_IOS && !UNITY_EDITOR replayKitStartBroadcast(); #endif }