Skip to content

Add a encrypted video stream for integration test of video_player's iOS 16 bug #199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions assets/videos/hls/encrypted_bee.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
���k
hw't6���
Copy link
Contributor Author

@hellohuanlin hellohuanlin Sep 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a random key, generated with

openssl rand 16 > encrypted_bee.key

15 changes: 15 additions & 0 deletions assets/videos/hls/encrypted_bee.m3u8
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#EXTM3U
#EXT-X-VERSION:4
#EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:METHOD=AES-128,URI="https://flutter.github.io/assets-for-api-docs/assets/videos/hls/encrypted_bee.key",IV=0x00000000000000000000000000000000
#EXTINF:2.002000,
#EXT-X-BYTERANGE:702180@0
encrypted_bee0.ts
#EXTINF:2.002000,
#EXT-X-BYTERANGE:754256@0
encrypted_bee1.ts
#EXTINF:0.033367,
#EXT-X-BYTERANGE:31960@0
encrypted_bee2.ts
#EXT-X-ENDLIST
Binary file added assets/videos/hls/encrypted_bee0.ts
Binary file not shown.
Binary file added assets/videos/hls/encrypted_bee1.ts
Binary file not shown.
Binary file added assets/videos/hls/encrypted_bee2.ts
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/diagrams/lib/src/container.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ContainerDiagram extends StatelessWidget implements DiagramMetadata {
child: Text('Hello World',
style: Theme.of(context)
.textTheme
.headline4!
.headlineMedium!
.copyWith(color: Colors.white)),
),
),
Expand Down
2 changes: 1 addition & 1 deletion packages/diagrams/lib/src/curve.dart
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class TranslateSampleTile extends StatelessWidget {
Text(
name,
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.bodyText1!.copyWith(
style: Theme.of(context).textTheme.bodyLarge!.copyWith(
color: Colors.black,
fontSize: 12.0,
),
Expand Down
2 changes: 1 addition & 1 deletion packages/diagrams/lib/src/implicit_animations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class AnimatedDefaultTextStyleDiagram
@override
Widget buildImplicitAnimation(BuildContext context, bool selected) {
final TextStyle selectedStyle =
Theme.of(context).textTheme.headline4!.copyWith(
Theme.of(context).textTheme.headlineMedium!.copyWith(
color: Colors.red,
fontSize: 50.0,
fontWeight: FontWeight.w100,
Expand Down
2 changes: 1 addition & 1 deletion packages/diagrams/lib/src/theme_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class ThemeDataDiagram extends StatelessWidget implements DiagramMetadata {
secondary: Colors.green,
),
textTheme: const TextTheme(
bodyText2: TextStyle(color: Colors.purple)),
bodyMedium: TextStyle(color: Colors.purple)),
),
home: Stack(
children: <Widget>[
Expand Down