Package com.amazonaws.ivs.broadcast
Interface MixedDevice<SourceType>
- All Known Implementing Classes:
 MixedAudioDevice,MixedImageDevice
public interface MixedDevice<SourceType>
A mixed device is a device that can accept multiple input sources to be mixed together to produce a final output.
 A single 
MixedDevice instance will be either all audio or all video sources, and the sources and
 configurations attached will be of the same type. A mixed device with no inputs sources will still produce output
 once start is called, but the output will be a black image or silent audio, depending on the mixed device type.
 
 A mixed device can be attached to a BroadcastSession via Session.attachDevice(Device) or to a Stage by wrapping it
 in a LocalStageStream.
- 
Method Summary
Modifier and TypeMethodDescriptionvoidaddSource(SourceType source) Adds a source to this mixed device.voidremoveSource(SourceType source) Removes a source from the mixed device. 
- 
Method Details
- 
addSource
Adds a source to this mixed device. If this source has already been added, this will be a no-op.- Parameters:
 source- The source to add.
 - 
removeSource
Removes a source from the mixed device. If this source isn't currently attached, this will be a no-op.- Parameters:
 source- The source to remove.
 - 
getSources
- Returns:
 - A list of the sources attached to this mixed device.
 
 
 -