cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John C. Bland II (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-9452) RTSP Streams are considered local resources on playback
Date Wed, 05 Aug 2015 04:56:04 GMT
John C. Bland II created CB-9452:
------------------------------------

             Summary: 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: Android
            Reporter: John C. Bland II
            Priority: Blocker


Cordova 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


Mime
View raw message