Skip to content

Commit

Permalink
fix: conflict after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
gbattistel committed Jan 7, 2025
1 parent 78cf1ee commit 3de5da2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TelnyxRTC/Telnyx/WebRTC/Peer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class Peer : NSObject, WebRTCEventHandler {

public var isAudioTrackEnabled: Bool {
if self.connection?.configuration.sdpSemantics == .planB {
return self.connection?.senders
.compactMap { $0.track as? RTCAudioTrack }
.first?.isEnabled ?? false
} else {
Expand Down

0 comments on commit 3de5da2

Please sign in to comment.