. I tested the endpoint with VLC and it works and I can see the stream so the credentials are good. I wanted to obtain some information from the camera so I wanted to get information about the session as per the RTSP documentation:
alias Membrane.RTSPalias Membrane.RTSP.Responsealias Membrane.RTSP.Requesturl = "rtsp://myadmin:[email protected]:554/stream1"{:ok, session} = RTSP.start_link(url)RTSP.describe(session)
alias Membrane.RTSPalias Membrane.RTSP.Responsealias Membrane.RTSP.Requesturl = "rtsp://myadmin:[email protected]:554/stream1"{:ok, session} = RTSP.start_link(url)RTSP.describe(session)
However, I received:
iex> {:error, {:invalid_addrtype, "o=- 14665860 31787219 1 IN IP4 192.168.1.10"}}
iex> {:error, {:invalid_addrtype, "o=- 14665860 31787219 1 IN IP4 192.168.1.10"}}
So I reproduced the steps that are taken by the library to see where the error could happen:
VLC by default utilises Digest and ommits Basic authentication. Am I setting something wrong or missing opts somewhere? Is there any place you could recommend to look at when trying to view all available opts and their values (or examples of them)? Thank you!