推流通知监听器
更多...
|
abstract void | onPreviewStarted (AlivcLivePusher pusher) |
|
abstract void | onPreviewStopped (AlivcLivePusher pusher) |
|
abstract void | onPushStarted (AlivcLivePusher pusher) |
|
abstract void | onPushPaused (AlivcLivePusher pusher) |
|
abstract void | onPushResumed (AlivcLivePusher pusher) |
|
abstract void | onPushStopped (AlivcLivePusher pusher) |
|
abstract void | onPushRestarted (AlivcLivePusher pusher) |
|
abstract void | onFirstFramePreviewed (AlivcLivePusher pusher) |
|
abstract void | onFirstFramePushed (AlivcLivePusher pusher) |
|
abstract void | onDropFrame (AlivcLivePusher pusher, int beforeCount, int afterCount) |
|
abstract void | onAdjustBitrate (AlivcLivePusher pusher, int currentBitrate, int targetBitrate) |
|
abstract void | onAdjustFps (AlivcLivePusher pusher, int currentFps, int targetFps) |
|
abstract void | onPushStatistics (AlivcLivePusher pusher, AlivcLivePushStatsInfo statistics) |
|
void | onSetLiveMixTranscodingConfig (AlivcLivePusher pusher, boolean isSuccess, String msg) |
|
void | onKickedOutByServer (AlivcLivePusher pusher, AlivcLivePushKickedOutType kickedOutType) |
|
void | onMicrophoneVolumeUpdate (AlivcLivePusher pusher, int volume) |
|
void | onLocalRecordEvent (AlivcLiveRecordMediaEvent mediaEvent, String storagePath) |
|
void | onAudioPublishStateChanged (AlivcLivePublishState oldState, AlivcLivePublishState newState) |
|
void | onVideoPublishStateChanged (AlivcLivePublishState oldState, AlivcLivePublishState newState) |
|
void | onScreenSharePublishStateChanged (AlivcLivePublishState oldState, AlivcLivePublishState newState) |
|
void | onLocalDualAudioStreamPushState (AlivcLivePusher pusher, boolean isPushing) |
|
void | onRemoteUserEnterRoom (AlivcLivePusher pusher, String userId, boolean isOnline) |
|
void | onRemoteUserAudioStream (AlivcLivePusher pusher, String userId, boolean isPushing) |
|
void | onRemoteUserVideoStream (AlivcLivePusher pusher, String userId, AlivcLivePlayVideoStreamType videoStreamType, boolean isPushing) |
|
◆ onAdjustBitrate()
abstract void com.alivc.live.pusher.AlivcLivePushInfoListener.onAdjustBitrate |
( |
AlivcLivePusher |
pusher, |
|
|
int |
currentBitrate, |
|
|
int |
targetBitrate |
|
) |
| |
|
abstract |
码率调整回调
- 参数
-
pusher | AlivcLivePusher实例 |
currentBitrate | 当前码率 |
targetBitrate | 目标码率 |
◆ onAdjustFps()
abstract void com.alivc.live.pusher.AlivcLivePushInfoListener.onAdjustFps |
( |
AlivcLivePusher |
pusher, |
|
|
int |
currentFps, |
|
|
int |
targetFps |
|
) |
| |
|
abstract |
帧率调整回调
- 参数
-
pusher | AlivcLivePusher实例 |
currentFps | 当前帧率 |
targetFps | 目标帧率 |
◆ onAudioPublishStateChanged()
◆ onDropFrame()
abstract void com.alivc.live.pusher.AlivcLivePushInfoListener.onDropFrame |
( |
AlivcLivePusher |
pusher, |
|
|
int |
beforeCount, |
|
|
int |
afterCount |
|
) |
| |
|
abstract |
丢帧回调
- 参数
-
pusher | AlivcLivePusher实例 |
beforeCount | 丢帧前视频帧数量 |
afterCount | 丢帧后视频帧数量 |
◆ onFirstFramePreviewed()
abstract void com.alivc.live.pusher.AlivcLivePushInfoListener.onFirstFramePreviewed |
( |
AlivcLivePusher |
pusher | ) |
|
|
abstract |
◆ onFirstFramePushed()
abstract void com.alivc.live.pusher.AlivcLivePushInfoListener.onFirstFramePushed |
( |
AlivcLivePusher |
pusher | ) |
|
|
abstract |
◆ onKickedOutByServer()
◆ onLocalDualAudioStreamPushState()
void com.alivc.live.pusher.AlivcLivePushInfoListener.onLocalDualAudioStreamPushState |
( |
AlivcLivePusher |
pusher, |
|
|
boolean |
isPushing |
|
) |
| |
◆ onLocalRecordEvent()
void com.alivc.live.pusher.AlivcLivePushInfoListener.onLocalRecordEvent |
( |
AlivcLiveRecordMediaEvent |
mediaEvent, |
|
|
String |
storagePath |
|
) |
| |
◆ onMicrophoneVolumeUpdate()
void com.alivc.live.pusher.AlivcLivePushInfoListener.onMicrophoneVolumeUpdate |
( |
AlivcLivePusher |
pusher, |
|
|
int |
volume |
|
) |
| |
◆ onPreviewStarted()
abstract void com.alivc.live.pusher.AlivcLivePushInfoListener.onPreviewStarted |
( |
AlivcLivePusher |
pusher | ) |
|
|
abstract |
◆ onPreviewStopped()
abstract void com.alivc.live.pusher.AlivcLivePushInfoListener.onPreviewStopped |
( |
AlivcLivePusher |
pusher | ) |
|
|
abstract |
◆ onPushPaused()
abstract void com.alivc.live.pusher.AlivcLivePushInfoListener.onPushPaused |
( |
AlivcLivePusher |
pusher | ) |
|
|
abstract |
◆ onPushRestarted()
abstract void com.alivc.live.pusher.AlivcLivePushInfoListener.onPushRestarted |
( |
AlivcLivePusher |
pusher | ) |
|
|
abstract |
◆ onPushResumed()
abstract void com.alivc.live.pusher.AlivcLivePushInfoListener.onPushResumed |
( |
AlivcLivePusher |
pusher | ) |
|
|
abstract |
◆ onPushStarted()
abstract void com.alivc.live.pusher.AlivcLivePushInfoListener.onPushStarted |
( |
AlivcLivePusher |
pusher | ) |
|
|
abstract |
◆ onPushStatistics()
◆ onPushStopped()
abstract void com.alivc.live.pusher.AlivcLivePushInfoListener.onPushStopped |
( |
AlivcLivePusher |
pusher | ) |
|
|
abstract |
◆ onRemoteUserAudioStream()
void com.alivc.live.pusher.AlivcLivePushInfoListener.onRemoteUserAudioStream |
( |
AlivcLivePusher |
pusher, |
|
|
String |
userId, |
|
|
boolean |
isPushing |
|
) |
| |
◆ onRemoteUserEnterRoom()
void com.alivc.live.pusher.AlivcLivePushInfoListener.onRemoteUserEnterRoom |
( |
AlivcLivePusher |
pusher, |
|
|
String |
userId, |
|
|
boolean |
isOnline |
|
) |
| |
◆ onRemoteUserVideoStream()
◆ onScreenSharePublishStateChanged()
◆ onSetLiveMixTranscodingConfig()
void com.alivc.live.pusher.AlivcLivePushInfoListener.onSetLiveMixTranscodingConfig |
( |
AlivcLivePusher |
pusher, |
|
|
boolean |
isSuccess, |
|
|
String |
msg |
|
) |
| |
◆ onVideoPublishStateChanged()