setSEIConfig method
- ZegoSEIConfig config
Set the Supplemental Enhancement Information type.
Available since: 1.18.0 Description: By default, the SDK wraps the data with ZEGO's self-defined SEI type, which is not specified by the SEI standard. When the developer needs to use a third-party decoder to decode the SEI, the correct SEI will not be decoded and the setSEIConfig interface needs to be called to change the type of the SEI sent by the SDK to UserUnregister type. Use cases: This function needs to be executed when the developer uses a third-party decoder to decode the SEI. When to call: After creating the engine createEngine, before starting to push the stream startPublishingStream. Restrictions: None.
config
SEI configuration. The SEI defined by ZEGO is used by default.
Implementation
Future<void> setSEIConfig(ZegoSEIConfig config) async {
return await ZegoExpressImpl.instance.setSEIConfig(config);
}