VideoSourceFactory class

视频源工厂类

用于创建不同类型的视频源实例。

Video Source Factory

Used to create instances of different types of video sources.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

createUrlSource(String url) VideoSource
创建URL类型的视频源
createVidAuthSource({required String vid, required String playAuth}) VideoSource
创建VidAuth类型的视频源
createVidStsSource({required String vid, required String accessKeyId, required String accessKeySecret, required String securityToken, required String region}) VideoSource
创建VidSts类型的视频源