Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

VLCMediaMBS.AddOption(options as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Add an option to the media.
Notes:
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 detailed in vlc --long-help, for instance "--sout-all"

Feedback, Comments & Corrections

VLCMediaMBS.AddOptionFlag(options as string, flags as UInt32)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Add an option to the media with configurable flags.
Notes:
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 detailed in vlc --long-help, for instance "--sout-all"

Feedback, Comments & Corrections

VLCMediaMBS.Clone as VLCMediaMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Creates a duplicate of media object.

Feedback, Comments & Corrections

VLCMediaMBS.Constructor(original as VLCMediaMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Creates a copy of the media object.

See also:

Feedback, Comments & Corrections

VLCMediaMBS.Constructor(vlc as VLCInstanceMBS, URL as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Create a media with a certain given media resource location, for instance a valid URL.
Notes:
Do not pass a file path here! This is for URLs.

URL: the media location

To refer to a local file with this function, the file://... URI syntax must be used (see IETF RFC3986).
We recommend using MediaWithPath() instead when dealing with local files.

See also:

Feedback, Comments & Corrections

VLCMediaMBS.Destructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: The destructor to cleanup the media.

Feedback, Comments & Corrections

VLCMediaMBS.Duration as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Get duration (in ms) of media descriptor object item.
Notes: Return duration of media item or -1 on error.

Feedback, Comments & Corrections

VLCMediaMBS.IsParsed as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Get Parsed status for media descriptor object.
Notes: Returns true if media object has been parsed otherwise it returns false.

Feedback, Comments & Corrections

VLCMediaMBS.Meta(type as Integer) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Read the meta of the media.
Notes:
If the media has not yet been parsed this will return an empty string.

This methods automatically calls ParseAsync(), so after calling it you may receive a MediaMetaChanged event. If you prefer a synchronous version ensure that you call Parse() before get_meta().

Feedback, Comments & Corrections

VLCMediaMBS.MRL as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Get the media resource locator (mrl) from a media descriptor object.

Feedback, Comments & Corrections

VLCMediaMBS.Parse
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Parse a media.
Notes:
This fetches (local) meta data and tracks information.
The method is synchronous.

Feedback, Comments & Corrections

VLCMediaMBS.ParseAsync
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Parse a media.
Notes:
This fetches (local) meta data and tracks information.
The method is the asynchronous of Parse.
To track when this is over you can listen to MediaParsedChanged event. However if the media was already parsed you will not receive this event.

Feedback, Comments & Corrections

VLCMediaMBS.SaveMeta as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Save the meta previously set.
Notes: Return true if the write operation was successfull.

Feedback, Comments & Corrections

VLCMediaMBS.SetMeta(meta as Integer, value as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Set the meta of the media
Notes:
This function will not save the meta, call SaveMeta in order to save the meta.

meta: Which meta data. See kMeta* constants.
Value: the media's meta

Feedback, Comments & Corrections

VLCMediaMBS.State as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Get current state of media descriptor object.
Notes: See kState* constants.

Feedback, Comments & Corrections

VLCMediaMBS.Stats as VLCMediaStatsMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Get the current statistics about the media.
Notes: Returns statistics for media.

Feedback, Comments & Corrections

VLCMediaMBS.SubItems as VLCMediaListMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Get subitems of media descriptor object.

Feedback, Comments & Corrections

VLCMediaMBS.TrackInfos as VLCMediaTrackInfoMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 12.2 Yes Yes Yes Yes No
Function: Get media descriptor's elementary streams description.
Notes:
Note, you need to call Parse or play the media at least once before calling this function.
Not doing this will result in an empty array.

Feedback, Comments & Corrections

VLCMediaMBS.Tracks as VLCMediaTrackMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method VLC MBS VLC Plugin 15.3 Yes Yes Yes Yes No
Function: Get media descriptor's elementary streams description.
Notes:
Note, you need to call Parse or play the media at least once before calling this function.
Not doing this will result in an empty array.

Requires LibVLC 2.1.0 and later.

Returns an array of track objects.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS VLC Plugin.




Links
MBS Xojo Chart Plugins