Search Unity

Question Videoplayer and rstp protocol

Discussion in 'Audio & Video' started by Kafar, Nov 24, 2020.

  1. Kafar

    Kafar

    Joined:
    Nov 29, 2012
    Posts:
    220
    Hello!

    I need to play stream from a IP camera to shows in the Oculus Quest 2 app, then Android.
    I tried to put the rstp://user:pass@https://xxx.xxx.xxx.xxx string directly in VideoPlayer but the result is VideoPlayer can't play this URL.

    Then, I used an external service to convert the stream from rstp to https and I put the https://Externalservice/26dc737d9 but the result is: AndroidVideoMedia: Error opening extractor: -1000

    There is a solution or a workaround??
    Thanks.