setStreamingProperty method

Future<void> setStreamingProperty(
  1. StreamingPropertyType type,
  2. String value
)

Sets specific feature values for HTTP, MMS, or specific streaming engine (Smooth Streaming, HLS, DASH, DivX Plus Streaming, or Widevine). The available streaming properties depend on the streaming protocol or engine. Use the CUSTOM_MESSAGE property for streaming engine or CP-specific settings.

Implementation

Future<void> setStreamingProperty(
    StreamingPropertyType type, String value) async {
  if (_isDisposedOrNotInitialized) {
    return;
  }
  return _videoPlayerPlatform.setStreamingProperty(_playerId, type, value);
}