Skip to content

Commit

Permalink
fixed #1344
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo4405 committed Nov 30, 2023
1 parent 1b2bb35 commit b8ac18e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/IO/IOVideoUnit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ final class IOVideoUnit: NSObject, IOUnit {
guard captures[channel]?.device != device else {
return
}
if hasDevice && device != nil && captures[channel]?.device != nil && mixer?.session.isMultiCamSessionEnabled == false {
if hasDevice && device != nil && captures[channel]?.device == nil && mixer?.session.isMultiCamSessionEnabled == false {
throw Error.multiCamNotSupported
}
try mixer?.session.configuration { _ in
Expand Down

0 comments on commit b8ac18e

Please sign in to comment.