ark::rtsp::SessionDescription

Defined in header “ark/rtsp/sdp_parser.hh”.


This class represents a SDP object, allowing you to access the various attributes/fields in a SDP programmatically.

Methods

  • SessionDescription(std::string_view session_description)
    Constructor. Initializes and loads the given session description.

  • const std::string & session_name()
    Returns the session name.

  • const std::vector< SessionMediaDescription > & media_descriptions()
    Returns all of the parsed media description elements.

  • const std::vector< SessionTimeDescription > & time_descriptions()
    Returns all of the parsed time description elements.