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

Unified Diff: webrtc/api/mediastreamtrack.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/mediastreaminterface.h ('k') | webrtc/api/objc/RTCMediaStreamTrack.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/mediastreamtrack.h
diff --git a/webrtc/api/mediastreamtrack.h b/webrtc/api/mediastreamtrack.h
index dcac58128b9146eec7ba94748f6649b9b4c523b3..e6f02e58fbfd87a052ea814707d6b880c057d2d3 100644
--- a/webrtc/api/mediastreamtrack.h
+++ b/webrtc/api/mediastreamtrack.h
@@ -48,10 +48,7 @@ class MediaStreamTrack : public Notifier<T> {
protected:
explicit MediaStreamTrack(const std::string& id)
- : enabled_(true),
- id_(id),
- state_(MediaStreamTrackInterface::kInitializing) {
- }
+ : enabled_(true), id_(id), state_(MediaStreamTrackInterface::kLive) {}
private:
bool enabled_;
« no previous file with comments | « webrtc/api/mediastreaminterface.h ('k') | webrtc/api/objc/RTCMediaStreamTrack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698