Media 构造函数 |
名称 | 说明 | |
---|---|---|
Media(MediaList) |
Create a media from a media list
| |
Media(LibVLC, MediaInput, String) |
Create a media from a MediaInput
requires libvlc 3.0 or higher
| |
Media(LibVLC, Int32, String) |
Create a media for an already open file descriptor.
The file descriptor shall be open for reading(or reading and writing).
Regular file descriptors, pipe read descriptors and character device
descriptors(including TTYs) are supported on all platforms.
Block device descriptors are supported where available.
Directory descriptors are supported on systems that provide fdopendir().
Sockets are supported on all platforms where they are file descriptors,
i.e.all except Windows.
\note This library will not automatically close the file descriptor
under any circumstance.Nevertheless, a file descriptor can usually only be
rendered once in a media player.To render it a second time, the file
descriptor should probably be rewound to the beginning with lseek().
| |
Media(LibVLC, Uri, String) |
Media Constructs a libvlc Media instance
| |
Media(LibVLC, String, FromType, String) |
Media Constructs a libvlc Media instance
|