Skip to content

Commit

Permalink
fix(lib): fix isMuted property
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Jan 28, 2025
1 parent bfeadae commit 79132e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/ApiVideoLiveStream/ApiVideoLiveStream.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ public class ApiVideoLiveStream {
/// Mutes or unmutes audio capture.
public var isMuted: Bool {
get {
!self.rtmpStream.audioMixerSettings.isMuted
self.rtmpStream.audioMixerSettings.isMuted
}
set(newValue) {
self.rtmpStream.audioMixerSettings.isMuted = !newValue
self.rtmpStream.audioMixerSettings.isMuted = newValue
}
}

Expand Down

0 comments on commit 79132e4

Please sign in to comment.