降低声网SDK版本,处理雷电模拟器闪退问题
This commit is contained in:
parent
b0c5d44d1c
commit
07f97fefdb
@ -55,7 +55,7 @@ task clean(type: Delete) {
|
|||||||
ext {
|
ext {
|
||||||
IS_PUBLISH_LOCAL=true
|
IS_PUBLISH_LOCAL=true
|
||||||
LIB_VERSION="1.0.6"
|
LIB_VERSION="1.0.6"
|
||||||
// AGORA_RTC_SDK="io.agora.rtc:agora-special-full:4.1.1.28"
|
AGORA_RTC_SDK= 'io.agora.rtc:agora-special-full:4.1.1.28'
|
||||||
// AGORA_RTC_SDK= "${rootProject.rootDir.absolutePath}/sdk"
|
// AGORA_RTC_SDK= "${rootProject.rootDir.absolutePath}/sdk"
|
||||||
AGORA_RTC_SDK="io.agora.rtc:full-sdk:4.2.6"
|
// AGORA_RTC_SDK="io.agora.rtc:full-sdk:4.2.6"
|
||||||
}
|
}
|
||||||
|
@ -115,9 +115,10 @@ public class GLFrameBuffer {
|
|||||||
|
|
||||||
synchronized (EglBase.lock){
|
synchronized (EglBase.lock){
|
||||||
if(textureType == GLES11Ext.GL_TEXTURE_EXTERNAL_OES){
|
if(textureType == GLES11Ext.GL_TEXTURE_EXTERNAL_OES){
|
||||||
drawer.drawOes(textureId, matrix, mWidth, mHeight, 0, 0, mWidth, mHeight);
|
drawer.drawOes(textureId,0, matrix, mWidth, mHeight, 0, 0, mWidth, mHeight);
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
drawer.drawRgb(textureId, matrix, mWidth, mHeight, 0, 0, mWidth, mHeight);
|
drawer.drawRgb(textureId,0, matrix, mWidth, mHeight, 0, 0, mWidth, mHeight);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user