Api Video Upstream
Main API class. A audio and video streamer capture the microphone and the camera stream and generates parts of video.
Parameters
The application context
where to display preview. Could be null if you don't have a preview.
The API key. If null, only upload with upload token will be possible.
The environment to use. Default is Environment.PRODUCTION.
The timeout in seconds.
The application name. If set, you also must set the appVersion.
The application version. If srt, you also must set the appName.
The part size in bytes (minimum is 5242880 bytes, maximum is 134217728 bytes)
initial audio configuration. Could be change later with audioConfig field.
initial video configuration. Could be change later with videoConfig field.
initial camera. Could be change later with camera field.
The listener for one full video
The listener for a part of a video
The listener for the streamer
Constructors
Types
Functions
Loads a session from the internal store by the sessionId.
Removes a session from the internal store by the sessionId.
Starts camera preview of camera.
Starts the upstream process for an upload token.
Starts the upstream process for a video id.
Stops camera preview.
Stops the upstream process.
Properties
Set/get audio configuration once you have created the a ApiVideoUpstream instance.
Set/get video configuration once you have created the a ApiVideoUpstream instance.