public class

StreamerConstants

extends Object
java.lang.Object
   ↳ org.opencdnunion.media.streamer.kit.StreamerConstants

Summary

Constants
int AUDIO_NS_LEVEL_0
int AUDIO_NS_LEVEL_1
int AUDIO_NS_LEVEL_2
int AUDIO_NS_LEVEL_3
int CODEC_ID_AAC
int CODEC_ID_AVC
int CODEC_ID_HEVC
int DECODE_METHOD_HARDWARE
int DECODE_METHOD_SOFTWARE
int DEFAILT_MIN_VIDEO_BITRATE
int DEFAULT_AUDIO_BITRATE
int DEFAULT_AUDIO_CHANNELS
int DEFAULT_AUDIO_SAMPLE_RATE
float DEFAULT_IFRAME_INTERVAL
int DEFAULT_INIT_VIDEO_BITRATE
int DEFAULT_MAX_VIDEO_BITRATE
float DEFAULT_PREVIEW_FPS
int DEFAULT_PREVIEW_RESOLUTION
float DEFAULT_TARGET_FPS
int DEFAULT_TARGET_RESOLUTION
int ENCODE_METHOD_HARDWARE
int ENCODE_METHOD_SOFTWARE
int UNION_STREAMER_AUDIO_ENCODER_ERROR_UNKNOWN
int UNION_STREAMER_AUDIO_ENCODER_ERROR_UNSUPPORTED
int UNION_STREAMER_AUDIO_RECORDER_ERROR_START_FAILED
int UNION_STREAMER_AUDIO_RECORDER_ERROR_UNKNOWN
int UNION_STREAMER_CAMERA_ERROR_EVICTED
int UNION_STREAMER_CAMERA_ERROR_SERVER_DIED
int UNION_STREAMER_CAMERA_ERROR_START_FAILED
int UNION_STREAMER_CAMERA_ERROR_UNKNOWN
int UNION_STREAMER_CAMERA_FACEING_CHANGED
int UNION_STREAMER_CAMERA_FACING_CHANGED
int UNION_STREAMER_CAMERA_INIT_DONE
int UNION_STREAMER_ERROR_AV_ASYNC
int UNION_STREAMER_ERROR_CONNECT_BREAKED
int UNION_STREAMER_ERROR_CONNECT_FAILED
int UNION_STREAMER_ERROR_DNS_PARSE_FAILED
int UNION_STREAMER_ERROR_PUBLISH_FAILED
int UNION_STREAMER_EST_BW_DROP
int UNION_STREAMER_EST_BW_RAISE
int UNION_STREAMER_FRAME_SEND_SLOW
int UNION_STREAMER_OPEN_FILE_SUCCESS
int UNION_STREAMER_OPEN_STREAM_SUCCESS
int UNION_STREAMER_VIDEO_ENCODER_ERROR_UNKNOWN
int UNION_STREAMER_VIDEO_ENCODER_ERROR_UNSUPPORTED
int VIDEO_RESOLUTION_1080P
int VIDEO_RESOLUTION_360P
int VIDEO_RESOLUTION_480P
int VIDEO_RESOLUTION_540P
int VIDEO_RESOLUTION_720P
Public Constructors
StreamerConstants()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int AUDIO_NS_LEVEL_0

Constant Value: 0 (0x00000000)

public static final int AUDIO_NS_LEVEL_1

Constant Value: 1 (0x00000001)

public static final int AUDIO_NS_LEVEL_2

Constant Value: 2 (0x00000002)

public static final int AUDIO_NS_LEVEL_3

Constant Value: 3 (0x00000003)

public static final int CODEC_ID_AAC

Constant Value: 256 (0x00000100)

public static final int CODEC_ID_AVC

Constant Value: 1 (0x00000001)

public static final int CODEC_ID_HEVC

Constant Value: 2 (0x00000002)

public static final int DECODE_METHOD_HARDWARE

Constant Value: 2 (0x00000002)

public static final int DECODE_METHOD_SOFTWARE

Constant Value: 1 (0x00000001)

public static final int DEFAILT_MIN_VIDEO_BITRATE

Constant Value: 200000 (0x00030d40)

public static final int DEFAULT_AUDIO_BITRATE

Constant Value: 48000 (0x0000bb80)

public static final int DEFAULT_AUDIO_CHANNELS

Constant Value: 1 (0x00000001)

public static final int DEFAULT_AUDIO_SAMPLE_RATE

Constant Value: 44100 (0x0000ac44)

