Class: ClutterGst::Playback
- Inherits:
-
Object
- Object
- ClutterGst::Playback
- Defined in:
- (unknown)
Overview
Base class for Clutter::GstPlayback.
Instance Method Summary collapse
-
#audio_stream ⇒ Integer
Index of the current audio stream.
-
#audio_stream=(audio_stream) ⇒ Integer
Index of the current audio stream.
-
#audio_streams ⇒ GObject
List of audio streams available on the current media.
-
#audio_streams=(audio_streams) ⇒ GObject
List of audio streams available on the current media.
-
#buffer_duration ⇒ Integer
Retrieves the buffer duration when buffering network streams.
-
#buffer_duration=(duration) ⇒ nil
Sets the buffer duration to be used when buffering network streams.
-
#buffer_fill ⇒ Float
The fill level of the buffer for the current stream, as a value between 0.0 and 1.0.
-
#buffer_fill=(buffer_fill) ⇒ Float
The fill level of the buffer for the current stream, as a value between 0.0 and 1.0.
-
#buffer_size ⇒ Integer
Retrieves the buffer size when buffering network streams.
-
#buffer_size=(size) ⇒ nil
Sets the buffer size to be used when buffering network streams.
-
#buffering_mode ⇒ ClutterGst::BufferingMode
A Clutter::GstBufferingMode.
- #buffering_mode=(mode) ⇒ nil
-
#can_seek=(can_seek) ⇒ Boolean
Whether the current stream is seekable.
-
#can_seek? ⇒ Boolean
Whether the current stream is seekable.
-
#duration ⇒ Float
The duration of the current stream, in seconds.
-
#duration=(duration) ⇒ Float
The duration of the current stream, in seconds.
-
#filename=(filename) ⇒ nil
Sets the source of self using a file path.
-
#in_seek ⇒ Boolean
Whether the player is seeking.
-
#in_seek=(in_seek) ⇒ Boolean
Whether or not the stream is being seeked.
-
#in_seek? ⇒ Boolean
Whether or not the stream is being seeked.
- #initialize ⇒ ClutterGst::Playback constructor
-
#is_live_media ⇒ Boolean
Whether the player is using a live media.
-
#position ⇒ Float
Retrieves the position in the media stream that self represents.
-
#progress ⇒ Float
The current progress of the playback, as a normalized value between 0.0 and 1.0.
-
#progress=(progress) ⇒ Float
The current progress of the playback, as a normalized value between 0.0 and 1.0.
-
#seek_flags ⇒ ClutterGst::SeekFlags
Flags to use when seeking.
-
#seek_flags=(seek_flags) ⇒ ClutterGst::SeekFlags
Flags to use when seeking.
-
#subtitle_font_name ⇒ String
The font used to display subtitles.
-
#subtitle_font_name=(subtitle_font_name) ⇒ String
The font used to display subtitles.
-
#subtitle_track ⇒ Integer
Current subtitle track being displayed.
-
#subtitle_track=(subtitle_track) ⇒ Integer
Current subtitle track being displayed.
-
#subtitle_tracks ⇒ GObject
List of subtitle tracks available.
-
#subtitle_tracks=(subtitle_tracks) ⇒ GObject
List of subtitle tracks available.
-
#subtitle_uri ⇒ String
The location of a subtitle file, expressed as a valid URI.
-
#subtitle_uri=(subtitle_uri) ⇒ String
The location of a subtitle file, expressed as a valid URI.
-
#uri ⇒ String
The location of a media file, expressed as a valid URI.
-
#uri=(uri) ⇒ String
The location of a media file, expressed as a valid URI.
-
#user_agent ⇒ String
The User Agent used by Clutter::GstPlayback with network protocols.
-
#user_agent=(user_agent) ⇒ String
The User Agent used by Clutter::GstPlayback with network protocols.
Constructor Details
#initialize ⇒ ClutterGst::Playback
Instance Method Details
#audio_stream ⇒ Integer
Index of the current audio stream.
#audio_stream=(audio_stream) ⇒ Integer
Index of the current audio stream.
#audio_streams ⇒ GObject
List of audio streams available on the current media.
#audio_streams=(audio_streams) ⇒ GObject
List of audio streams available on the current media.
#buffer_duration ⇒ Integer
Retrieves the buffer duration when buffering network streams.
#buffer_duration=(duration) ⇒ nil
Sets the buffer duration to be used when buffering network streams.
#buffer_fill ⇒ Float
The fill level of the buffer for the current stream, as a value between 0.0 and 1.0.
#buffer_fill=(buffer_fill) ⇒ Float
The fill level of the buffer for the current stream, as a value between 0.0 and 1.0.
#buffer_size ⇒ Integer
Retrieves the buffer size when buffering network streams.
#buffer_size=(size) ⇒ nil
Sets the buffer size to be used when buffering network streams.
#buffering_mode ⇒ ClutterGst::BufferingMode
Returns a Clutter::GstBufferingMode.
#buffering_mode=(mode) ⇒ nil
#can_seek=(can_seek) ⇒ Boolean
Whether the current stream is seekable.
#can_seek? ⇒ Boolean
Whether the current stream is seekable.
#duration ⇒ Float
The duration of the current stream, in seconds
#duration=(duration) ⇒ Float
The duration of the current stream, in seconds
#filename=(filename) ⇒ nil
Sets the source of self using a file path.
#in_seek ⇒ Boolean
Whether the player is seeking.
#in_seek=(in_seek) ⇒ Boolean
Whether or not the stream is being seeked.
#in_seek? ⇒ Boolean
Whether or not the stream is being seeked.
#is_live_media ⇒ Boolean
Whether the player is using a live media.
#position ⇒ Float
Retrieves the position in the media stream that self represents.
#progress ⇒ Float
The current progress of the playback, as a normalized value between 0.0 and 1.0.
#progress=(progress) ⇒ Float
The current progress of the playback, as a normalized value between 0.0 and 1.0.
#seek_flags ⇒ ClutterGst::SeekFlags
Flags to use when seeking.
#seek_flags=(seek_flags) ⇒ ClutterGst::SeekFlags
Flags to use when seeking.
#subtitle_font_name ⇒ String
The font used to display subtitles. The font description has to follow the same grammar as the one recognized by pango_font_description_from_string().
#subtitle_font_name=(subtitle_font_name) ⇒ String
The font used to display subtitles. The font description has to follow the same grammar as the one recognized by pango_font_description_from_string().
#subtitle_track ⇒ Integer
Current subtitle track being displayed.
#subtitle_track=(subtitle_track) ⇒ Integer
Current subtitle track being displayed.
#subtitle_tracks ⇒ GObject
List of subtitle tracks available.
#subtitle_tracks=(subtitle_tracks) ⇒ GObject
List of subtitle tracks available.
#subtitle_uri ⇒ String
The location of a subtitle file, expressed as a valid URI.
#subtitle_uri=(subtitle_uri) ⇒ String
The location of a subtitle file, expressed as a valid URI.
#uri ⇒ String
The location of a media file, expressed as a valid URI.
#uri=(uri) ⇒ String
The location of a media file, expressed as a valid URI.
#user_agent ⇒ String
The User Agent used by Clutter::GstPlayback with network protocols.
#user_agent=(user_agent) ⇒ String
The User Agent used by Clutter::GstPlayback with network protocols.