StreamAPI constructor
StreamAPI({
- required RestAPI restAPI,
- required String accountId,
Implementation
StreamAPI({required RestAPI restAPI, required String accountId})
: tusUploadUrl =
'https://api.cloudflare.com/client/v4/accounts/$accountId/stream',
super(
restAPI: restAPI,
service: StreamService(dio: restAPI.dio, accountId: accountId),
accountId: accountId,
dataType: CloudflareStreamVideo());