Skip to content

Commit

Permalink
fix can't compile tvOS
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo4405 committed Oct 2, 2024
1 parent e09a27d commit fc49675
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/Mixer/MediaMixer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,10 @@ public final actor MediaMixer {
return
}
outputs.append(output)
if !isCapturing {
startCapturing()
if #available(tvOS 17.0, *) {
if !isCapturing {
startCapturing()
}
}
}

Expand Down

0 comments on commit fc49675

Please sign in to comment.