Top |
RygelMediaPlayerRygelMediaPlayer — This interface maps UPnP AVTransport:2 methods to the plugin's specific implementation. |
This interface is useful only when implementing Rygel renderer plugins. Instances of this interface are retrieved from rygel_media_renderer_plugin_get_player()
.
typedef struct _RygelMediaPlayer RygelMediaPlayer;
This interface maps UPnP AVTransport:2 methods to the plugin's specific implementation.
This interface is useful only when implementing Rygel renderer plugins. Instances of this interface are retrieved from rygel_media_renderer_plugin_get_player()
.
struct RygelMediaPlayerIface { GTypeInterface parent_iface; gboolean (*seek) (RygelMediaPlayer* self, gint64 time); gboolean (*seek_bytes) (RygelMediaPlayer* self, gint64 bytes); gchar** (*get_protocols) (RygelMediaPlayer* self, gint* result_length1); gchar** (*get_mime_types) (RygelMediaPlayer* self, gint* result_length1); gchar* (*get_playback_state) (RygelMediaPlayer* self); void (*set_playback_state) (RygelMediaPlayer* self, const gchar* value); gchar** (*get_allowed_playback_speeds) (RygelMediaPlayer* self, gint* result_length1); gchar* (*get_playback_speed) (RygelMediaPlayer* self); void (*set_playback_speed) (RygelMediaPlayer* self, const gchar* value); gchar* (*get_uri) (RygelMediaPlayer* self); void (*set_uri) (RygelMediaPlayer* self, const gchar* value); gdouble (*get_volume) (RygelMediaPlayer* self); void (*set_volume) (RygelMediaPlayer* self, gdouble value); gint64 (*get_duration) (RygelMediaPlayer* self); gint64 (*get_size) (RygelMediaPlayer* self); gchar* (*get_metadata) (RygelMediaPlayer* self); void (*set_metadata) (RygelMediaPlayer* self, const gchar* value); gchar* (*get_mime_type) (RygelMediaPlayer* self); void (*set_mime_type) (RygelMediaPlayer* self, const gchar* value); gboolean (*get_can_seek) (RygelMediaPlayer* self); gboolean (*get_can_seek_bytes) (RygelMediaPlayer* self); gchar* (*get_content_features) (RygelMediaPlayer* self); void (*set_content_features) (RygelMediaPlayer* self, const gchar* value); gint64 (*get_position) (RygelMediaPlayer* self); gint64 (*get_byte_position) (RygelMediaPlayer* self); gchar* (*get_user_agent) (RygelMediaPlayer* self); void (*set_user_agent) (RygelMediaPlayer* self, const gchar* value); };
Interface for creating RygelMediaPlayer implementations.
the parent interface structure |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
getter method for the abstract property "playback-state" |
||
setter method for the abstract property "playback-state" |
||
getter method for the abstract property "allowed-playback-speeds" |
||
getter method for the abstract property "playback-speed" |
||
setter method for the abstract property "playback-speed" |
||
getter method for the abstract property "uri" |
||
setter method for the abstract property "uri" |
||
getter method for the abstract property "volume" |
||
setter method for the abstract property "volume" |
||
getter method for the abstract property "duration" |
||
getter method for the abstract property "size" |
||
getter method for the abstract property "metadata" |
||
setter method for the abstract property "metadata" |
||
getter method for the abstract property "mime-type" |
||
setter method for the abstract property "mime-type" |
||
getter method for the abstract property "can-seek" |
||
getter method for the abstract property "can-seek-bytes" |
||
getter method for the abstract property "content-features" |
||
setter method for the abstract property "content-features" |
||
getter method for the abstract property "position" |
||
getter method for the abstract property "byte-position" |
||
getter method for the abstract property "user-agent" |
||
setter method for the abstract property "user-agent" |