Don't assume BOOL
is a boolean
This commit is contained in:
parent
80d7df7664
commit
582ca666d0
3 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@ class LKRoomDelegate: RoomDelegate {
|
|||
self.data = data
|
||||
self.onDidSubscribeToRemoteVideoTrack = onDidSubscribeToRemoteVideoTrack
|
||||
}
|
||||
|
||||
|
||||
func room(_ room: Room, participant: RemoteParticipant, didSubscribe publication: RemoteTrackPublication, track: Track) {
|
||||
if track.kind == .video {
|
||||
self.onDidSubscribeToRemoteVideoTrack(self.data, Unmanaged.passRetained(track).toOpaque())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue