Media 属性 |
Media 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| Duration | Get duration (in ms) of media descriptor object item. | |
| IsParsed | Return true is the media descriptor object is parsed | |
| Mrl | Get the media resource locator (mrl) from a media descriptor object | |
| NativeReference |
The pointer to the native code representation of this object
(继承自 Internal。) | |
| ParsedStatus | Get Parsed status for media descriptor object. | |
| Slaves | Get a media descriptor's slave list | |
| State |
Get current VLCState of media descriptor object.
| |
| Statistics | Get the current statistics about the media
structure that contain the statistics about the media
| |
| SubItems | Get subitems of media descriptor object. This will increment the reference count of supplied media descriptor object. Use libvlc_media_list_release() to decrement the reference counting. | |
| Tracks | Get media descriptor's elementary streams description
address to store an allocated array of Elementary Streams descriptions (must be freed with libvlc_media_tracks_release by the caller) [OUT] 返回值类型:the number of Elementary Streams (zero on error) Note, you need to call libvlc_media_parse() or play the media at least once before calling this function. Not doing this will result in an empty array. LibVLC 2.1.0 and later. | |
| Type |
The type of the media
|