You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2015/10/27 22:54:27 UTC

[jira] [Updated] (CB-9452) RTSP Streams are considered local resources on playback

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

Joe Bowser updated CB-9452:
---------------------------
         Labels: Android  (was: )
    Component/s:     (was: Android)
                 Plugin Media

> RTSP Streams are considered local resources on playback
> -------------------------------------------------------
>
>                 Key: CB-9452
>                 URL: https://issues.apache.org/jira/browse/CB-9452
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media
>            Reporter: John C. Bland II
>              Labels: Android
>
> Cordova Media plugin fails to play when attempting to play an RTSP stream. The stream is treated as a local resource so in AudioPlayer.java:305.
> Fix: 
> {code}
>     public boolean isStreaming(String file) {
>         if (file.contains("http://") || file.contains("https://") || file.contains("rtsp://")) {
>             return true;
>         }
>         else {
>             return false;
>         }
>     }
> {code}



--
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