[ 
https://issues.apache.org/jira/browse/CB-9884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14977654#comment-14977654
 ] 

ASF GitHub Bot commented on CB-9884:
------------------------------------

GitHub user ghenry22 opened a pull request:

    https://github.com/apache/cordova-plugin-media/pull/74

    fix CB-9884 & CB-9885 on windows platform

    CB-9884 - windows platform - add support for streaming url prefixes that do 
not end in a file
    extension, so the media plugin can playback streaming audio.
    
    CB-9885 - windows platform - add base requirements for enabling background 
audio in a windows app, does not change default behaviour of the plugin but 
adds the required configuration for the user to enable background audio in 
their app if they wish.  See Jira issue for more details on enabling background 
audio.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ghenry22/cordova-plugin-media 
windows_media_fixes

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-media/pull/74.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #74
    
----
commit c8a89fd712076a0e5f4bee9cf40ad19b79076808
Author: ghenry22 <[email protected]>
Date:   2015-10-28T03:28:52Z

    fix CB-9884 & CB-9885
    
    add support for streaming url prefixes that do not end in a file
    extension
    add base requirements for enabling background audio in a windows app

----


> Windows platform cannot play audio from http stream if url does not end with 
> a supported file extension
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CB-9884
>                 URL: https://issues.apache.org/jira/browse/CB-9884
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media
>         Environment: cordova platform windows
> Windows 10 Universal App
>            Reporter: Gaven Henry
>            Priority: Critical
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> on platform-windows the media plugin checks that the audio source is 
> supported by looking for a supported file extension (eg .mp3).  If it is not 
> found then the media object create() fails.
> When streaming media from a remote server the url will often not end with a 
> file extension (for example playing a music stream from the subsonic music 
> server).
> Need to add prefix detection as well to enable the plugin to play from http, 
> https and rtsp prefixed addresses.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to