Agora Java API Reference for Android
Public Attributes | List of all members
io.agora.streaming.StartStreamingError Interface Reference

Public Attributes

int START_STREAMING_ERR_OK = 0
 
int START_STREAMING_ERR_FAILED = 1
 
int START_STREAMING_ERR_NOT_INITIALIZED = 2
 
int START_STREAMING_ERR_ALREADY_STARTED = 3
 
int START_STREAMING_ERR_OPEN_AUDIO_DEVICE = 4
 
int START_STREAMING_ERR_OPEN_VIDEO_DEVICE = 5
 
int START_STREAMING_ERR_CONNECT_RTMP = 6
 
int START_STREAMING_ERR_INVALID_ARGUMENT = 7
 

Member Data Documentation

◆ START_STREAMING_ERR_OK

int io.agora.streaming.StartStreamingError.START_STREAMING_ERR_OK = 0

No error occurs.

◆ START_STREAMING_ERR_FAILED

int io.agora.streaming.StartStreamingError.START_STREAMING_ERR_FAILED = 1

A general error occurs (no specified reason).

◆ START_STREAMING_ERR_NOT_INITIALIZED

int io.agora.streaming.StartStreamingError.START_STREAMING_ERR_NOT_INITIALIZED = 2

Streaming kit is not initialized.

◆ START_STREAMING_ERR_ALREADY_STARTED

int io.agora.streaming.StartStreamingError.START_STREAMING_ERR_ALREADY_STARTED = 3

Streaming kit is already started.

◆ START_STREAMING_ERR_OPEN_AUDIO_DEVICE

int io.agora.streaming.StartStreamingError.START_STREAMING_ERR_OPEN_AUDIO_DEVICE = 4

Failed to open audio device.

◆ START_STREAMING_ERR_OPEN_VIDEO_DEVICE

int io.agora.streaming.StartStreamingError.START_STREAMING_ERR_OPEN_VIDEO_DEVICE = 5

Failed to open video device.

◆ START_STREAMING_ERR_CONNECT_RTMP

int io.agora.streaming.StartStreamingError.START_STREAMING_ERR_CONNECT_RTMP = 6

Failed to connect RTMP.

◆ START_STREAMING_ERR_INVALID_ARGUMENT

int io.agora.streaming.StartStreamingError.START_STREAMING_ERR_INVALID_ARGUMENT = 7

Invalid argument used.