Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Unified Diff: webrtc/api/objc/RTCMediaStreamTrack.h

Issue 1790633002: Propagate MediaStreamSource state to video tracks the same way as audio. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@refactor_track
Patch Set: Fix bug with wrong enum values. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/mediastreamtrack.h ('k') | webrtc/api/objc/RTCMediaStreamTrack.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/objc/RTCMediaStreamTrack.h
diff --git a/webrtc/api/objc/RTCMediaStreamTrack.h b/webrtc/api/objc/RTCMediaStreamTrack.h
index 78838439c79bb04fa03dd064bbc9c2f47f4cf19d..b8576bdf3bddebcc5c0e12c2c548292726b15774 100644
--- a/webrtc/api/objc/RTCMediaStreamTrack.h
+++ b/webrtc/api/objc/RTCMediaStreamTrack.h
@@ -11,14 +11,11 @@
#import <Foundation/Foundation.h>
/**
- * Represents the state of the track. This exposes the same states in C++,
- * which include two more states than are in the W3C spec.
+ * Represents the state of the track. This exposes the same states in C++.
*/
typedef NS_ENUM(NSInteger, RTCMediaStreamTrackState) {
- RTCMediaStreamTrackStateInitializing,
RTCMediaStreamTrackStateLive,
- RTCMediaStreamTrackStateEnded,
- RTCMediaStreamTrackStateFailed,
+ RTCMediaStreamTrackStateEnded
};
NS_ASSUME_NONNULL_BEGIN
« no previous file with comments | « webrtc/api/mediastreamtrack.h ('k') | webrtc/api/objc/RTCMediaStreamTrack.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698