enableMixEnginePlayout method
- bool enable
Enable or disable mix SDK playout to stream publishing.
Available since: 1.1.0
Description: Enable mix SDK playout sounds into the stream publishing.
Use cases: Users need to mix the sound of SDK playout into stream publishing. For example, when the class scene, the teacher and student Co-hosting, and the teacher can mix the play streaming sound into the publish streaming.
Default value: Default is disable.
When to call /Trigger: Called this function after calling startPublishingStream
or startPreview
.
Restrictions: None.
enable
Whether to mix engine playout
Implementation
Future<void> enableMixEnginePlayout(bool enable) async {
return await ZegoExpressImpl.instance.enableMixEnginePlayout(enable);
}