Skip to main content

The media Object

Represents a piece of media, such as a video clip or a thumbnail image, that a device captured for an event. Media is in beta.

Properties

String or null
required
MIME type of the media, such as video/mp4 or image/jpeg.
String (ISO 8601)
required
Date and time at which the media was created.
String (UUID) or null
required
ID of the device that captured the media.
String (UUID) or null
required
ID of the event that the media belongs to.
String (ISO 8601) or null
required
Date and time at which the media stops being available. Null when Seam does not know when the media expires.
String (UUID)
required
ID of the media.
Enum (String)
required
Type of the media: a video clip or a still image.
  • video
  • image
Enum (String)
required
Status of the media. pending means that Seam is still retrieving the media. available means that url can be used to download it. unavailable means that no media exists for the event, and failed means that Seam could not retrieve it.
  • pending
  • available
  • unavailable
  • failed
String or null
required
Short-lived URL from which you can download the media. Null unless status is available. The URL expires after about five minutes. Call /media/get again for a new URL.
Enum (String)
Video codec used to encode the media. Only present for video media. hevc (H.265) playback support varies by browser and device, so check compatibility before assuming a clip plays inline.
  • h264
  • hevc
String (UUID)
required
ID of the workspace that contains the media.