安装首次启动重复点击视频转码,提示视频转码失败。
final int transcodingBitrateLevel = 1200;
final int transcodingHeight = 960;
final int transcodingWidth = 640;
//码率
mShortVideoTranscoder.transcode(transcodingWidth, transcodingHeight, transcodingBitrateLevel*1000, new PLVideoSaveListener() {
boolean isStartCompression = true;
@Override
public void onSaveVideoSuccess(String s) {
}
@Override
public void onSaveVideoFailed(final int errorCode) {
}
@Override
public void onSaveVideoCanceled() {
}
@Override
public void onProgressUpdate(float percentage) {
}
});
E/PLDroidShortVideo: Pili-System:unauthorized !
你好,短视频功能是需要进行授权的,授权需要联系商务。
短视频快速接入指南:https://developer.qiniu.com/v...