public static final float DEFAULT_IFRAME_INTERVAL

Constant Value: 3.0

public static final int DEFAULT_INIT_VIDEO_BITRATE

Constant Value: 600000 (0x000927c0)

public static final int DEFAULT_MAX_VIDEO_BITRATE

Constant Value: 800000 (0x000c3500)

public static final float DEFAULT_PREVIEW_FPS

Constant Value: 15.0

public static final int DEFAULT_PREVIEW_RESOLUTION

Constant Value: 0 (0x00000000)

public static final float DEFAULT_TARGET_FPS

Constant Value: 15.0

public static final int DEFAULT_TARGET_RESOLUTION

Constant Value: 0 (0x00000000)

public static final int ENCODE_METHOD_HARDWARE

Constant Value: 2 (0x00000002)

public static final int ENCODE_METHOD_SOFTWARE

Constant Value: 3 (0x00000003)

public static final int UNION_STREAMER_AUDIO_ENCODER_ERROR_UNKNOWN

Constant Value: -1011 (0xfffffc0d)

public static final int UNION_STREAMER_AUDIO_ENCODER_ERROR_UNSUPPORTED

Constant Value: -1008 (0xfffffc10)

public static final int UNION_STREAMER_AUDIO_RECORDER_ERROR_START_FAILED

Constant Value: -2003 (0xfffff82d)

public static final int UNION_STREAMER_AUDIO_RECORDER_ERROR_UNKNOWN

Constant Value: -2005 (0xfffff82b)

public static final int UNION_STREAMER_CAMERA_ERROR_EVICTED

Constant Value: -2007 (0xfffff829)

public static final int UNION_STREAMER_CAMERA_ERROR_SERVER_DIED

Constant Value: -2006 (0xfffff82a)

public static final int UNION_STREAMER_CAMERA_ERROR_START_FAILED

Constant Value: -2002 (0xfffff82e)

public static final int UNION_STREAMER_CAMERA_ERROR_UNKNOWN

Constant Value: -2001 (0xfffff82f)

public static final int UNION_STREAMER_CAMERA_FACEING_CHANGED

Constant Value: 1002 (0x000003ea)

public static final int UNION_STREAMER_CAMERA_FACING_CHANGED

Constant Value: 1002 (0x000003ea)

public static final int UNION_STREAMER_CAMERA_INIT_DONE

Constant Value: 1000 (0x000003e8)

public static final int UNION_STREAMER_ERROR_AV_ASYNC

Constant Value: -2004 (0xfffff82c)

public static final int UNION_STREAMER_ERROR_CONNECT_BREAKED

Constant Value: -1007 (0xfffffc11)

public static final int UNION_STREAMER_ERROR_CONNECT_FAILED

Constant Value: -1006 (0xfffffc12)

public static final int UNION_STREAMER_ERROR_DNS_PARSE_FAILED

Constant Value: -1009 (0xfffffc0f)

public static final int UNION_STREAMER_ERROR_PUBLISH_FAILED

Constant Value: -1010 (0xfffffc0e)

public static final int UNION_STREAMER_EST_BW_DROP

Constant Value: 3003 (0x00000bbb)

public static final int UNION_STREAMER_EST_BW_RAISE

Constant Value: 3002 (0x00000bba)

public static final int UNION_STREAMER_FRAME_SEND_SLOW

Constant Value: 3001 (0x00000bb9)

public static final int UNION_STREAMER_OPEN_FILE_SUCCESS

Constant Value: 1 (0x00000001)

public static final int UNION_STREAMER_OPEN_STREAM_SUCCESS

Constant Value: 0 (0x00000000)

public static final int UNION_STREAMER_VIDEO_ENCODER_ERROR_UNKNOWN

Constant Value: -1003 (0xfffffc15)

public static final int UNION_STREAMER_VIDEO_ENCODER_ERROR_UNSUPPORTED

Constant Value: -1004 (0xfffffc14)

public static final int VIDEO_RESOLUTION_1080P

Constant Value: 4 (0x00000004)

public static final int VIDEO_RESOLUTION_360P

Constant Value: 0 (0x00000000)

public static final int VIDEO_RESOLUTION_480P

Constant Value: 1 (0x00000001)

public static final int VIDEO_RESOLUTION_540P

Constant Value: 2 (0x00000002)

public static final int VIDEO_RESOLUTION_720P

Constant Value: 3 (0x00000003)

Public Constructors

public StreamerConstants ()