iOS WebRTC drops frames

219 views
Skip to first unread message

Tyler Durden

unread,
Aug 14, 2017, 1:57:32 PM8/14/17
to discuss-webrtc
Hello everyone,

I've compiled a WebRTC.framework recently on macOS Sierra for iOS from here. Replaced old framework with new one in existing project and video become Very Very slow. And I got this error:

(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(frame_buffer2.cc:289): Frame with (picture_id:spatial_id) (1301:0) could not be inserted due to the frame buffer being full, dropping frame.
(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(packet_buffer.cc:207): PacketBuffer size expanded to 64
(frame_buffer2.cc:289): Frame with (picture_id:spatial_id) (1301:0) could not be inserted due to the frame buffer being full, dropping frame.
(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(packet_buffer.cc:207): PacketBuffer size expanded to 128
(frame_buffer2.cc:289): Frame with (picture_id:spatial_id) (1301:0) could not be inserted due to the frame buffer being full, dropping frame.
(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(packet_buffer.cc:207): PacketBuffer size expanded to 256
(frame_buffer2.cc:289): Frame with (picture_id:spatial_id) (1301:0) could not be inserted due to the frame buffer being full, dropping frame.
(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(RTCLogging.mm:31): (RTCCameraVideoCapturer.m:207 -[RTCCameraVideoCapturer captureOutput:didDropSampleBuffer:fromConnection:]): Dropped sample buffer.
(frame_buffer2.cc:289): Frame with (picture_id:spatial_id) (1301:0) could not be inserted due to the frame buffer being full, dropping frame.


Any Ideas what can cause the issue?

Thanks.

Alvaro Gil

unread,
Aug 14, 2017, 2:13:31 PM8/14/17
to discuss-webrtc
Did you build Debug instead of Release perhaps ?
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "discuss-webrtc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to discuss-webrt...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/discuss-webrtc/fb487db0-7a58-47b6-bad4-ce77003a1e62%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Tyler Durden

unread,
Aug 15, 2017, 3:03:26 AM8/15/17
to discuss-webrtc
Hi Alvaro. Yes I've build debug.
Reply all
Reply to author
Forward
0 new messages