StreamAPI constructor

StreamAPI({
  1. required RestAPI restAPI,
  2. 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());