录屏推流时,rtmp服务器老是断开重连,日志提示: too big message: 1048576, disconnect, 同一个服务使用ffmepg推流正常,猜想是mediacodec 编码时 bytebuffer过大问题,请问这个怎么解决啊,
githubdemo 日志:: do not know color format 0x7f00000b = 2130706443
2022-02-26 15:12:51.481 27951-28547/io.anyrtc.liveplayer W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2022-02-26 15:12:51.482 27951-28547/io.anyrtc.liveplayer I/ACodec: setupAVCEncoderParameters with [profile: Baseline] [level: Level52]
2022-02-26 15:12:51.482 27951-28547/io.anyrtc.liveplayer I/ACodec: [OMX.IMG.TOPAZ.VIDEO.Encoder] cannot encode color aspects. Ignoring.
2022-02-26 15:12:51.482 27951-28547/io.anyrtc.liveplayer I/ACodec: [OMX.IMG.TOPAZ.VIDEO.Encoder] cannot encode HDR static metadata. Ignoring.
2022-02-26 15:12:51.482 27951-28547/io.anyrtc.liveplayer I/ACodec: setupVideoEncoder succeeded
2022-02-26 15:12:51.482 27951-28547/io.anyrtc.liveplayer W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2022-02-26 15:12:51.485 27951-28545/io.anyrtc.liveplayer I/org.webrtc.Logging: EglBase14Impl: Using OpenGL ES version 2
服务器日志情况:
2022/02/25 17:47:12 [info] 4360#3028: 32 too big message: 1048576, client: 192.168.1.51, server: 0.0.0.0:1935
2022/02/25 17:47:12 [info] 4360#3028: 32 disconnect, client: 192.168.1.51, server: 0.0.0.0:1935
2022/02/25 17:47:12 [info] 4360#3028: 32 deleteStream, client: 192.168.1.51, server: 0.0.0.0:1935
2022/02/25 17:47:15 [info] 4360#3028: 33 client connected '192.168.1.51'