public interface ICodeRateByFrame
| Modifier and Type | Method and Description |
|---|---|
int |
getSuggestCodeRate()
建议的码率
|
void |
init(int configCodeRate,
int configFrameRate,
int notifyStep,
android.os.Handler handler)
初始化参数,设置新的编码器后要重新初始化
|
void |
publishCurrentFrameRate(int currentFrameRate,
int currentCodeRate)
设置当前码率帧率
|
void |
publishNetworkCodeRate(int networkCodeRate)
设置sdk网络计算预测的码率
|
void |
release()
开播结束/切换开播清晰度时调用
|
void init(int configCodeRate,
int configFrameRate,
int notifyStep,
android.os.Handler handler)
throws java.lang.RuntimeException
configCodeRate - configFrameRate - notifyStep - java.lang.RuntimeExceptionvoid publishCurrentFrameRate(int currentFrameRate,
int currentCodeRate)
currentFrameRate - currentCodeRate - void publishNetworkCodeRate(int networkCodeRate)
networkCodeRate - int getSuggestCodeRate()
void release()