View Source Membrane.RTSP.Logic (Membrane RTSP v0.3.2)

Logic for RTSP session

Link to this section Summary

Link to this section Functions

Link to this function

apply_credentials(request, uri, auth)

View Source
Link to this function

detect_authentication_type(response, state)

View Source
@spec detect_authentication_type(
  Membrane.RTSP.Response.t(),
  Membrane.RTSP.Logic.State.t()
) ::
  {:ok, Membrane.RTSP.Logic.State.t()}
Link to this function

encode_digest(request, uri, options)

View Source
@spec execute(Membrane.RTSP.Request.t(), Membrane.RTSP.Logic.State.t()) ::
  {:ok, binary()} | {:error, reason :: any()}
Link to this function

handle_session_id(response, state)

View Source
@spec handle_session_id(Membrane.RTSP.Response.t(), Membrane.RTSP.Logic.State.t()) ::
  {:ok, Membrane.RTSP.Logic.State.t()} | {:error, reason :: any()}
Link to this function

inject_session_header(request, session_id)

View Source
@spec inject_session_header(Membrane.RTSP.Request.t(), binary()) ::
  Membrane.RTSP.Request.t()
@spec md5([String.t()]) :: String.t()
@spec user_agent() :: binary()