← Back to team overview

touch-packages team mailing list archive

[Bug 1442473] [NEW] Notification instantiates qt.mediaplayer even when not playing any sound

 

Public bug reported:

phablet@ubuntu-phablet:~$ system-image-cli -i
current build number: 166
device name: mako
channel: ubuntu-touch/devel-proposed
alias: ubuntu-touch/vivid-proposed
last update: 2015-04-09 16:57:42
version version: 166
version ubuntu: 20150409
version device: 20150210
version custom: 20150409

This is specially annoying as it happens every time you change the
volume without an active notification. Side effect is that it fires up
media-hub, that initializes gstreamer for not really playing anything.

Just press volume up/down and check the unity8/media-hub logs:

$ tail -f ./.cache/upstart/unity8.log
virtual QMediaService* AalServicePlugin::create(const QString&) "org.qt-project.qt.mediaplayer"
Creating a new static Service instance
virtual int AalMediaPlayerControl::volume() const 
void AalMediaPlayerService::createMetaDataReaderControl()
virtual QMediaPlayer::State AalMediaPlayerControl::state() const 
virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 
virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 
virtual void AalMediaPlayerControl::setAudioRole(QMediaPlayer::AudioRole)
void AalMediaPlayerService::setAudioRole(QMediaPlayer::AudioRole)
virtual void AalMediaPlayerControl::stop() 
PlaybackStatusChanged signal arrived via the bus.
virtual void AalMediaPlayerControl::setMedia(const QMediaContent&, QIODevice*) 
void AalMetaDataReaderControl::onMediaChanged(const QMediaContent&)
void AalMetaDataReaderControl::updateMetaData()
Not updating metadata since the source has not been set.
void AalMediaPlayerControl::playbackComplete() 
virtual void AalMediaPlayerControl::stop() 
virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 
virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 
virtual void AalMediaPlayerControl::play() 
virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 
virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 
virtual void AalMediaPlayerControl::stop() 
virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 
virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

$ tail -f ./.cache/upstart/media-hub.log
audio_sink: pulsesink
video_sink: mirsink
Creating a new Engine instance in gstreamer::Engine::Engine()
Private parent instance: 0xabc4c2a4
Audio stream role: props,media.role=multimedia
Audio stream role: props,media.role=alert
void core::ubuntu::media::PlayerImplementation<Parent>::stop() [with Parent = core::ubuntu::media::PlayerSkeleton]
bool gstreamer::Playbin::set_state_and_wait(GstState): requested state change.
Setting state for parent: 0xabc4c2a4
virtual bool gstreamer::Engine::stop()
Emiting playback_status_changed for parent: 0xabc4c2a4
void core::ubuntu::media::PlayerImplementation<Parent>::stop() [with Parent = core::ubuntu::media::PlayerSkeleton]
void core::ubuntu::media::PlayerImplementation<Parent>::stop() [with Parent = core::ubuntu::media::PlayerSkeleton]

** Affects: canonical-devices-system-image
     Importance: Undecided
         Status: New

** Affects: unity-notifications (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: unity8 (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: unity-notifications (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1442473

Title:
  Notification instantiates qt.mediaplayer even when not playing any
  sound

Status in the base for Ubuntu mobile products:
  New
Status in unity-notifications package in Ubuntu:
  New
Status in unity8 package in Ubuntu:
  New

Bug description:
  phablet@ubuntu-phablet:~$ system-image-cli -i
  current build number: 166
  device name: mako
  channel: ubuntu-touch/devel-proposed
  alias: ubuntu-touch/vivid-proposed
  last update: 2015-04-09 16:57:42
  version version: 166
  version ubuntu: 20150409
  version device: 20150210
  version custom: 20150409

  This is specially annoying as it happens every time you change the
  volume without an active notification. Side effect is that it fires up
  media-hub, that initializes gstreamer for not really playing anything.

  Just press volume up/down and check the unity8/media-hub logs:

  $ tail -f ./.cache/upstart/unity8.log
  virtual QMediaService* AalServicePlugin::create(const QString&) "org.qt-project.qt.mediaplayer"
  Creating a new static Service instance
  virtual int AalMediaPlayerControl::volume() const 
  void AalMediaPlayerService::createMetaDataReaderControl()
  virtual QMediaPlayer::State AalMediaPlayerControl::state() const 
  virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 
  virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 
  virtual void AalMediaPlayerControl::setAudioRole(QMediaPlayer::AudioRole)
  void AalMediaPlayerService::setAudioRole(QMediaPlayer::AudioRole)
  virtual void AalMediaPlayerControl::stop() 
  PlaybackStatusChanged signal arrived via the bus.
  virtual void AalMediaPlayerControl::setMedia(const QMediaContent&, QIODevice*) 
  void AalMetaDataReaderControl::onMediaChanged(const QMediaContent&)
  void AalMetaDataReaderControl::updateMetaData()
  Not updating metadata since the source has not been set.
  void AalMediaPlayerControl::playbackComplete() 
  virtual void AalMediaPlayerControl::stop() 
  virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 
  virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 
  virtual void AalMediaPlayerControl::play() 
  virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 
  virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 
  virtual void AalMediaPlayerControl::stop() 
  virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 
  virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const 

  $ tail -f ./.cache/upstart/media-hub.log
  audio_sink: pulsesink
  video_sink: mirsink
  Creating a new Engine instance in gstreamer::Engine::Engine()
  Private parent instance: 0xabc4c2a4
  Audio stream role: props,media.role=multimedia
  Audio stream role: props,media.role=alert
  void core::ubuntu::media::PlayerImplementation<Parent>::stop() [with Parent = core::ubuntu::media::PlayerSkeleton]
  bool gstreamer::Playbin::set_state_and_wait(GstState): requested state change.
  Setting state for parent: 0xabc4c2a4
  virtual bool gstreamer::Engine::stop()
  Emiting playback_status_changed for parent: 0xabc4c2a4
  void core::ubuntu::media::PlayerImplementation<Parent>::stop() [with Parent = core::ubuntu::media::PlayerSkeleton]
  void core::ubuntu::media::PlayerImplementation<Parent>::stop() [with Parent = core::ubuntu::media::PlayerSkeleton]

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1442473/+subscriptions


Follow ups

References