Lines Matching refs:webrtc
30 #include "talk/app/webrtc/peerconnectioninterface.h"
35 (webrtc::PeerConnectionInterface::IceConnectionState)nativeState {
37 case webrtc::PeerConnectionInterface::kIceConnectionNew:
39 case webrtc::PeerConnectionInterface::kIceConnectionChecking:
41 case webrtc::PeerConnectionInterface::kIceConnectionConnected:
43 case webrtc::PeerConnectionInterface::kIceConnectionCompleted:
45 case webrtc::PeerConnectionInterface::kIceConnectionFailed:
47 case webrtc::PeerConnectionInterface::kIceConnectionDisconnected:
49 case webrtc::PeerConnectionInterface::kIceConnectionClosed:
51 case webrtc::PeerConnectionInterface::kIceConnectionMax:
58 (webrtc::PeerConnectionInterface::IceGatheringState)nativeState {
60 case webrtc::PeerConnectionInterface::kIceGatheringNew:
62 case webrtc::PeerConnectionInterface::kIceGatheringGathering:
64 case webrtc::PeerConnectionInterface::kIceGatheringComplete:
70 (webrtc::PeerConnectionInterface::SignalingState)nativeState {
72 case webrtc::PeerConnectionInterface::kStable:
74 case webrtc::PeerConnectionInterface::kHaveLocalOffer:
76 case webrtc::PeerConnectionInterface::kHaveLocalPrAnswer:
78 case webrtc::PeerConnectionInterface::kHaveRemoteOffer:
80 case webrtc::PeerConnectionInterface::kHaveRemotePrAnswer:
82 case webrtc::PeerConnectionInterface::kClosed:
87 + (webrtc::PeerConnectionInterface::StatsOutputLevel)
91 return webrtc::PeerConnectionInterface::kStatsOutputLevelStandard;
93 return webrtc::PeerConnectionInterface::kStatsOutputLevelDebug;
98 (webrtc::MediaSourceInterface::SourceState)nativeState {
100 case webrtc::MediaSourceInterface::kInitializing:
102 case webrtc::MediaSourceInterface::kLive:
104 case webrtc::MediaSourceInterface::kEnded:
106 case webrtc::MediaSourceInterface::kMuted:
111 + (webrtc::MediaStreamTrackInterface::TrackState)
115 return webrtc::MediaStreamTrackInterface::kInitializing;
117 return webrtc::MediaStreamTrackInterface::kLive;
119 return webrtc::MediaStreamTrackInterface::kEnded;
121 return webrtc::MediaStreamTrackInterface::kFailed;
126 (webrtc::MediaStreamTrackInterface::TrackState)nativeState {
128 case webrtc::MediaStreamTrackInterface::kInitializing:
130 case webrtc::MediaStreamTrackInterface::kLive:
132 case webrtc::MediaStreamTrackInterface::kEnded:
134 case webrtc::MediaStreamTrackInterface::kFailed:
140 (webrtc::PeerConnectionInterface::IceTransportsType)nativeEnum {
142 case webrtc::PeerConnectionInterface::kNone:
144 case webrtc::PeerConnectionInterface::kRelay:
146 case webrtc::PeerConnectionInterface::kNoHost:
148 case webrtc::PeerConnectionInterface::kAll:
153 + (webrtc::PeerConnectionInterface::IceTransportsType)nativeEnumForIceTransportsType:
157 return webrtc::PeerConnectionInterface::kNone;
159 return webrtc::PeerConnectionInterface::kRelay;
161 return webrtc::PeerConnectionInterface::kNoHost;
163 return webrtc::PeerConnectionInterface::kAll;
168 (webrtc::PeerConnectionInterface::BundlePolicy)nativeEnum {
170 case webrtc::PeerConnectionInterface::kBundlePolicyBalanced:
172 case webrtc::PeerConnectionInterface::kBundlePolicyMaxBundle:
174 case webrtc::PeerConnectionInterface::kBundlePolicyMaxCompat:
179 + (webrtc::PeerConnectionInterface::BundlePolicy)nativeEnumForBundlePolicy:
183 return webrtc::PeerConnectionInterface::kBundlePolicyBalanced;
185 return webrtc::PeerConnectionInterface::kBundlePolicyMaxBundle;
187 return webrtc::PeerConnectionInterface::kBundlePolicyMaxCompat;
192 (webrtc::PeerConnectionInterface::RtcpMuxPolicy)nativeEnum {
194 case webrtc::PeerConnectionInterface::kRtcpMuxPolicyNegotiate:
196 case webrtc::PeerConnectionInterface::kRtcpMuxPolicyRequire:
201 + (webrtc::PeerConnectionInterface::RtcpMuxPolicy)nativeEnumForRtcpMuxPolicy:
205 return webrtc::PeerConnectionInterface::kRtcpMuxPolicyNegotiate;
207 return webrtc::PeerConnectionInterface::kRtcpMuxPolicyRequire;
212 (webrtc::PeerConnectionInterface::TcpCandidatePolicy)nativeEnum {
214 case webrtc::PeerConnectionInterface::kTcpCandidatePolicyEnabled:
216 case webrtc::PeerConnectionInterface::kTcpCandidatePolicyDisabled:
221 + (webrtc::PeerConnectionInterface::TcpCandidatePolicy)nativeEnumForTcpCandidatePolicy:
225 return webrtc::PeerConnectionInterface::kTcpCandidatePolicyEnabled;
227 return webrtc::PeerConnectionInterface::kTcpCandidatePolicyDisabled;