MediaInfo class

This type is used by AvMediaPlayer to show current media info. duration == 0 means the media is realtime stream. tracks contains all the tracks of the media. The key is the track id. However, video tracks may not available on ios/macos/windows.

Constructors

MediaInfo(int duration, Map<String, TrackInfo> tracks, String source)
const

Properties

duration int
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String
final
tracks Map<String, TrackInfo>
final

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