0

The gstreamer RTSP server supports basic username-password authentication (example). On the client side, the gstreamer playbin element supports playback from an RTSP server, like this:

playbin uri=rtsp://127.0.0.1:554/test

Is there a way to specify credentials (a username and password) on the client side when connecting to the stream?

1 Answer 1

1

From gst-inspect-1.0 rtspsrc:

  user-id             : RTSP location URI user id for authentication
                        flags: readable, writable
                        String. Default: null
  user-pw             : RTSP location URI user password for authentication
                        flags: readable, writable
                        String. Default: null

EDIT: Oh playbin..

Does it not accept user and password from URI? E.g:

playbin uri=rtsp://user:[email protected]/stream
Sign up to request clarification or add additional context in comments.

1 Comment

Dumb question, but what does happen when password contains an '@' as part of the password itself ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.