mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 16:11:20 -08:00
add fetchStream
This commit is contained in:
1 parent
7264d0b3a3
commit
6cc89edcd9
10 files changed
+209
-54
No files matched your search
@@ -12,4 +12,8 @@ export function errorHandle(condition, msg) {
|
||||
if (!condition) {
|
||||
throw new FlvError(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export function getTagBodySize(dataSize) {
|
||||
return dataSize[0] * 256 ** 2 + dataSize[1] * 256 + dataSize[2];
|
||||
}
|
||||
Reference in new issue
Block a user