fix: stream size issues

This commit is contained in:
Prateek Sunal 2025-02-08 04:59:57 +05:30
parent d0a2502a39
commit e0cbe47052
2 changed files with 3 additions and 2 deletions

View File

@ -388,6 +388,7 @@ class PreviewVideoStore {
'type': 'hls_video',
'width': width,
'height': height,
'size': objectSize,
},
encryptionKey,
);
@ -495,7 +496,7 @@ class PreviewVideoStore {
width = playlistData["width"];
height = playlistData["height"];
size = response.data["data"]["objectSize"];
size = playlistData["size"];
if (objectKey != null) {
unawaited(

View File

@ -32,7 +32,7 @@ class _PreviewPropertiesItemWidgetState
@override
void initState() {
super.initState();
_getSection();
Future.microtask(() => _getSection());
}
@override