Version: 2020.1

ReplayKit.microphoneEnabled

切换到手册
public static bool microphoneEnabled ;

描述

麦克风已启用状态。如果启用了麦克风,则为 true;否则为 false。

可以通过调用 ReplayKit.StartBroadcastingReplayKit.StartRecording 并将 enableMicrophone 设置为 true 来启用麦克风。