ark::rtsp::SessionMediaDescription

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


Contains information related to a media stream.

Methods

  • std::optional< std::string > codec()
    Returns the codec for this stream, if possible.

  • std::optional< std::string > control()
    Returns the control block for this stream, if possible.

Variables

  • std::string media_type
    Type of media (audio/video).

  • std::string protocol
    Protocol (RTP/AVP)

  • std::string identifier
    A unit identifier.

  • std::vector< std::string > attributes
    A list of additional attributes added in.