Skip to main content

Nx 5.0 RTSP Stream Authentication Fail

Answered

Comments

5 comments

  • Norman
    • Network Optix team

    Hi Yihsuan Hsueh,

    If you don't use the digest authentication, you should use the default bearer authentication instead.

    0
  • Yihsuan Hsueh

    Hi Norman,

    I am wondering how to use bearer authentication to open the RTSP stream.

    Is there any sample code or player I can use to open RTSP stream with bearer authentication?

     

    0
  • Norman
    • Network Optix team

    Hi Yihsuan Hsueh,

    The documentation is shown in the Nx WebAdmin under the API documentation:

    1. Click on the Sever name.
    2. Select API documentation.
    3. Select API Information.
    4. Scroll down for the Authentication section.

    Here you will find all information regarding Bearer Authentication.

    For the full documentation about Bearer Authentication, please check the RFC 6750.

     

    0
  • Makoto Ogata

    Hi Norman (Yihsuan_Hsueh),

    Sorry to interrupt your discussion, but I would like to know how to use bearer token to play RTSP stream from Nx server ver.5.0.

    I understood how to generate bearer token from Nx server, and there are sample codes how to use token for HTTP request on the API documentation, but I couldn't find how to use it for RTSP stream.

    Could you share sample code to do it? (ex. gstreamer script to do it)

    Thank you.

    0
  • Andrey Terentyev
    • Network Optix team

    Hello everybody,

    At the moment, it's not possible to play RTSP stream using bearer authentication. The recommended way is creating a user with digest authentication and using that account for API invocation.

    0

Please sign in to leave a comment.