V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
9527H
V2EX  ›  问与答

AbstractMessageLite.toByteArray() 这个方法造成三星 s22 卡顿

  •  1
     
  •   9527H · 2022-07-25 21:02:59 +08:00 · 584 次点击
    这是一个创建于 640 天前的主题,其中的信息可能已经有所发展或是发生改变。
    screenMes.data = ByteString.copyFrom(bytes)
    screenMes.sort = mFlowSort

    if (flags == MediaCodec.BUFFER_FLAG_KEY_FRAME) {
    screenMes.frameType = 0
    } else {
    screenMes.frameType = 1
    }

    //造成卡顿
    val toByteArray = screenMes.build().toByteArray()
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5622 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 06:34 · PVG 14:34 · LAX 23:34 · JFK 02:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.