-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:qualabs/common-media-library into f…
…eature/add-unit-tests
- Loading branch information
Showing
37 changed files
with
2,270 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,53 @@ | ||
/** | ||
* Common Media Object Type | ||
* Common Media Client Data Object Type | ||
* | ||
* @group CMCD | ||
* | ||
* @beta | ||
*/ | ||
export { CmObjectType as CmcdObjectType } from '../cta/CmObjectType.js'; | ||
export enum CmcdObjectType { | ||
/** | ||
* text file, such as a manifest or playlist | ||
*/ | ||
MANIFEST = 'm', | ||
|
||
/** | ||
* audio only | ||
*/ | ||
AUDIO = 'a', | ||
|
||
/** | ||
* video only | ||
*/ | ||
VIDEO = 'v', | ||
|
||
/** | ||
* muxed audio and video | ||
*/ | ||
MUXED = 'av', | ||
|
||
/** | ||
* init segment | ||
*/ | ||
INIT = 'i', | ||
|
||
/** | ||
* caption or subtitle | ||
*/ | ||
CAPTION = 'c', | ||
|
||
/** | ||
* ISOBMFF timed text track | ||
*/ | ||
TIMED_TEXT = 'tt', | ||
|
||
/** | ||
* cryptographic key, license or certificate. | ||
*/ | ||
KEY = 'k', | ||
|
||
/** | ||
* other | ||
*/ | ||
OTHER = 'o', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
/** | ||
* Common Media Streaming Type | ||
* Common Media Client Data Stream Type | ||
* | ||
* @group CMCD | ||
* | ||
* @beta | ||
*/ | ||
export { CmStreamType as CmcdStreamType } from '../cta/CmStreamType.js'; | ||
export enum CmcdStreamType { | ||
/** | ||
* All segments are available – e.g., VOD | ||
*/ | ||
VOD = 'v', | ||
|
||
/** | ||
* Segments become available over time – e.g., LIVE | ||
*/ | ||
LIVE = 'l', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,29 @@ | ||
/** | ||
* Common Media Streaming Format | ||
* Common Media Client Data Streaming Format | ||
* | ||
* @group CMCD | ||
* | ||
* @beta | ||
*/ | ||
export { CmStreamingFormat as CmcdStreamingFormat } from '../cta/CmStreamingFormat.js'; | ||
export enum CmcdStreamingFormat { | ||
/** | ||
* MPEG DASH | ||
*/ | ||
DASH = 'd', | ||
|
||
/** | ||
* HTTP Live Streaming (HLS) | ||
*/ | ||
HLS = 'h', | ||
|
||
/** | ||
* Smooth Streaming | ||
*/ | ||
SMOOTH = 's', | ||
|
||
/** | ||
* Other | ||
*/ | ||
OTHER = 'o', | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,53 @@ | ||
import { CmObjectType } from '../cta/CmObjectType.js'; | ||
|
||
/** | ||
* Common Media Object Type | ||
* Common Media Server Data Object Type | ||
* | ||
* @group CMSD | ||
* | ||
* @beta | ||
*/ | ||
export { CmObjectType as CmsdObjectType }; | ||
export enum CmsdObjectType { | ||
/** | ||
* text file, such as a manifest or playlist | ||
*/ | ||
MANIFEST = 'm', | ||
|
||
/** | ||
* audio only | ||
*/ | ||
AUDIO = 'a', | ||
|
||
/** | ||
* video only | ||
*/ | ||
VIDEO = 'v', | ||
|
||
/** | ||
* muxed audio and video | ||
*/ | ||
MUXED = 'av', | ||
|
||
/** | ||
* init segment | ||
*/ | ||
INIT = 'i', | ||
|
||
/** | ||
* caption or subtitle | ||
*/ | ||
CAPTION = 'c', | ||
|
||
/** | ||
* ISOBMFF timed text track | ||
*/ | ||
TIMED_TEXT = 'tt', | ||
|
||
/** | ||
* cryptographic key, license or certificate. | ||
*/ | ||
KEY = 'k', | ||
|
||
/** | ||
* other | ||
*/ | ||
OTHER = 'o', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
/** | ||
* Common Media Streaming Type | ||
* Common Media Server Data Stream Type | ||
* | ||
* @group CMSD | ||
* | ||
* @beta | ||
*/ | ||
export { CmStreamType as CmsdStreamType } from '../cta/CmStreamType.js'; | ||
export enum CmsdStreamType { | ||
/** | ||
* All segments are available – e.g., VOD | ||
*/ | ||
VOD = 'v', | ||
|
||
/** | ||
* Segments become available over time – e.g., LIVE | ||
*/ | ||
LIVE = 'l', | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,29 @@ | ||
/** | ||
* Common Media Streaming Format | ||
* Common Media Server Data Streaming Format | ||
* | ||
* @group CMSD | ||
* | ||
* @beta | ||
*/ | ||
export { CmStreamingFormat as CmsdStreamingFormat } from '../cta/CmStreamingFormat.js'; | ||
export enum CmsdStreamingFormat { | ||
/** | ||
* MPEG DASH | ||
*/ | ||
DASH = 'd', | ||
|
||
/** | ||
* HTTP Live Streaming (HLS) | ||
*/ | ||
HLS = 'h', | ||
|
||
/** | ||
* Smooth Streaming | ||
*/ | ||
SMOOTH = 's', | ||
|
||
/** | ||
* Other | ||
*/ | ||
OTHER = 'o', | ||
} | ||
|
Oops, something went wrong.