|
libcrtc
|
#include <crtc.h>
Classes | |
| struct | RTCAnswerOptions |
| struct | RTCConfiguration |
| struct | RTCDataChannelInit |
| struct | RTCIceCandidate |
| struct | RTCIceServer |
| struct | RTCOfferAnswerOptions |
| struct | RTCOfferOptions |
| struct | RTCSessionDescription |
Public Types | |
| enum | RTCSignalingState { kStable, kHaveLocalOffer, kHaveLocalPrAnswer, kHaveRemoteOffer, kHaveRemotePrAnswer, kSignalingClosed } |
| enum | RTCIceGatheringState { kNewGathering, kGathering, kComplete } |
| enum | RTCIceConnectionState { kNew, kChecking, kConnected, kCompleted, kFailed, kDisconnected, kClosed } |
| enum | RTCBundlePolicy { kBalanced, kMaxBundle, kMaxCompat } |
| enum | RTCIceTransportPolicy { kRelay, kPublic, kAll } |
| enum | RTCRtcpMuxPolicy { kNegotiate, kRequire } |
| typedef struct crtc::RTCPeerConnection::RTCDataChannelInit | RTCDataChannelInit |
| typedef std::vector< RTCIceServer > | RTCIceServers |
| typedef struct crtc::RTCPeerConnection::RTCConfiguration | RTCConfiguration |
| typedef Functor< void(const Let< MediaStream > &stream)> | StreamCallback |
| typedef Functor< void(const Let< RTCDataChannel > &dataChannel)> | DataChannelCallback |
| typedef Functor< void(const RTCIceCandidate &candidate)> | IceCandidateCallback |
Public Member Functions | |
| virtual Let< RTCDataChannel > | CreateDataChannel (const std::string &label, const RTCDataChannelInit &options=RTCDataChannelInit())=0 |
| virtual Let< Promise< void > > | AddIceCandidate (const RTCIceCandidate &candidate)=0 |
| virtual void | AddStream (const Let< MediaStream > &stream)=0 |
| virtual Let< Promise< RTCSessionDescription > > | CreateAnswer (const RTCAnswerOptions &options=RTCAnswerOptions())=0 |
| virtual Let< Promise< RTCSessionDescription > > | CreateOffer (const RTCOfferOptions &options=RTCOfferOptions())=0 |
| virtual MediaStreams | GetLocalStreams ()=0 |
| virtual MediaStreams | GetRemoteStreams ()=0 |
| virtual void | RemoveStream (const Let< MediaStream > &stream)=0 |
| virtual void | SetConfiguration (const RTCConfiguration &config)=0 |
| virtual Let< Promise< void > > | SetLocalDescription (const RTCSessionDescription &sdp)=0 |
| virtual Let< Promise< void > > | SetRemoteDescription (const RTCSessionDescription &sdp)=0 |
| virtual void | Close ()=0 |
| virtual RTCSessionDescription | CurrentLocalDescription ()=0 |
| virtual RTCSessionDescription | CurrentRemoteDescription ()=0 |
| virtual RTCSessionDescription | LocalDescription ()=0 |
| virtual RTCSessionDescription | PendingLocalDescription ()=0 |
| virtual RTCSessionDescription | PendingRemoteDescription ()=0 |
| virtual RTCSessionDescription | RemoteDescription ()=0 |
| virtual RTCIceConnectionState | IceConnectionState ()=0 |
| virtual RTCIceGatheringState | IceGatheringState ()=0 |
| virtual RTCSignalingState | SignalingState ()=0 |
Static Public Member Functions | |
| static Let< RTCPeerConnection > | New (const RTCConfiguration &config=RTCConfiguration()) |
Static Public Attributes | |
| static RTCIceServers | defaultIceServers |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
1.8.12