This examples could not be compiled right now due to error:
"In member function 'virtual void scy::webrtc::ObjectDetector::OnFrame(const webrtc::VideoFrame&)': 'class webrtc::VideoFrameBuffer' has no member named 'DataY'
In newer versions of webrtc(including webrtc-22215-ab42706 which is used in libsourcey) methods DataY (and DataU, DataV) moved from VideoFrameBuffer to PlanarYuv8Buffer which is implemented by I420Buffer. To access instance of I420BufferGetI420() should be called.
This examples could not be compiled right now due to error:
"In member function 'virtual void scy::webrtc::ObjectDetector::OnFrame(const webrtc::VideoFrame&)': 'class webrtc::VideoFrameBuffer' has no member named 'DataY'
In newer versions of webrtc(including webrtc-22215-ab42706 which is used in libsourcey) methods
DataY
(andDataU
,DataV
) moved fromVideoFrameBuffer
toPlanarYuv8Buffer
which is implemented byI420Buffer
. To access instance ofI420Buffer
GetI420()
should be called.