Download Events

Pre-requisite: The user has to be signed in to perform the following operations.


Download Events

To download events, The following method can be used:

  • context, m3u8Url (required): The application context and the event’s playlist URL (it must carry the Authorization token — see Event Playback).
  • shouldInterpolate (default false), minMp (default 2_000_000), minWidth (1920), minHeight (1080): Scaling options, as for recording.
  • hardwareConfig (default null): Pass device.getHardwareConfig() to get one MP4 per stitched sensor.

Callbacks fire on a background thread — post to the main thread before touching UI.

M3U8ToMP4Converter.convert(
  context = context,
  m3u8Url = url,
  onSuccess = { files ->
    // List<File> of MP4s in the app's cache directory — move them where you want them
  },
  onError = { message ->
    // A String describing the failure
  },
)

This site uses Just the Docs, a documentation theme for Jekyll.