hyphenate_SDK3.0 3.7.6.3
hyphenate java IM SDK
Public Member Functions | List of all members
com.hyphenate.chat.EMCDNCanvas Class Reference

Public Member Functions

 EMCDNCanvas (int width, int height, int bgclr, int fps, int kpbs, String codec)
 
void setWidth (int width)
 
int getWidth ()
 
void setHeight (int height)
 
int getHeight ()
 
int getBgclr ()
 
void setBgclr (int bgclr)
 
void setFps (int fps)
 
int getFps ()
 
void setVideoKbps (int kbps)
 
int getVideoKbps ()
 
void setCodec (String codec)
 
String getCodec ()
 

Detailed Description

Created by lijian on 2020/04/22.

The cdn canvas config Note: When width or height is set to 0, it is a pure audio stream. Width and height must both be greater than 0 for an audio stream to be pushed

width (Canvas width) height(Canvas height) bgclr (Canvas background color, Hex value defined by RGB, no #, such as 0xFFB6C1 means light pink.Default 0x000000, black)) fps (The fps of cdn live,valid valuei is 10-30) kpbs (The birateBps of cdn live,the unit is kbps,valid value is 1-5000 ) codec (The codec of cdn live,now only support H264)


The documentation for this class was generated from the following file: