This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
packages/video_player/video_player_avfoundation/example/ios/RunnerTests Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 1111
1212@interface FLTVideoPlayer : NSObject <FlutterStreamHandler>
1313@property (readonly , nonatomic ) AVPlayer *player;
14- // This is to fix 2 bugs: 1. blank video for encrypted video streams on iOS 16
15- // (https://github.com/flutter/flutter/issues/111457) and 2. swapped width and height for some video
16- // streams (not just iOS 16). (https://github.com/flutter/flutter/issues/109116).
17- // An invisible AVPlayerLayer is used to overwrite the protection of pixel buffers in those streams
18- // for issue #1, and restore the correct width and height for issue #2.
1914@property (readonly , nonatomic ) AVPlayerLayer *playerLayer;
2015@end
2116
@@ -67,7 +62,7 @@ @interface VideoPlayerTests : XCTestCase
6762
6863@implementation VideoPlayerTests
6964
70- - (void )testIOS16BugWithEncryptedVideoStream {
65+ - (void )testBlankVideoBugWithEncryptedVideoStreamAndInvertedAspectRatioBugForSomeVideoStream {
7166 // This is to fix 2 bugs: 1. blank video for encrypted video streams on iOS 16
7267 // (https://github.com/flutter/flutter/issues/111457) and 2. swapped width and height for some
7368 // video streams (not just iOS 16). (https://github.com/flutter/flutter/issues/109116). An
You can’t perform that action at this time.
0 commit comments