为什么使用WebRTC进行屏幕共享可以在平板电脑上运行但不能在手机上运行[android]?

时间:2015-06-05 17:15:53

标签: android webrtc

电话:Nexus 5
平板电脑:Nexus 7

在平板电脑上,日志是干净的,正在呈现的尺寸等。但在手机上,我看到MediaCodecVideoDecoder的额外日志,其中显示解码器格式已更改

    06-05 10:05:10.606 10880 11319 D MediaCodecVideoDecoder: Decoder format changed: {image-data=java.nio.ByteArrayBuffer[position=0,limit=80,capacity=80], mime=video/raw, crop-top=0, crop-right=1127, slice-height=1200, color-format=19, height=1200, width=1128, what=1869968451, crop-bottom=1199, crop-left=0, stride=1136}
    06-05 10:05:10.606 10880 11319 D MediaCodecVideoDecoder: Color: 0x13
    06-05 10:05:10.606 10880 11319 D MediaCodecVideoDecoder: Frame stride and slice height: 1136 x 1200
    06-05 10:05:10.621 10880 11327 D FreeVideoRendererGui: ID: 1. YuvImageRenderer.setSize: 1128 x 1200 rotation 0
    06-05 10:05:10.622 10880 11327 D FreeVideoRendererGui:   YuvImageRenderer.setSize done.
    06-05 10:05:10.626 10880 11149 D FreeVideoRendererGui: ID: 1. AdjustTextureCoords. Display: 1080.0 x 1170.0. Video: 1128 x 1200. Rotation: 0. Mirror: false
    06-05 10:05:10.626 10880 11149 D FreeVideoRendererGui:   Texture vertices: (-1.0,-0.9864975) - (1.0,0.48649752)
    06-05 10:05:10.626 10880 11149 D FreeVideoRendererGui:   Texture UV: (0.0,0.0) - (1.0,1.0)
    06-05 10:05:10.626 10880 11149 D FreeVideoRendererGui:   AdjustTextureCoords done

有人可以解释为什么会这样吗?

0 个答案:

没有答案