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

Unified Diff: webrtc/api/androidvideocapturer.h

Issue 1702603002: AndroidVideoCapturer getSupportedFormats(): Change interface from JSON string to List/vector (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove logging from C++. Remove json from api.gyp. Created 4 years, 10 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 | « no previous file | webrtc/api/androidvideocapturer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/androidvideocapturer.h
diff --git a/webrtc/api/androidvideocapturer.h b/webrtc/api/androidvideocapturer.h
index a3295e1ff38dbdc1249e1c63f23efa2a96053340..4c73f3159874e76323fdee76a04702c6d575969d 100644
--- a/webrtc/api/androidvideocapturer.h
+++ b/webrtc/api/androidvideocapturer.h
@@ -34,8 +34,7 @@ class AndroidVideoCapturerDelegate : public rtc::RefCountInterface {
// The delegate may not call into AndroidVideoCapturer after this call.
virtual void Stop() = 0;
- // Must returns a JSON string "{{width=xxx, height=xxx, framerate = xxx}}"
- virtual std::string GetSupportedFormats() = 0;
+ virtual std::vector<cricket::VideoFormat> GetSupportedFormats() = 0;
};
// Android implementation of cricket::VideoCapturer for use with WebRtc
« no previous file with comments | « no previous file | webrtc/api/androidvideocapturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698