9527H
V2EX  ›  问与答

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

  •  1
     
  •   9527H · Jul 25, 2022 · 1382 views
    This topic created in 1396 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   ·   5495 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 06:45 · PVG 14:45 · LAX 23:45 · JFK 02:45
    ♥ Do have faith in what you're doing.