9527H
V2EX  ›  问与答

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

  •  1
     
  •   9527H · Jul 25, 2022 · 1577 views
    This topic created in 1501 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   ·   Privacy   ·   Solana   ·   4831 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 0c620bea · 56ms · UTC 09:37 · PVG 17:37 · LAX 02:37 · JFK 05:37
    ♥ Do have faith in what you're doing.