MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
sap_listener.h File Reference

Session Announcement Protocol (SDP) implementation for listening to announcements of stream data. The SAP packet contains the Session Description Protocol (SDP). More...

#include <arpa/inet.h>
#include <ifaddrs.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <stdint.h>
#include <unistd.h>
#include <functional>
#include <map>
#include <memory>
#include <string>
#include <string_view>
#include <thread>
#include "rtp/rtp_types.h"
Include dependency graph for sap_listener.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mediax::sap::SdpMessage
 A simplified SDP message structure. More...
 
class  mediax::sap::SapListener
 Class definition of the SAPListener. More...
 

Namespaces

namespace  mediax
 The Astute Systems (MediaX) library for video streaming.
 
namespace  mediax::sap
 The Session Announcment Protocol (SAP)/ Session Description Protocol (SDP) namespace.
 

Typedefs

using mediax::sap::SapCallback = std::function< void(sap::SdpMessage *sdp, void *data)>
 The SAPListener class is a singleton that listens for SAP/SDP announcements on the network.
 

Enumerations

enum class  mediax::sap::SdpTypeEnum {
  kProtocolVersion , kOriginatorSessionIdentifier , kSessionName , kSessionInformation ,
  kUriOfDescription , kEmailAddress , kPhoneNumber , kConnectionInformation ,
  kBandwidthInformation , kSessionAttribute , kTimeSessionActive , kMediaNameAndTransportAddress ,
  kMediaTitle , KConnectionInformation , kUnknown
}
 

Detailed Description

Session Announcement Protocol (SDP) implementation for listening to announcements of stream data. The SAP packet contains the Session Description Protocol (SDP).