-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add endpoint for generate urls
- Loading branch information
1 parent
d03c423
commit 59a345b
Showing
9 changed files
with
178 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export interface ApsaraIngestUrlParams { | ||
domain: string | ||
appName: string | ||
streamName: string | ||
expiredIn: number | ||
key: string | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export type ApsaraProtocal = 'rtmp' | 'flv' | 'm3u8' | 'udp' |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { ApsaraProtocal } from './ApsaraProtocal' | ||
|
||
export interface ApsaraStreamingUrlParams { | ||
domain: string | ||
appName: string | ||
streamName: string | ||
expiredIn: number | ||
key: string | ||
format: ApsaraProtocal | ||
isSecure: boolean | ||
} |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export interface ApsaraUrlParams { | ||
protocol: string | ||
domain: string | ||
appName: string | ||
streamName: string | ||
extension: string | ||
expiredIn: number | ||
key: string | ||
} |
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,5 +1,9 @@ | ||
export * from './ApsaraDomainsData' | ||
export * from './ApsaraErrorData' | ||
export * from './ApsaraIngestUrlParams' | ||
export * from './ApsaraOptions' | ||
export * from './ApsaraParams' | ||
export * from './ApsaraProtocal' | ||
export * from './ApsaraStreamingUrlParams' | ||
export * from './ApsaraUrlParams' | ||
export * from './Logger' |
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