RtccDefaultVideoSourceDelegate Protocol Reference

Declared in RtccDefaultVideoSource.h

Overview

The Source delegate informs the application about the size of the captured frames. Upon rotating the device or changing the video profile, the size of the captured video will change.

– videoSourceSizeChanged: required method

This method is fired when the captured video changes size (due to a rotation or other). This method is not called on the main thread. Beware.

- (void)videoSourceSizeChanged:(CGSize)newSize
Discussion

This method is fired when the captured video changes size (due to a rotation or other). This method is not called on the main thread. Beware.

Declared In

RtccDefaultVideoSource.h