点击或拖拽改变大小

MediaAddOption 方法 (String)

Add an option to the media.

命名空间:  LibVLCSharp.Shared
程序集:  CPF.Vlc (在 CPF.Vlc.dll 中) 版本:0.8.8.5
语法
C#
public void AddOption(
	string option
)

参数

option
类型:SystemString
the media option
备注

This option will be used to determine how the media_player will

read the media. This allows to use VLC's advanced

reading/streaming options on a per-media basis.

The options are listed in 'vlc --long-help' from the command line,

e.g. "-sout-all". Keep in mind that available options and their semantics

vary across LibVLC versions and builds.

Not all options affects libvlc_media_t objects:

Specifically, due to architectural issues most audio and video options,

such as text renderer options, have no effects on an individual media.

These options must be set through libvlc_new() instead.

参见