C# Class LongoMatch.Video.Player.GstPlayer

Inheritance: GLib.Object, IPlayer
Show file Open project: GNOME/longomatch Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Expose ( ) : void
GetCurrentFrame ( int outwidth = -1, int outheight = -1 ) : Image
GstPlayer ( ) : System
GstPlayer ( PlayerUseType type ) : System
Init ( PlayerUseType type ) : void
Open ( MediaFile file ) : bool
Open ( string filePath ) : bool
Pause ( ) : void
Play ( ) : void
Seek ( Time time, bool accurate, bool synchronous ) : bool
SeekToNextFrame ( ) : bool
SeekToPreviousFrame ( ) : bool
Stop ( ) : void

Private Methods

Method Description
OnEos ( ) : void
OnError ( string message ) : void
OnReadyToSeek ( ) : void
OnStateChange ( bool playing ) : void
OnTick ( long current_time, long stream_length, double current_position ) : void
OverrideEos ( GLib gtype ) : void
OverrideError ( GLib gtype ) : void
OverrideReadyToSeek ( GLib gtype ) : void
OverrideStateChange ( GLib gtype ) : void
OverrideTick ( GLib gtype ) : void
eos_cb ( IntPtr bvw ) : void
error_cb ( IntPtr bvw, IntPtr message ) : void
lgm_video_player_close ( IntPtr raw ) : void
lgm_video_player_expose ( IntPtr pixbuf ) : void
lgm_video_player_get_current_frame ( IntPtr raw ) : IntPtr
lgm_video_player_get_current_time ( IntPtr raw ) : long
lgm_video_player_get_position ( IntPtr raw ) : double
lgm_video_player_get_stream_length ( IntPtr raw ) : long
lgm_video_player_get_type ( ) : IntPtr
lgm_video_player_get_volume ( IntPtr raw ) : double
lgm_video_player_is_playing ( IntPtr raw ) : bool
lgm_video_player_new ( int use_type, IntPtr &error ) : IntPtr
lgm_video_player_open ( IntPtr raw, IntPtr uri, IntPtr &error ) : bool
lgm_video_player_pause ( IntPtr raw ) : void
lgm_video_player_play ( IntPtr raw ) : bool
lgm_video_player_seek ( IntPtr raw, double position ) : bool
lgm_video_player_seek_time ( IntPtr raw, long time, bool accurate, bool synchronous ) : bool
lgm_video_player_seek_to_next_frame ( IntPtr raw ) : bool
lgm_video_player_seek_to_previous_frame ( IntPtr raw ) : bool
lgm_video_player_set_rate ( IntPtr raw, double rate ) : bool
lgm_video_player_set_volume ( IntPtr raw, double volume ) : void
lgm_video_player_set_window_handle ( IntPtr raw, IntPtr window_handle ) : IntPtr
lgm_video_player_stop ( IntPtr raw ) : void
lgm_video_player_unref_pixbuf ( IntPtr pixbuf ) : void
readytoseek_cb ( IntPtr bvw ) : void
statechange_cb ( IntPtr bvw, bool playing ) : void
tick_cb ( IntPtr bvw, long current_time, long stream_length, double current_position ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Expose() public method

public Expose ( ) : void
return void

GetCurrentFrame() public method

public GetCurrentFrame ( int outwidth = -1, int outheight = -1 ) : Image
outwidth int
outheight int
return Image

GstPlayer() public method

public GstPlayer ( ) : System
return System

GstPlayer() public method

public GstPlayer ( PlayerUseType type ) : System
type PlayerUseType
return System

Init() public method

public Init ( PlayerUseType type ) : void
type PlayerUseType
return void

Open() public method

public Open ( MediaFile file ) : bool
file MediaFile
return bool

Open() public method

public Open ( string filePath ) : bool
filePath string
return bool

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

Seek() public method

public Seek ( Time time, bool accurate, bool synchronous ) : bool
time Time
accurate bool
synchronous bool
return bool

SeekToNextFrame() public method

public SeekToNextFrame ( ) : bool
return bool

SeekToPreviousFrame() public method

public SeekToPreviousFrame ( ) : bool
return bool

Stop() public method

public Stop ( ) : void
return void