Player
Object Hierarchy:
Description:
[ CCode ( type_id = "clutter_gst_player_get_type ()" ) ]
[ Version ( since = "1.4" ) ]
public interface Player : Object
Player is an opaque structure whose members cannot be directly accessed
All known implementing classes:
Content:
Properties:
- public abstract double audio_volume { get; set; }
The volume of the audio, as a normalized value between 0.0 and 1.0.
- public abstract bool idle { get; }
Whether the Player is in idle mode.
- public abstract bool playing { get; set; }
Whether the Player actor is playing.
Methods:
- public abstract double get_audio_volume ()
Retrieves the playback volume of this
.
- public abstract unowned Frame get_frame ()
Retrieves the Frame
of the last frame produced by this.
- public abstract bool get_idle ()
Get the idle state of the pipeline.
- public abstract unowned Element get_pipeline ()
Retrieves the Pipeline used by the
this, for direct use with GStreamer API.
- public abstract bool get_playing ()
Retrieves the playing status of this
.
- public abstract unowned VideoSink get_video_sink ()
- public abstract void set_audio_volume (double volume)
Sets the playback volume of this to
volume
.
- public abstract void set_playing (bool playing)
Starts or stops playing of this.
Signals:
- public virtual signal void eos ()
The eos signal is emitted each time the
media stream ends.
- public virtual signal void error (Error error)
The error signal is emitted each time an
error occurred.
- public virtual signal void new_frame (Frame frame)
The new_frame signal is emitted each time
a frame is received from the video sink.
- public virtual signal void ready ()
The ready signal is emitted each time the
gstreamer pipeline becomes ready.
- public virtual signal void size_change (int width, int height)
The size_change signal is emitted each
time the new frame has different dimensions to the previous frame.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref