RTSP - @ionic-native/streaming-media

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?

2 Likes

Did you fix it? The same problem

I have the same problems. Can you success ??
Regards