Preserve stream aspect ratio even when host resolution changes

This commit is contained in:
Cameron Gutman
2022-02-06 16:57:23 -06:00
parent bd582aa6c0
commit f21c58306e
3 changed files with 19 additions and 6 deletions

View File

@@ -12,7 +12,7 @@
@interface VideoDecoderRenderer : NSObject
- (id)initWithView:(UIView*)view callbacks:(id<ConnectionCallbacks>)callbacks;
- (id)initWithView:(UIView*)view callbacks:(id<ConnectionCallbacks>)callbacks streamAspectRatio:(float)aspectRatio;
- (void)setupWithVideoFormat:(int)videoFormat frameRate:(int)frameRate;
- (void)start;