mirror of
https://github.com/snobu/destreamer.git
synced 2026-01-27 02:12:19 +00:00
refactor toward SharePoint downloader
This commit is contained in:
20
src/Types.ts
20
src/Types.ts
@@ -1,11 +1,27 @@
|
||||
export type Session = {
|
||||
export type StreamSession = {
|
||||
AccessToken: string;
|
||||
ApiGatewayUri: string;
|
||||
ApiGatewayVersion: string;
|
||||
}
|
||||
|
||||
|
||||
export type Video = {
|
||||
export type VideoUrl = {
|
||||
url: string,
|
||||
outDir: string
|
||||
}
|
||||
|
||||
|
||||
export type SharepointVideo = {
|
||||
// if we can download the MP4 or we need to use DASH
|
||||
direct: boolean;
|
||||
playbackUrl: string;
|
||||
title: string;
|
||||
outPath: string
|
||||
}
|
||||
|
||||
|
||||
export type StreamVideo = {
|
||||
guid: string;
|
||||
title: string;
|
||||
duration: string;
|
||||
publishDate: string;
|
||||
|
||||
Reference in New Issue
Block a user