mirror of
https://github.com/LuanRT/googlevideo.git
synced 2026-06-28 00:56:20 +00:00
chore: update docs
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
> **createKey**(`itag`, `xtags`): `string`
|
||||
|
||||
Defined in: [src/utils/formatKeyUtils.ts:10](https://github.com/LuanRT/googlevideo/blob/cc730b4dbadc5ae882d6aa28d716e442943577fa/src/utils/formatKeyUtils.ts#L10)
|
||||
Defined in: [src/utils/formatKeyUtils.ts:10](https://github.com/LuanRT/googlevideo/blob/5b84100979befab767d819a9606dde964d469341/src/utils/formatKeyUtils.ts#L10)
|
||||
|
||||
Creates a format key based on itag and xtags.
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
> **createSegmentCacheKey**(`mediaHeader`, `format?`): `string`
|
||||
|
||||
Defined in: [src/utils/formatKeyUtils.ts:47](https://github.com/LuanRT/googlevideo/blob/cc730b4dbadc5ae882d6aa28d716e442943577fa/src/utils/formatKeyUtils.ts#L47)
|
||||
Defined in: [src/utils/formatKeyUtils.ts:47](https://github.com/LuanRT/googlevideo/blob/5b84100979befab767d819a9606dde964d469341/src/utils/formatKeyUtils.ts#L47)
|
||||
|
||||
Creates a segment cache key.
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
> **createSegmentCacheKeyFromMetadata**(`requestMetadata`): `string`
|
||||
|
||||
Defined in: [src/utils/formatKeyUtils.ts:61](https://github.com/LuanRT/googlevideo/blob/cc730b4dbadc5ae882d6aa28d716e442943577fa/src/utils/formatKeyUtils.ts#L61)
|
||||
Defined in: [src/utils/formatKeyUtils.ts:61](https://github.com/LuanRT/googlevideo/blob/5b84100979befab767d819a9606dde964d469341/src/utils/formatKeyUtils.ts#L61)
|
||||
|
||||
Creates a cache key from request metadata.
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
> **fromFormat**(`format?`): `undefined` \| `string`
|
||||
|
||||
Defined in: [src/utils/formatKeyUtils.ts:18](https://github.com/LuanRT/googlevideo/blob/cc730b4dbadc5ae882d6aa28d716e442943577fa/src/utils/formatKeyUtils.ts#L18)
|
||||
Defined in: [src/utils/formatKeyUtils.ts:18](https://github.com/LuanRT/googlevideo/blob/5b84100979befab767d819a9606dde964d469341/src/utils/formatKeyUtils.ts#L18)
|
||||
|
||||
Creates a format key from a SabrFormat object.
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
> **fromFormatInitializationMetadata**(`formatInitMetadata`): `string`
|
||||
|
||||
Defined in: [src/utils/formatKeyUtils.ts:35](https://github.com/LuanRT/googlevideo/blob/cc730b4dbadc5ae882d6aa28d716e442943577fa/src/utils/formatKeyUtils.ts#L35)
|
||||
Defined in: [src/utils/formatKeyUtils.ts:35](https://github.com/LuanRT/googlevideo/blob/5b84100979befab767d819a9606dde964d469341/src/utils/formatKeyUtils.ts#L35)
|
||||
|
||||
Creates a format key from FormatInitializationMetadata.
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
> **fromMediaHeader**(`mediaHeader`): `string`
|
||||
|
||||
Defined in: [src/utils/formatKeyUtils.ts:27](https://github.com/LuanRT/googlevideo/blob/cc730b4dbadc5ae882d6aa28d716e442943577fa/src/utils/formatKeyUtils.ts#L27)
|
||||
Defined in: [src/utils/formatKeyUtils.ts:27](https://github.com/LuanRT/googlevideo/blob/5b84100979befab767d819a9606dde964d469341/src/utils/formatKeyUtils.ts#L27)
|
||||
|
||||
Creates a format key from a MediaHeader object.
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
> **getUniqueFormatId**(`format`): `string`
|
||||
|
||||
Defined in: [src/utils/formatKeyUtils.ts:85](https://github.com/LuanRT/googlevideo/blob/cc730b4dbadc5ae882d6aa28d716e442943577fa/src/utils/formatKeyUtils.ts#L85)
|
||||
Defined in: [src/utils/formatKeyUtils.ts:85](https://github.com/LuanRT/googlevideo/blob/5b84100979befab767d819a9606dde964d469341/src/utils/formatKeyUtils.ts#L85)
|
||||
|
||||
Generates a unique format ID based on the SabrFormat properties.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user