Uiza Documentation
2020-05-28
2020-05-28
  • Hola! 👋
  • Getting Started
    • Introduction
    • Authentication
    • Errors
    • Quick Starts
      • Live Streaming
      • Video Streaming
    • Pagination
    • Recommended Specifications
    • Postman Collections
    • Sample Streaming Apps
      • NodeJS Live Streaming App
      • Java Live Streaming App
      • Python Live Streaming App
      • How to integrate live streaming into an Android App using Uiza’s Live API
    • Versioning
  • API Reference
    • Live Entities
      • Create A Live Entity
      • Retrieve A Live Entity
      • Update A Live Entity
      • [Deprecated] Update A Live Entity
      • Delete A Live Entity
      • List All Live Entities
      • [Deprecated] Enable Live Entity DVR
      • [Deprecated] Disable Live Entity DVR
      • Reset Ingest Key
    • Live Sessions
      • Retrieve A Live Session
      • List All Live Sessions
    • Video Entities
      • Retrieve A Video Entity
      • Update A Video Entity
      • Publish A Video Entity
      • Delete A Video Entity
      • List All Video Entities
    • Video Presets
      • Create a Video Preset
      • Retrieve a Video Preset
      • Update a Video Preset
      • Delete a Video Preset
      • List all Video Presets
      • Add Profile(s) to Video Preset
      • Remove Profile(s) from Video Preset
    • Video Profiles
      • List All Video Profiles
    • Events
      • Retrieve An Event
      • List All Events
      • Event Types
    • Webhook Endpoints
      • Create Webhook Endpoint
      • Retrieve Webhook Endpoint
      • Update Webhook Endpoint
      • [Deprecated] Update Webhook Endpoint
      • Delete Webhook Endpoint
      • List All Webhook Endpoints
      • [Deprecated] Enable A Webhook Endpoint
      • [Deprecated] Disable A Webhook Endpoint
  • SDK REFERENCE
    • Introduction
    • Android SDK
      • Android Player SDK
      • Android Broadcast SDK
    • iOS SDK
      • iOS Player SDK
      • iOS Broadcast SDK
    • Web Player SDK
  • API UPGRADES
    • Release Notes
    • API Changelog
Powered by GitBook
On this page

Was this helpful?

  1. API Reference

Video Entities

A video_entity is created every time a video is uploaded to Uiza via a URL which redirects Uiza to your video storage to retrieve the video file. This URL could be either a direct HTTP/HTTPS link or a URL that leads to your FTP or S3 storage.

Once the video has been successfully retrieved, Uiza transcodes the file into several renditions that have different resolutions and are compatible to different streaming protocol such as HLS, fMP4... These renditions are made available to your viewers by you publishing them to Uiza's Content Delivery Network (CDN) via Uiza APIs.

The APIs allow you to create, delete, publish, update the information of the video_entities and retrieve your entities individually or collectively.

The video entity object

Attributes

id string

The unique identifier for the video entity.

name string

The name of your video entity.

description string

Describes the content of the video entity. Often useful for displaying to viewers.

short_description string

A shortened version of your description.

view number

The number of times that the video has been viewed.

poster string

The URL of the video entity's poster image.

thumbnail string

The URL of the video entity's thumbnail image.

input_type string

It could be either dvr or s3-uiza. dvr indicates that your video_entity was created from a live record, and s3-uiza indicates it was created by a user uploading a VOD through the Uiza dashboard.

duration number

The duration of your video entity in seconds. It is measured up to one millionth of a second.

publish_to_cdn string

The status indicates whether your video entity had been published to Uiza's CDN or not. There are 4 possible statuses:

not-ready is returned when Uiza receives no request to publish the video entity yet.

queue is returned when your video entity is in the queue to be published.

success is returned when your video entity has been successfully published and your viewers are able to watch the video.

failed is returned when something goes wrong during the publishing process of your video entity.

playback object

Contains the playback URL for different streaming protocols including HLS fMP4 (hls), HLS ts (hls_ts) and MPEG-dash (mpd). Use this URL to configure your player to play the video.

created_at string

updated_at string

PreviousList All Live SessionsNextRetrieve A Video Entity

Last updated 5 years ago

Was this helpful?

The timestamp, at which the video_entity is created, follows the .

The timestamp, at which the most recent update to the video_entity occurred, follows the .

ISO 8601 standard
ISO 8601 standard