← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1533779] Re: media-hub not allowing audio/video playback for confined messaging-app

 

This bug was fixed in the package media-hub -
4.1.0+16.04.20160115.1-0ubuntu1

---------------
media-hub (4.1.0+16.04.20160115.1-0ubuntu1) xenial; urgency=medium

  * Make sure that an apparmor profile_name of the format com.ubuntu.my-
    app is supported as well as improve the error handling and reporting
    for when a client does not have the proper apparmor permissions to
    play a given media URI (LP: #1533779)

 -- Jim Hodapp <ci-train-bot@xxxxxxxxxxxxx>  Fri, 15 Jan 2016 15:44:54
+0000

** Changed in: media-hub (Ubuntu)
       Status: Fix Committed => Fix Released

** Changed in: qtubuntu-media (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtubuntu-media in Ubuntu.
https://bugs.launchpad.net/bugs/1533779

Title:
  media-hub not allowing audio/video playback for confined messaging-app

Status in Canonical System Image:
  Fix Committed
Status in media-hub package in Ubuntu:
  Fix Released
Status in qtubuntu-media package in Ubuntu:
  Fix Released
Status in media-hub package in Ubuntu RTM:
  Fix Released
Status in qtubuntu-media package in Ubuntu RTM:
  Fix Released

Bug description:
  messaging-app is now running confined, it can be tested by installing
  silo 52

  With it running in confinement, we are getting media-hub errors trying
  to playback audio and video with these errors:

  Audio playback:

  terminate called after throwing an instance of 'std::logic_error'
    what():  apparmor::ubuntu::Context: Invalid profile name messaging-app
  CallMonitor: Creating TelepathyBridge

  Video playback:

  audio_sink: pulsesink
  video_sink: mirsink
  Audio stream role: props,media.role=multimedia
  terminate called after throwing an instance of 'std::logic_error'
    what():  apparmor::ubuntu::Context: Invalid profile name messaging-app
  CallMonitor: Creating TelepathyBridge
  Connection to PulseAudio has been successfully established.
  PulseAudio sink details for sink.primary with index 0 is available:
    Output to wired headphone: false
    Output to wired headset: false
  Checking if port is available  -> false
  PulseAudio sink details for sink.primary with index 0 is available:
    Output to wired headphone: false
    Output to wired headset: false

  Please fix media-hub to allow messaging-app to play audio/video
  correctly

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