cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dw1 (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-11369) Media Plugin: Ignore ANDROID_LOOP exif header
Date Fri, 03 Jun 2016 09:40:59 GMT

     [ https://issues.apache.org/jira/browse/CB-11369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

dw1 updated CB-11369:
---------------------
    Description: 
Any sound file that has an ANDROID_LOOP=true exif header, such as many of the /system/media/audio
files included with Lollipop, will always loop forever even if only expected to play once
via the media plugin. This can lead to having to shut down an app to stop the sound. The plugin
should ignore the header and play the sound once unless using the plugin loop feature, as
expected.

My big ugly workaround is to monitor the duration of the file and destroy the media at about
the right time: http://pastebin.com/raw/Q9kCriab

  was:
Any sound file that has an ANDROID_LOOP=true exif header, such as many of the /system/media/audio
files included with Lollipop, will always loop forever even if only expected to play once
via the media plugin. This can lead to having to shut down an app to stop the sound. The plugin
should ignore the header and play the sound once unless using the plugin loop feature, as
expected.

My workaround is to monitor the duration of the file and destroy the media at about the right
time: http://pastebin.com/raw/Q9kCriab


> Media Plugin: Ignore ANDROID_LOOP exif header
> ---------------------------------------------
>
>                 Key: CB-11369
>                 URL: https://issues.apache.org/jira/browse/CB-11369
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin Media
>            Reporter: dw1
>
> Any sound file that has an ANDROID_LOOP=true exif header, such as many of the /system/media/audio
files included with Lollipop, will always loop forever even if only expected to play once
via the media plugin. This can lead to having to shut down an app to stop the sound. The plugin
should ignore the header and play the sound once unless using the plugin loop feature, as
expected.
> My big ugly workaround is to monitor the duration of the file and destroy the media at
about the right time: http://pastebin.com/raw/Q9kCriab



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message