I have implemented error handling on app level, is working fine on Desktop but fails on device.
When I try to run a webm video I get this log:
mediaplayer-app file:///home/phablet/Videos/Tears_of_Steel-Trailer.webm --desktop_file_hint=/usr/share/applications/mediaplayer-app.desktop
unity::action::ActionManager::ActionManager(QObject*):
Could not determine application identifier. HUD will not work properly.
Provide your application identifier in $APP_ID environment variable.
UCUriHandler: Empty "APP_ID" environment variable, ignoring.
Initializing AalServicePlugin
Creating a new static Service instance
virtual int AalMediaPlayerControl::volume() const
UbuntuWindow - fullscreen geometry
virtual QSGVideoNode* ShaderVideoNodePlugin::createNode(const QVideoSurfaceFormat&)
void AalVideoRendererControl::onTextureCreated(unsigned int) : textureId: 1
Creating video sink
** Setting GLConsumer instance
UbuntuWindow::handleSurfaceFocusChange(focused=true)
void AalVideoRendererControl::onGLConsumerSet()
virtual void core::ubuntu::media::ServiceStub::pause_other_sessions(core::ubuntu::media::Player::PlayerKey)
Actually calling m_hubPlayerSession->play()
Failed to start playback: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
Failed to get current playback position: org.freedesktop.DBus.Error.ServiceUnknown: The name core.ubuntu.media.Service was not provided by any .service files
Failed to get current playback position: org.freedesktop.DBus.Error.ServiceUnknown: The name core.ubuntu.media.Service was not provided by any .service files
** (process:551): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID
Failed to get current playback position: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
Failed to get current playback position: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
Failed to get current playback position: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
Failed to get current playback position: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
Failed to get current playback position: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
Failed to get current playback position: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
I have implemented error handling on app level, is working fine on Desktop but fails on device.
When I try to run a webm video I get this log:
mediaplayer-app file:// /home/phablet/ Videos/ Tears_of_ Steel-Trailer. webm --desktop_ file_hint= /usr/share/ applications/ mediaplayer- app.desktop action: :ActionManager: :ActionManager( QObject* ): ontrol: :volume( ) const
unity::
Could not determine application identifier. HUD will not work properly.
Provide your application identifier in $APP_ID environment variable.
UCUriHandler: Empty "APP_ID" environment variable, ignoring.
Initializing AalServicePlugin
Creating a new static Service instance
virtual int AalMediaPlayerC
virtual QMediaPlayer::State AalMediaPlayerC ontrol: :state( ) const
virtual QMediaPlayer: :MediaStatus AalMediaPlayerC ontrol: :mediaStatus( ) const
virtual QMediaPlayer: :MediaStatus AalMediaPlayerC ontrol: :mediaStatus( ) const
virtual int AalMediaPlayerC ontrol: :volume( ) const
virtual void AalMediaPlayerC ontrol: :stop()
PlaybackStatusC hanged signal arrived via the bus. ontrol: :setMedia( const QMediaContent&, QIODevice*)
virtual void AalMediaPlayerC
virtual QMediaPlayer: :MediaStatus AalMediaPlayerC ontrol: :mediaStatus( ) const
virtual QMediaPlayer: :MediaStatus AalMediaPlayerC ontrol: :mediaStatus( ) const
virtual QMediaPlayer: :MediaStatus AalMediaPlayerC ontrol: :mediaStatus( ) const
Setting media to: QUrl( "file:/ //home/ phablet/ Videos/ Tears_of_ Steel-Trailer. webm" ) rControl: :setupSurface( ) ontrol: :isMuted( ) const
void AalVideoRendere
virtual bool AalMediaPlayerC
virtual int AalMediaPlayerC ontrol: :volume( ) const
virtual bool AalMediaPlayerC ontrol: :isMuted( ) const
virtual int AalMediaPlayerC ontrol: :volume( ) const
virtual bool AalMediaPlayerC ontrol: :isMuted( ) const
virtual int AalMediaPlayerC ontrol: :volume( ) const
virtual void AalMediaPlayerC ontrol: :setMuted( bool)
virtual void AalMediaPlayerC ontrol: :setVolume( int)
virtual int AalMediaPlayerC ontrol: :volume( ) const
virtual void AalMediaPlayerC ontrol: :play()
virtual QMediaPlayer: :MediaStatus AalMediaPlayerC ontrol: :mediaStatus( ) const
virtual QMediaPlayer: :MediaStatus AalMediaPlayerC ontrol: :mediaStatus( ) const
UbuntuWindow - fullscreen geometry Plugin: :createNode( const QVideoSurfaceFo rmat&) rControl: :onTextureCreat ed(unsigned int) : textureId: 1 :handleSurfaceF ocusChange( focused= true) rControl: :onGLConsumerSe t() :media: :ServiceStub: :pause_ other_sessions( core::ubuntu: :media: :Player: :PlayerKey) ion->play( ) .DBus.Error. NoReply: Message did not receive a reply (timeout by message bus) .DBus.Error. ServiceUnknown: The name core.ubuntu. media.Service was not provided by any .service files .DBus.Error. ServiceUnknown: The name core.ubuntu. media.Service was not provided by any .service files
virtual QSGVideoNode* ShaderVideoNode
void AalVideoRendere
Creating video sink
** Setting GLConsumer instance
UbuntuWindow:
void AalVideoRendere
virtual void core::ubuntu:
Actually calling m_hubPlayerSess
Failed to start playback: org.freedesktop
Failed to get current playback position: org.freedesktop
Failed to get current playback position: org.freedesktop
** (process:551): WARNING **: Unable to register app: GDBus.Error: org.freedesktop .DBus.Error. InvalidArgs: Invalid application ID .DBus.Error. UnknownMethod: Method "Get" with signature "ss" on interface "org.freedeskto p.DBus. Properties" doesn't exist
Failed to get current playback position: org.freedesktop
Failed to get current playback position: org.freedesktop .DBus.Error. UnknownMethod: Method "Get" with signature "ss" on interface "org.freedeskto p.DBus. Properties" doesn't exist
Failed to get current playback position: org.freedesktop .DBus.Error. UnknownMethod: Method "Get" with signature "ss" on interface "org.freedeskto p.DBus. Properties" doesn't exist
Failed to get current playback position: org.freedesktop .DBus.Error. UnknownMethod: Method "Get" with signature "ss" on interface "org.freedeskto p.DBus. Properties" doesn't exist
Failed to get current playback position: org.freedesktop .DBus.Error. UnknownMethod: Method "Get" with signature "ss" on interface "org.freedeskto p.DBus. Properties" doesn't exist
Failed to get current playback position: org.freedesktop .DBus.Error. UnknownMethod: Method "Get" with signature "ss" on interface "org.freedeskto p.DBus. Properties" doesn't exist
^C ubuntu- phablet: ~$
phablet@