Jetson Inference
DNN Vision Library
WebRTCServer.h File Reference
#include <libsoup/soup.h>
#include <stdint.h>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  WebRTCPeer
 Remote peer that has connected. More...
 
class  WebRTCServer
 WebRTC signalling server for establishing and negotiating connections with peers for bi-directional media streaming. More...
 
struct  WebRTCServer::HttpRoute
 
struct  WebRTCServer::WebsocketRoute
 

Macros

#define WEBRTC_DEFAULT_PORT   41567
 Default HTTP/websocket port used by the WebRTC server. More...
 
#define WEBRTC_DEFAULT_STUN_SERVER   "stun.l.google.com:19302"
 Default STUN server used for WebRTC. More...
 
#define LOG_WEBRTC   "[webrtc] "
 WebRTC logging prefix. More...
 

Enumerations

enum  WebRTCFlags {
  WEBRTC_PRIVATE = 0, WEBRTC_PUBLIC = (1 << 1), WEBRTC_AUDIO = (1 << 0), WEBRTC_VIDEO = (1 << 1),
  WEBRTC_SEND = (1 << 2), WEBRTC_RECEIVE = (1 << 3), WEBRTC_MULTI_CLIENT = (1 << 4), WEBRTC_PEER_CONNECTING = (1 << 5),
  WEBRTC_PEER_CONNECTED = (1 << 6), WEBRTC_PEER_STREAMING = (1 << 7), WEBRTC_PEER_CLOSED = (1 << 8)
}
 Flags for route decorators or peer state. More...