[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New MediaPlayer


Le 12/06/2024 à 11:40, Hans Lehmann a écrit :
Hello.

I need information about the 3 optional parameters in the documentation (MediaPlayer (gb.media)) for our online Gambas book:

/Dim hMediaPlayer As MediaPlayer
hMediaPlayer = New MediaPlayer ( [ Parent As MediaContainer, Type As String, Polling As Integer ] ) [ As ‘EventName’ ]
/
In addition to a (detailed) description of the parameters, a source code section that creates a new MediaPlayer with all the parameters set would be particularly helpful. The example project ‘Media player based on GStreamer’ from the sources is unfortunately not very helpful in this case.

Regards

Honsek

I added some details in the documentation of the different class constructors inheriting MediaControl (i.e. MediaControl, MediaContainer, MediaPipeline and MediaPlayer).

--
Benoît Minisini.


References:
New MediaPlayerHans Lehmann <hans@xxxxxxxxxxxxxx>