Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9452

RTSP Streams are considered local resources on playback

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-plugin-media

    Description

      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:

          public boolean isStreaming(String file) {
              if (file.contains("http://") || file.contains("https://") || file.contains("rtsp://")) {
                  return true;
              }
              else {
                  return false;
              }
          }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            johncblandii John C. Bland II
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: