twilio / video-quickstart-ios

Twilio Video Quickstart for iOS
https://www.twilio.com/docs/api/video
MIT License
465 stars 178 forks source link

Higher quality+resolution frames in local renderer #512

Closed andschdk closed 4 years ago

andschdk commented 4 years ago

Hi, Currently I'm processing some frames from a custom renderer attached to a local video track.

However the frames are in low resolution (480x640). If I need a higher quality/resolution how would you suggest I approach it? I'm only talking about the local video track, assuming higher quality should be possible here.

I'm not sure how things are related to AVCaptureSession, but I guess it has something to do with the sessionPreset?

Thanks.

piyushtank commented 4 years ago

@andschdk Apology for the late response.

The Video SDK doesnot use sessionPreset to configure the resolution, instead, we use the VideoFormat APIs for developers to configure the dimenstions of their choice, and internally, in capture pipeline, we apply the activeFormat on the AVCaptureDevice.

With Video SDK you can definitely high resolution video by applying the appropriate VideoFormat. See video source guide for more information. Also our Video app demonstrates some of the video source configuration features.

Let me know if you have any questions.

piyushtank commented 4 years ago

Closing the ticket as answered. Feel free to reopen or open a new ticket if you run into issue or have any questions.

andschdk commented 4 years ago

Thank you for this! 👍