AliVCSDK  6.0.0
阿里云音视频SDK,为视频开发者提供一站式接入服务
AlivcLivePushInfoListener.java
1 package com.alivc.live.pusher;
2 
11 @Visible
12 public interface AlivcLivePushInfoListener {
18  void onPreviewStarted(AlivcLivePusher pusher);
19 
25  void onPreviewStopped(AlivcLivePusher pusher);
26 
32  void onPushStarted(AlivcLivePusher pusher);
33 
39  void onPushPaused(AlivcLivePusher pusher);
40 
46  void onPushResumed(AlivcLivePusher pusher);
47 
53  void onPushStopped(AlivcLivePusher pusher);
54 
60  void onPushRestarted(AlivcLivePusher pusher);
61 
68 
75 
83  void onDropFrame(AlivcLivePusher pusher, int beforeCount, int afterCount);
84 
92  void onAdjustBitrate(AlivcLivePusher pusher, int currentBitrate, int targetBitrate);
93 
101  void onAdjustFps(AlivcLivePusher pusher, int currentFps, int targetFps);
102 
112 
124  void onSetLiveMixTranscodingConfig(AlivcLivePusher pusher, boolean isSuccess, String msg);
125 }
void onSetLiveMixTranscodingConfig(AlivcLivePusher pusher, boolean isSuccess, String msg)
void onFirstFramePreviewed(AlivcLivePusher pusher)
void onPushPaused(AlivcLivePusher pusher)
void onPushStarted(AlivcLivePusher pusher)
void onPreviewStarted(AlivcLivePusher pusher)
void onPushRestarted(AlivcLivePusher pusher)
void onDropFrame(AlivcLivePusher pusher, int beforeCount, int afterCount)
void onPushStopped(AlivcLivePusher pusher)
void onFirstFramePushed(AlivcLivePusher pusher)
void onAdjustFps(AlivcLivePusher pusher, int currentFps, int targetFps)
void onPushStatistics(AlivcLivePusher pusher, AlivcLivePushStatsInfo statistics)
void onAdjustBitrate(AlivcLivePusher pusher, int currentBitrate, int targetBitrate)
void onPreviewStopped(AlivcLivePusher pusher)
void onPushResumed(AlivcLivePusher pusher)