推流通知监听器
更多...
void com.alivc.live.pusher.AlivcLivePushInfoListener.onAdjustBitrate |
( |
AlivcLivePusher |
pusher, |
|
|
int |
currentBitrate, |
|
|
int |
targetBitrate |
|
) |
| |
码率调整回调
- 参数
-
pusher | AlivcLivePusher实例 |
currentBitrate | 当前码率 |
targetBitrate | 目标码率 |
void com.alivc.live.pusher.AlivcLivePushInfoListener.onAdjustFps |
( |
AlivcLivePusher |
pusher, |
|
|
int |
currentFps, |
|
|
int |
targetFps |
|
) |
| |
帧率调整回调
- 参数
-
pusher | AlivcLivePusher实例 |
currentFps | 当前帧率 |
targetFps | 目标帧率 |
void com.alivc.live.pusher.AlivcLivePushInfoListener.onDropFrame |
( |
AlivcLivePusher |
pusher, |
|
|
int |
beforeCount, |
|
|
int |
afterCount |
|
) |
| |
丢帧回调
- 参数
-
pusher | AlivcLivePusher实例 |
beforeCount | 丢帧前视频帧数量 |
afterCount | 丢帧后视频帧数量 |
void com.alivc.live.pusher.AlivcLivePushInfoListener.onFirstFramePreviewed |
( |
AlivcLivePusher |
pusher | ) |
|
void com.alivc.live.pusher.AlivcLivePushInfoListener.onFirstFramePushed |
( |
AlivcLivePusher |
pusher | ) |
|
void com.alivc.live.pusher.AlivcLivePushInfoListener.onPreviewStarted |
( |
AlivcLivePusher |
pusher | ) |
|
void com.alivc.live.pusher.AlivcLivePushInfoListener.onPreviewStopped |
( |
AlivcLivePusher |
pusher | ) |
|
void com.alivc.live.pusher.AlivcLivePushInfoListener.onPushPaused |
( |
AlivcLivePusher |
pusher | ) |
|
void com.alivc.live.pusher.AlivcLivePushInfoListener.onPushRestarted |
( |
AlivcLivePusher |
pusher | ) |
|
void com.alivc.live.pusher.AlivcLivePushInfoListener.onPushResumed |
( |
AlivcLivePusher |
pusher | ) |
|
void com.alivc.live.pusher.AlivcLivePushInfoListener.onPushStarted |
( |
AlivcLivePusher |
pusher | ) |
|
void com.alivc.live.pusher.AlivcLivePushInfoListener.onPushStopped |
( |
AlivcLivePusher |
pusher | ) |
|
void com.alivc.live.pusher.AlivcLivePushInfoListener.onSetLiveMixTranscodingConfig |
( |
AlivcLivePusher |
pusher, |
|
|
boolean |
isSuccess, |
|
|
String |
msg |
|
) |
| |