V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
9527H
V2EX  ›  问与答

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

  •  1
     
  •   9527H · Jul 25, 2022 · 1320 views
    This topic created in 1375 days ago, the information mentioned may be changed or developed.
    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()
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   835 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 20:00 · PVG 04:00 · LAX 13:00 · JFK 16:00
    ♥ Do have faith in what you're doing.