点击或拖拽改变大小

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().

命名空间:  LibVLCSharp.Shared
程序集:  CPF.Vlc (在 CPF.Vlc.dll 中) 版本:0.8.8.5
语法
C#
public Media(
	LibVLC libVLC,
	int fd,
	params string[] options
)

参数

libVLC
类型:LibVLCSharp.SharedLibVLC
A libvlc instance
fd
类型:SystemInt32
open file descriptor
options
类型:SystemString
the libvlc options
参见