withRetry?: boolean // default false
currentRetry?: number
- }) {
+ }): Promise<string> {
const { videoFileToken, reinjectVideoFileToken, withRetry, currentRetry = 1 } = options
try {
url: options.url,
range: options.range,
implicitToken: false,
+ responseType: 'application/octet-stream',
defaultExpectedStatus: HttpStatusCode.OK_200
}))
}
...options,
url: options.url,
+ contentType: 'application/json',
implicitToken: false,
defaultExpectedStatus: HttpStatusCode.OK_200
}))