[
https://issues.apache.org/jira/browse/CB-9452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14654871#comment-14654871
]
ASF GitHub Bot commented on CB-9452:
------------------------------------
Github user johncblandii commented on the pull request:
https://github.com/apache/cordova-plugin-media/pull/63#issuecomment-127881080
I will happily write tests if I can see how to run them. :) I didn't see
the normal culprits for a test runner or anything in the README.
> 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 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: [email protected]
For additional commands, e-mail: [email protected]