Java Code Examples for com.qiniu.pili.droid.streaming.StreamingProfile#StreamStatus

The following examples show how to use com.qiniu.pili.droid.streaming.StreamingProfile#StreamStatus . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PKAnchorActivity.java    From PLDroidRTCStreaming with Apache License 2.0 5 votes vote down vote up
@Override
public void notifyStreamStatusChanged(final StreamingProfile.StreamStatus streamStatus) {
    runOnUiThread(new Runnable() {
        @Override
        public void run() {
            String stat = "bitrate: " + streamStatus.totalAVBitrate / 1024 + " kbps"
                    + "\naudio: " + streamStatus.audioFps + " fps"
                    + "\nvideo: " + streamStatus.videoFps + " fps";
            mStatTextView.setText(stat);
        }
    });
}
 
Example 2
Source File: RTCStreamingActivity.java    From PLDroidRTCStreaming with Apache License 2.0 5 votes vote down vote up
@Override
public void notifyStreamStatusChanged(final StreamingProfile.StreamStatus streamStatus) {
    runOnUiThread(new Runnable() {
        @Override
        public void run() {
            String stat = "bitrate: " + streamStatus.totalAVBitrate / 1024 + " kbps"
                    + "\naudio: " + streamStatus.audioFps + " fps"
                    + "\nvideo: " + streamStatus.videoFps + " fps";
            mStatTextView.setText(stat);
        }
    });
}
 
Example 3
Source File: ExtCapStreamingActivity.java    From PLDroidRTCStreaming with Apache License 2.0 5 votes vote down vote up
@Override
public void notifyStreamStatusChanged(final StreamingProfile.StreamStatus streamStatus) {
    runOnUiThread(new Runnable() {
        @Override
        public void run() {
            String stat = "bitrate: " + streamStatus.totalAVBitrate / 1024 + " kbps"
                    + "\naudio: " + streamStatus.audioFps + " fps"
                    + "\nvideo: " + streamStatus.videoFps + " fps";
            mStatTextView.setText(stat);
        }
    });
}
 
Example 4
Source File: RTCAudioStreamingActivity.java    From PLDroidRTCStreaming with Apache License 2.0 5 votes vote down vote up
@Override
public void notifyStreamStatusChanged(final StreamingProfile.StreamStatus streamStatus) {
    runOnUiThread(new Runnable() {
        @Override
        public void run() {
            String stat = "Bitrate: " + streamStatus.totalAVBitrate / 1024 + " kbps"
                    + "\nAudio: " + streamStatus.audioFps + " fps";
            mStatTextView.setText(stat);
        }
    });
}
 
Example 5
Source File: StreamingBaseActivity.java    From PLDroidMediaStreaming with Apache License 2.0 5 votes vote down vote up
@Override
public void notifyStreamStatusChanged(final StreamingProfile.StreamStatus streamStatus) {
    runOnUiThread(new Runnable() {
        @Override
        public void run() {
            mStatView.setText("bitrate:" + streamStatus.totalAVBitrate / 1024 + " kbps"
                    + "\naudio:" + streamStatus.audioFps + " fps"
                    + "\nvideo:" + streamStatus.videoFps + " fps");
        }
    });
}
 
Example 6
Source File: QiniuicloudPushListener.java    From FlutterQiniucloudLivePlugin with Apache License 2.0 4 votes vote down vote up
@Override
public void notifyStreamStatusChanged(StreamingProfile.StreamStatus streamStatus) {
    invokeListener(PushCallBackNoticeEnum.StreamStatusChanged, streamStatus);
}