#include <player_implementation.h>
Public Member Functions | |
PlayerImplementation (const std::string &identity, const std::shared_ptr< core::dbus::Bus > &bus, const std::shared_ptr< core::dbus::Object > &session, const std::shared_ptr< Service > &service, PlayerKey key) | |
~PlayerImplementation () | |
virtual std::shared_ptr < TrackList > | track_list () |
virtual PlayerKey | key () const |
virtual bool | open_uri (const Track::UriType &uri) |
virtual bool | open_uri (const Track::UriType &uri, const Player::HeadersType &headers) |
virtual void | create_video_sink (uint32_t texture_id) |
virtual GLConsumerWrapperHybris | gl_consumer () const |
virtual void | next () |
virtual void | previous () |
virtual void | play () |
virtual void | pause () |
virtual void | stop () |
virtual void | set_frame_available_callback (FrameAvailableCb cb, void *context) |
virtual void | set_playback_complete_callback (PlaybackCompleteCb cb, void *context) |
virtual void | seek_to (const std::chrono::microseconds &offset) |
const core::Signal & | on_client_disconnected () const |
![]() | |
~PlayerSkeleton () | |
virtual const core::Property < bool > & | can_play () const |
virtual const core::Property < bool > & | can_pause () const |
virtual const core::Property < bool > & | can_seek () const |
virtual const core::Property < bool > & | can_go_previous () const |
virtual const core::Property < bool > & | can_go_next () const |
virtual const core::Property < bool > & | is_video_source () const |
virtual const core::Property < bool > & | is_audio_source () const |
virtual const core::Property < PlaybackStatus > & | playback_status () const |
virtual const core::Property < LoopStatus > & | loop_status () const |
virtual const core::Property < PlaybackRate > & | playback_rate () const |
virtual const core::Property < bool > & | is_shuffle () const |
virtual const core::Property < Track::MetaData > & | meta_data_for_current_track () const |
virtual const core::Property < Volume > & | volume () const |
virtual const core::Property < PlaybackRate > & | minimum_playback_rate () const |
virtual const core::Property < PlaybackRate > & | maximum_playback_rate () const |
virtual const core::Property < int64_t > & | position () const |
virtual const core::Property < int64_t > & | duration () const |
virtual const core::Property < AudioStreamRole > & | audio_stream_role () const |
virtual const core::Property < Orientation > & | orientation () const |
virtual const core::Property < Lifetime > & | lifetime () const |
virtual core::Property < LoopStatus > & | loop_status () |
virtual core::Property < PlaybackRate > & | playback_rate () |
virtual core::Property< bool > & | is_shuffle () |
virtual core::Property< Volume > & | volume () |
virtual core::Property < AudioStreamRole > & | audio_stream_role () |
virtual core::Property < Lifetime > & | lifetime () |
virtual const core::Signal < int64_t > & | seeked_to () const |
virtual const core::Signal < void > & | end_of_stream () const |
virtual core::Signal < PlaybackStatus > & | playback_status_changed () |
virtual const core::Signal < uint64_t > & | video_dimension_changed () const |
![]() | |
Player (const Player &)=delete | |
virtual | ~Player () |
Player & | operator= (const Player &)=delete |
bool | operator== (const Player &) const =delete |
Additional Inherited Members | |
![]() | |
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 } |
typedef double | PlaybackRate |
typedef double | Volume |
typedef uint32_t | PlayerKey |
typedef void * | GLConsumerWrapperHybris |
typedef std::map< std::string, std::string > | HeadersType |
typedef void(* | FrameAvailableCbHybris )(GLConsumerWrapperHybris wrapper, void *context) |
typedef void(* | FrameAvailableCb )(void *context) |
typedef void(* | PlaybackCompleteCb )(void *context) |
![]() | |
PlayerSkeleton (const Configuration &configuration) | |
virtual core::Property < PlaybackStatus > & | playback_status () |
virtual core::Property< bool > & | can_play () |
virtual core::Property< bool > & | can_pause () |
virtual core::Property< bool > & | can_seek () |
virtual core::Property< bool > & | can_go_previous () |
virtual core::Property< bool > & | can_go_next () |
virtual core::Property< bool > & | is_video_source () |
virtual core::Property< bool > & | is_audio_source () |
virtual core::Property < Track::MetaData > & | meta_data_for_current_track () |
virtual core::Property < PlaybackRate > & | minimum_playback_rate () |
virtual core::Property < PlaybackRate > & | maximum_playback_rate () |
virtual core::Property< int64_t > & | position () |
virtual core::Property< int64_t > & | duration () |
virtual core::Property < Orientation > & | orientation () |
virtual core::Signal< int64_t > & | seeked_to () |
virtual core::Signal< void > & | end_of_stream () |
virtual core::Signal< uint64_t > & | video_dimension_changed () |
![]() | |
Player () | |
Definition at line 35 of file player_implementation.h.
core::ubuntu::media::PlayerImplementation::PlayerImplementation | ( | const std::string & | identity, |
const std::shared_ptr< core::dbus::Bus > & | bus, | ||
const std::shared_ptr< core::dbus::Object > & | session, | ||
const std::shared_ptr< Service > & | service, | ||
PlayerKey | key | ||
) |
core::ubuntu::media::PlayerImplementation::~PlayerImplementation | ( | ) |
|
virtual |
Implements core::ubuntu::media::Player.
|
virtual |
Implements core::ubuntu::media::Player.
|
virtual |
Implements core::ubuntu::media::Player.
|
virtual |
Implements core::ubuntu::media::Player.
const core::Signal& core::ubuntu::media::PlayerImplementation::on_client_disconnected | ( | ) | const |
|
virtual |
Implements core::ubuntu::media::Player.
|
virtual |
Implements core::ubuntu::media::Player.
|
virtual |
Implements core::ubuntu::media::Player.
|
virtual |
Implements core::ubuntu::media::Player.
|
virtual |
Implements core::ubuntu::media::Player.
|
virtual |
Implements core::ubuntu::media::Player.
|
virtual |
Implements core::ubuntu::media::Player.
|
virtual |
Implements core::ubuntu::media::Player.
|
virtual |
Implements core::ubuntu::media::Player.
|
virtual |
Implements core::ubuntu::media::Player.