Index: talk/app/webrtc/objc/RTCEnumConverter.mm |
diff --git a/talk/app/webrtc/objc/RTCEnumConverter.mm b/talk/app/webrtc/objc/RTCEnumConverter.mm |
index f8ab8383e4588608aae974558c720ecc969ee4dd..03b249c3a7132c095bea9a06fd456e7c0cf429e6 100644 |
--- a/talk/app/webrtc/objc/RTCEnumConverter.mm |
+++ b/talk/app/webrtc/objc/RTCEnumConverter.mm |
@@ -111,28 +111,20 @@ |
+ (webrtc::MediaStreamTrackInterface::TrackState) |
convertTrackStateToNative:(RTCTrackState)state { |
switch (state) { |
- case RTCTrackStateInitializing: |
- return webrtc::MediaStreamTrackInterface::kInitializing; |
case RTCTrackStateLive: |
return webrtc::MediaStreamTrackInterface::kLive; |
case RTCTrackStateEnded: |
return webrtc::MediaStreamTrackInterface::kEnded; |
- case RTCTrackStateFailed: |
- return webrtc::MediaStreamTrackInterface::kFailed; |
} |
} |
+ (RTCTrackState)convertTrackStateToObjC: |
(webrtc::MediaStreamTrackInterface::TrackState)nativeState { |
switch (nativeState) { |
- case webrtc::MediaStreamTrackInterface::kInitializing: |
- return RTCTrackStateInitializing; |
case webrtc::MediaStreamTrackInterface::kLive: |
return RTCTrackStateLive; |
case webrtc::MediaStreamTrackInterface::kEnded: |
return RTCTrackStateEnded; |
- case webrtc::MediaStreamTrackInterface::kFailed: |
- return RTCTrackStateFailed; |
} |
} |