1
0
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:
Luca Armaroli
2021-10-13 22:01:54 +02:00
parent b2497865a1
commit 6a2159b266
12 changed files with 482 additions and 445 deletions

View File

@@ -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;