#include <player.h>
Inheritance diagram for core::ubuntu::media::Player:
Collaboration diagram for core::ubuntu::media::Player:Classes | |
| struct | Client |
| struct | Configuration |
| struct | Errors |
Public Types | |
| enum | PlaybackStatus { null, ready, playing, paused, stopped } |
| enum | LoopStatus { none, track, playlist } |
| enum | AudioStreamRole { alarm, alert, multimedia, phone } |
| enum | Orientation { rotate0, rotate90, rotate180, rotate270 } |
| enum | Lifetime { normal, resumable } |
| enum | Error { no_error, resource_error, format_error, network_error, access_denied_error, service_missing_error } |
| typedef double | PlaybackRate |
| typedef double | Volume |
| typedef uint32_t | PlayerKey |
| typedef void * | GLConsumerWrapperHybris |
| typedef std::map< std::string, std::string > | HeadersType |
Public Member Functions | |
| Player (const Player &)=delete | |
| virtual | ~Player () |
| Player & | operator= (const Player &)=delete |
| bool | operator== (const Player &) const =delete |
| virtual std::string | uuid () const =0 |
| virtual void | reconnect ()=0 |
| virtual void | abandon ()=0 |
| virtual std::shared_ptr< TrackList > | track_list ()=0 |
| virtual PlayerKey | key () const =0 |
| virtual video::Sink::Ptr | create_gl_texture_video_sink (std::uint32_t texture_id)=0 |
| virtual bool | open_uri (const Track::UriType &uri)=0 |
| virtual bool | open_uri (const Track::UriType &uri, const HeadersType &)=0 |
| virtual void | next ()=0 |
| virtual void | previous ()=0 |
| virtual void | play ()=0 |
| virtual void | pause ()=0 |
| virtual void | stop ()=0 |
| virtual void | seek_to (const std::chrono::microseconds &offset)=0 |
| virtual const core::Property< bool > & | can_play () const =0 |
| virtual const core::Property< bool > & | can_pause () const =0 |
| virtual const core::Property< bool > & | can_seek () const =0 |
| virtual const core::Property< bool > & | can_go_previous () const =0 |
| virtual const core::Property< bool > & | can_go_next () const =0 |
| virtual const core::Property< bool > & | is_video_source () const =0 |
| virtual const core::Property< bool > & | is_audio_source () const =0 |
| virtual const core::Property< PlaybackStatus > & | playback_status () const =0 |
| virtual const core::Property< LoopStatus > & | loop_status () const =0 |
| virtual const core::Property< PlaybackRate > & | playback_rate () const =0 |
| virtual const core::Property< bool > & | shuffle () const =0 |
| virtual const core::Property< Track::MetaData > & | meta_data_for_current_track () const =0 |
| virtual const core::Property< Volume > & | volume () const =0 |
| virtual const core::Property< PlaybackRate > & | minimum_playback_rate () const =0 |
| virtual const core::Property< PlaybackRate > & | maximum_playback_rate () const =0 |
| virtual const core::Property< int64_t > & | position () const =0 |
| virtual const core::Property< int64_t > & | duration () const =0 |
| virtual const core::Property< AudioStreamRole > & | audio_stream_role () const =0 |
| virtual const core::Property< Orientation > & | orientation () const =0 |
| virtual const core::Property< Lifetime > & | lifetime () const =0 |
| virtual core::Property< LoopStatus > & | loop_status ()=0 |
| virtual core::Property< PlaybackRate > & | playback_rate ()=0 |
| virtual core::Property< bool > & | shuffle ()=0 |
| virtual core::Property< Volume > & | volume ()=0 |
| virtual core::Property< AudioStreamRole > & | audio_stream_role ()=0 |
| virtual core::Property< Lifetime > & | lifetime ()=0 |
| virtual const core::Signal< int64_t > & | seeked_to () const =0 |
| virtual const core::Signal< void > & | about_to_finish () const =0 |
| virtual const core::Signal< void > & | end_of_stream () const =0 |
| virtual core::Signal< PlaybackStatus > & | playback_status_changed ()=0 |
| virtual const core::Signal< video::Dimensions > & | video_dimension_changed () const =0 |
| virtual const core::Signal< Error > & | error () const =0 |
Protected Member Functions | |
| Player () | |
| typedef void* core::ubuntu::media::Player::GLConsumerWrapperHybris |
| typedef std::map<std::string, std::string> core::ubuntu::media::Player::HeadersType |
| typedef double core::ubuntu::media::Player::PlaybackRate |
| typedef uint32_t core::ubuntu::media::Player::PlayerKey |
| typedef double core::ubuntu::media::Player::Volume |
|
delete |
|
virtual |
Definition at line 57 of file player.cpp.
|
protected |
Definition at line 53 of file player.cpp.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Signals all errors and warnings (typically from GStreamer and below)
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub.
|
delete |
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.
|
pure virtual |
Implemented in core::ubuntu::media::PlayerSkeleton, and core::ubuntu::media::PlayerStub.