/// <summary> /// 关闭音频通道_独占 /// </summary> /// <returns></returns> public bool CloseSound() { bool bolResult = false; SDK_DaHua.DHCloseSound(this, null); return(bolResult); }
/// <summary> /// 打开音频通道_独占 /// </summary> /// <returns></returns> public bool OpenSound() { bool bolResult = false; //手动关闭,确认只有一个通道有声音 SDK_DaHua.DHCloseSound(this, null); if (SDK_DaHua.CLIENT_OpenSound(intPlayID)) { SoundState = Enum_VideoPlaySoundState.SoundOpen; bolResult = true; } return(bolResult); }