0% found this document useful (0 votes)
2 views1 page

API Document

The document outlines the video uploading and streaming processes using the uploadVideo API. It details the parameters required for uploading video content and updating metadata, as well as the streaming process that allows users to watch videos from a specific point. Key components include API key identification, video data, and support for various codecs and resolutions.

Uploaded by

pavan.ananthula
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

API Document

The document outlines the video uploading and streaming processes using the uploadVideo API. It details the parameters required for uploading video content and updating metadata, as well as the streaming process that allows users to watch videos from a specific point. Key components include API key identification, video data, and support for various codecs and resolutions.

Uploaded by

pavan.ananthula
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Video Uploading Process

We use the uploadVideo API for uploading the video content, which returns an HTTP response
that demonstrates video is uploaded successfully or not.

string uploadVideo(string apiKey, stream videoData, string videoTitle, string videoDescription,


string videoCategory, string videoTags[], string videoLanguage, string videoLocation)

apiKey: An identification of the registered account.


videoData: Uploaded video data.
videoTitle: The title of the video.
videoDescription: The description text of the video.
videoCategory: Video category data like sports, education, etc.
videoTags[]: A list of tags for the video.
videoLanguage: The language of the content like English, Hindi, etc.
videoLocation: The location where the video was recorded.
The video upload flow is divided into two processes running in parallel: 1) Uploading the video
content and 2) Updating the video metadata.

Video Streaming Process

We use the uploadVideo API for uploading the video content, which continuously sends the
small pieces of the video media stream from the given offset.

stream viewVideo(string apiKey, string videoId, int videoOffset, string codec, string
videoResolution)

apiKey: An identification of the registered account.


videoId: An identifier for the video.
videoOffset: This is the time from the start of the video, which enables users to watch a video on
any device from the same point where they left off.
codec: to compress large video content into smaller sizes. It uses efficient video compression
algorithms to facilitate this process. We send the client’s codec info in the API to support
play/pause from multiple devices.
videoResolution: different devices may have different resolutions.

You might also like