RTSP - @ionic-native/streaming-media

#1

Hi dear,

Im trying to reproduce a video in my app using the RTSP protocol with the following code:

let option: StreamingVideoOptions = 
    {
      successCallback: () => { console.warn("video playing") },
      errorCallback: (error) => { console.error("error on video", error.message) },
      orientation: 'portrait'
    }

      this.streamingMedia.playVideo("rtsp://user:pass@CAMIP:PORT/cam/realmonitor?channel=8", option);

My app open the player but the video doesnt play.
I tested the same link with the VLC and it worked successfully.

Any help?

1 Like