allez
2021-04-20 8a511c1c78e6e6a2ad8137f5254ce5773325b179
8908 【主干】ios问题.  ios 与android语音通话,电脑与iOS测试正常
1个文件已修改
5 ■■■■■ 已修改文件
Channel/IOS/gtios/Plugins/The2thWorldSDK/UniversalSDK.mm 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Channel/IOS/gtios/Plugins/The2thWorldSDK/UniversalSDK.mm
@@ -170,8 +170,7 @@
    float _height = 560 * _scale;
    
    m_CloseBtn = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    [m_CloseBtn setFrame:CGRectMake(_width - 455 * _scale, _height - 86 * _scale, 180 * _scale, 72 * _scale)];
    [m_CloseBtn setFrame:CGRectMake(_width - 455 * _scale, _height - 86 * _scale, 360 * _scale, 72 * _scale)];
    [m_CloseBtn setFrame:CGRectMake(_width - 600 * _scale, _height - 86 * _scale, 360 * _scale, 72 * _scale)];
    [m_CloseBtn setTitle:@"我知道了" forState:UIControlStateNormal];
    
    NSString *_bundlePath = [[NSBundle mainBundle] pathForResource:@"The2thWorldRES.bundle" ofType:nil];
@@ -524,7 +523,7 @@
        frame += s_frameSize;
        rbytes += length + sizeof(char);
        len -= s_frameSize;
        totalSize += length;
        totalSize += (length+1);
    }
    opus_encoder_destroy(enc);
    return totalSize;