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

Unified Diff: webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h

Issue 2271583003: Implement CVO for iOS capturer (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Default to portrait orientation on iPhone Created 4 years, 4 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/sdk/BUILD.gn ('k') | webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h
diff --git a/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h b/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h
index 37378e7da183edfdc0e91fce42f8a66ed247fbe8..5ce0462cff12a258fcbbbe7b68d3f34fcbaaf4c8 100644
--- a/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h
+++ b/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h
@@ -56,13 +56,16 @@ class AVFoundationVideoCapturer : public cricket::VideoCapturer,
// Converts the sample buffer into a cricket::CapturedFrame and signals the
// frame for capture.
- void CaptureSampleBuffer(CMSampleBufferRef sampleBuffer);
+ void CaptureSampleBuffer(CMSampleBufferRef sample_buffer,
+ webrtc::VideoRotation rotation);
// Handles messages from posts.
void OnMessage(rtc::Message *msg) override;
private:
- void OnFrameMessage(CVImageBufferRef image_buffer, int64_t capture_time_ns);
+ void OnFrameMessage(CVImageBufferRef image_buffer,
+ webrtc::VideoRotation rotation,
+ int64_t capture_time_ns);
RTCAVFoundationVideoCapturerInternal *_capturer;
rtc::Thread *_startThread; // Set in Start(), unset in Stop().
« no previous file with comments | « webrtc/sdk/BUILD.gn ('k') | webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698