3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/webrtc/PeerConnectionInterface.h"
7#include "mc/external/webrtc/scoped_refptr.h"
11namespace cricket {
class Candidate; }
12namespace cricket {
struct CandidatePairChangeEvent; }
13namespace webrtc {
class DataChannelInterface; }
14namespace webrtc {
class IceCandidateInterface; }
15namespace webrtc {
class MediaStreamInterface; }
16namespace webrtc {
class RtpReceiverInterface; }
17namespace webrtc {
class RtpTransceiverInterface; }
30 virtual void OnSignalingChange(::webrtc::PeerConnectionInterface::SignalingState) = 0;
42 virtual void OnRenegotiationNeeded();
45 virtual void OnNegotiationNeededEvent(uint event_id);
48 virtual void OnIceConnectionChange(::webrtc::PeerConnectionInterface::IceConnectionState);
51 virtual void OnStandardizedIceConnectionChange(::webrtc::PeerConnectionInterface::IceConnectionState new_state);
54 virtual void OnConnectionChange(::webrtc::PeerConnectionInterface::PeerConnectionState);
57 virtual void OnIceGatheringChange(::webrtc::PeerConnectionInterface::IceGatheringState) = 0;
63 virtual void OnIceCandidateError(
64 ::std::string
const& address,
66 ::std::string
const& url,
68 ::std::string
const& error_text
72 virtual void OnIceCandidatesRemoved(::std::vector<::cricket::Candidate>
const&);
75 virtual void OnIceConnectionReceivingChange(
bool);
81 virtual void OnAddTrack(
93 virtual void OnInterestingUsage(
int usage_pattern);
108 ::std::string
const& address,
110 ::std::string
const& url,
112 ::std::string
const& error_text
Definition IceCandidateInterface.h:12
Definition PeerConnectionObserver.h:22
MCAPI void $OnStandardizedIceConnectionChange(::webrtc::PeerConnectionInterface::IceConnectionState new_state)
MCAPI void $OnRemoveStream(::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > stream)
MCAPI void $OnNegotiationNeededEvent(uint event_id)
MCAPI void $OnIceCandidateError(::std::string const &address, int port, ::std::string const &url, int error_code, ::std::string const &error_text)
MCAPI void $OnInterestingUsage(int usage_pattern)
MCAPI void $OnIceSelectedCandidatePairChanged(::cricket::CandidatePairChangeEvent const &event)
MCAPI void $OnTrack(::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface > transceiver)
MCAPI void $OnAddTrack(::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface > receiver, ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > > const &streams)
MCAPI void $OnAddStream(::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > stream)
MCAPI void $OnRemoveTrack(::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface > receiver)
Definition scoped_refptr.h:8
Definition CandidatePairChangeEvent.h:7