AVPlayer.SetMuted
-----------------

Sets mute status.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [AVPlayer](component_AVPlayer.md) | [7.1](newinversion71.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "AVPlayer.SetMuted"; AVPlayer; State ) 

**MBS**( **"AVPlayer.SetMuted";** /\* Sets mute status. \*/  
**$AVPlayer**; /\* The reference number of the player.e.g. $Player \*/   
**$State**) /\* The new mute state.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| AVPlayer | The reference number of the player. | $Player |
| State | The new mute state. | 1 |

### Result

Returns OK or error.

### Description

Sets mute status.  
Pass 1 to mute or 0 to unmute.  
### See also

- [AVPlayer.GetAsset](AVPlayerGetAsset.md)
- [AVPlayer.GetMuted](AVPlayerGetMuted.md)
- [AVPlayer.GetRate](AVPlayerGetRate.md)
- [AVPlayer.SetFocus](AVPlayerSetFocus.md)
- [AVPlayer.SetRate](AVPlayerSetRate.md)
- [AVPlayer.SetTime](AVPlayerSetTime.md)
- [AVPlayer.SetVolume](AVPlayerSetVolume.md)

This function checks for a license.

Created 3th February 2017 , last changed 3th February 2017

  
[AVPlayer.SetFrameWithControl](AVPlayerSetFrameWithControl.md) - [AVPlayer.SetProgressEvaluate](AVPlayerSetProgressEvaluate.md)

[HTML Version](AVPlayerSetMuted.shtml)