AliVCSDK  6.5.0
阿里云音视频SDK,为视频开发者提供一站式接入服务

Classes

class  com.alivc.live.pusher.AlivcLiveBase
 AliLive Base Interface. More...
 

Functions

static String com.alivc.live.pusher.AlivcLiveBase.getSDKVersion ()
 
static void com.alivc.live.pusher.AlivcLiveBase.setListener (AlivcLiveBaseListener listener)
 
static boolean com.alivc.live.pusher.AlivcLiveBase.registerSDK ()
 
static void com.alivc.live.pusher.AlivcLiveBase.setLogLevel (AlivcLivePushLogLevel level)
 
static void com.alivc.live.pusher.AlivcLiveBase.setConsoleEnabled (boolean enabled)
 
static void com.alivc.live.pusher.AlivcLiveBase.setLogDirPath (String logDirPath, int maxPartFileSizeInKB)
 
static boolean com.alivc.live.pusher.AlivcLiveBase.isSupportLiveMode (AlivcLiveMode liveMode)
 

Detailed Description

Function Documentation

static String com.alivc.live.pusher.AlivcLiveBase.getSDKVersion ( )
static

Get SDK version

Returns
SDK version

Definition at line 51 of file AlivcLiveBase.java.

static boolean com.alivc.live.pusher.AlivcLiveBase.isSupportLiveMode ( AlivcLiveMode  liveMode)
static

Is the live mode supported by SDK

Parameters
liveModelive mode
Returns
can be supported
Note
Basic: Only support AlivcLiveBasicMode
Interactive: Support AlivcLiveBasicMode/AlivcLiveInteractiveMode

Definition at line 118 of file AlivcLiveBase.java.

static boolean com.alivc.live.pusher.AlivcLiveBase.registerSDK ( )
static

Register SDK license

Note
You need call the method 'setListener' first to receive the async result
See also
Integrate a Push SDK license

Definition at line 72 of file AlivcLiveBase.java.

static void com.alivc.live.pusher.AlivcLiveBase.setConsoleEnabled ( boolean  enabled)
static

Turn on or off the console print log

Parameters
enabledturn on or off Default: false

Definition at line 95 of file AlivcLiveBase.java.

static void com.alivc.live.pusher.AlivcLiveBase.setListener ( AlivcLiveBaseListener  listener)
static

Set live push base listener

Parameters
listenerlive push base listener
Note
Receive callback for async license registration results
See also
com.alivc.live.pusher.AlivcLiveBaseListener

Definition at line 62 of file AlivcLiveBase.java.

static void com.alivc.live.pusher.AlivcLiveBase.setLogDirPath ( String  logDirPath,
int  maxPartFileSizeInKB 
)
static

Set log directory file path

Parameters
logDirPathlog directory file path
maxPartFileSizeInKBmax size of each partition, and the total volume of the final log is 5 times the maximum partition size
Note
Ensure that the path exists and is writable

Definition at line 106 of file AlivcLiveBase.java.

static void com.alivc.live.pusher.AlivcLiveBase.setLogLevel ( AlivcLivePushLogLevel  level)
static

Set log level

Parameters
levellog level
Note
Enabling 'LogLevelAll' will increase APP performance consumption!
See also
com.alivc.live.pusher.AlivcLivePushLogLevel Default: AlivcLivePushLogLevel.AlivcLivePushLogLevelWarn

Definition at line 85 of file AlivcLiveBase.java.