C# Class LongoMatch.Video.Player.GstPlayer

Inheritance: GLib.Object, IPlayer
Afficher le fichier Open project: GNOME/longomatch Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Close ( ) : void
Résultat void

Expose() public méthode

public Expose ( ) : void
Résultat void

GetCurrentFrame() public méthode

public GetCurrentFrame ( int outwidth = -1, int outheight = -1 ) : Image
outwidth int
outheight int
Résultat Image

GstPlayer() public méthode

public GstPlayer ( ) : System
Résultat System

GstPlayer() public méthode

public GstPlayer ( PlayerUseType type ) : System
type PlayerUseType
Résultat System

Init() public méthode

public Init ( PlayerUseType type ) : void
type PlayerUseType
Résultat void

Open() public méthode

public Open ( MediaFile file ) : bool
file MediaFile
Résultat bool

Open() public méthode

public Open ( string filePath ) : bool
filePath string
Résultat bool

Pause() public méthode

public Pause ( ) : void
Résultat void

Play() public méthode

public Play ( ) : void
Résultat void

Seek() public méthode

public Seek ( Time time, bool accurate, bool synchronous ) : bool
time Time
accurate bool
synchronous bool
Résultat bool

SeekToNextFrame() public méthode

public SeekToNextFrame ( ) : bool
Résultat bool

SeekToPreviousFrame() public méthode

public SeekToPreviousFrame ( ) : bool
Résultat bool

Stop() public méthode

public Stop ( ) : void
Résultat void