Player


Description:

[ CCode ( has_construct_function = false ) ]
public Player (owned PlayerVideoRenderer? video_renderer, owned PlayerSignalDispatcher? signal_dispatcher)

Creates a new Player instance that uses signal_dispatcher to dispatch signals to some event loop system, or emits signals directly if NULL is passed.

See PlayerGMainContextSignalDispatcher.

Video is going to be rendered by video_renderer, or if null is provided no special video set up will be done and some default handling will be performed.

Parameters:

video_renderer

GstPlayerVideoRenderer to use

signal_dispatcher

GstPlayerSignalDispatcher to use

Returns:

a new Player instance