Post

Replies

Boosts

Views

Activity

AVCaptionRenderer
Has anybody successfully used AVCaptionRenderer for anything? I am attempting to preview what AVMutableCaptions will look like by using AVCaptionRenderer. I am able to render an image with the caption (very small in the lower left corner), but changes to text properties are not having any effect. I have tried the following: setBackgroundColor - No effect. setFontStyle - No Effect. textAlignment - No effect. I'm beginning to think that AVCaptionRender isn't what I think it's for. The documentation is sparse, the mention in the WWDC video is brief, and I can't find any sample code. The video mentions reaching out here for help adopting these APIs, so here I am. WWDC Video Mention: https://developer.apple.com/videos/play/wwdc2021-10146/?time=943
2
0
973
Dec ’21