opentok / opentok-ios-sdk-samples-swift

Sample applications using the OpenTok iOS SDK in Swift
https://tokbox.com/
MIT License
137 stars 65 forks source link

OPENTOK-43389: Garbled video with iOS SDK when setting capturePreset to AVCaptureSession.Preset.medium #151

Closed jvalli closed 3 years ago

jvalli commented 3 years ago

What is this PR doing?

Replacing consumeFrame with consumeImageBuffer for OTVideoCaptureConsumer.

How should this be manually tested?

Set AVCaptureSession.Preset.medium as capture preset on Custom-Video-Driver and run the app.

What are the relevant tickets?

OPENTOK-43389

jvalli commented 3 years ago

You are right @IGitGotIt. Updated!