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

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

Github user purplecabbage commented on the pull request:

    
https://github.com/apache/cordova-plugin-media/pull/63#issuecomment-161146830
  
    
https://github.com/apache/cordova-plugin-media/commit/f21a2815fba843cb7a8f414f35208424b892e232



> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to