Add https request error handling

This commit is contained in:
cjh980402
2021-09-13 14:13:36 +09:00
parent 342c977606
commit b29a9121f2
2 changed files with 30 additions and 21 deletions

View File

@@ -1,13 +1,12 @@
import { video_info } from "."
import { LiveStreaming, Stream } from "./classes/LiveStream"
import { request } from "./utils/request"
export enum StreamType{
Arbitrary = 'arbitrary',
Raw = 'raw',
OggOpus = 'ogg/opus',
WebmOpus = 'webm/opus',
Opus = 'opus',
Raw = 'raw',
OggOpus = 'ogg/opus',
WebmOpus = 'webm/opus',
Opus = 'opus',
}
interface InfoData{