Preserve stream aspect ratio even when host resolution changes

This commit is contained in:
Cameron Gutman committed 2022-02-06 16:57:23 -06:00
1 parent bd582aa6c0
commit f21c58306e
3 files changed
+19 -6

No files matched your search

+1 -1
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;