pedroSG94 / RootEncoder

RootEncoder for Android (rtmp-rtsp-stream-client-java) is a stream encoder to push video/audio to media servers using protocols RTMP, RTSP, SRT and UDP with all code written in Java/Kotlin
Apache License 2.0
2.57k stars 780 forks source link

Hello! I successfully ran your project, but when I entered my rtmp address, an error was reported. Could you please tell me the reasons as follows? Log below and tell me how to solve thank you!! #1281

Closed zhouqunhuang closed 9 months ago

zhouqunhuang commented 1 year ago

my log:2023-09-14 15:20:34.869 10728-10901/com.pedro.streamer E/RtmpClient: connection error java.io.IOException: BufferedInputStream is closed at java.io.BufferedInputStream.streamClosed(BufferedInputStream.java:125) at java.io.BufferedInputStream.read(BufferedInputStream.java:230) at com.pedro.rtmp.rtmp.message.BasicHeader$Companion.parseBasicHeader(BasicHeader.kt:63) at com.pedro.rtmp.rtmp.message.RtmpHeader$Companion.readHeader(RtmpHeader.kt:46) at com.pedro.rtmp.rtmp.message.RtmpHeader$Companion.readHeader$default(RtmpHeader.kt:44) at com.pedro.rtmp.rtmp.message.RtmpMessage$Companion.getRtmpMessage(RtmpMessage.kt:51) at com.pedro.rtmp.rtmp.CommandsManager.readMessageResponse(CommandsManager.kt:125) at com.pedro.rtmp.rtmp.RtmpClient.handleMessages(RtmpClient.kt:322) at com.pedro.rtmp.rtmp.RtmpClient.access$handleMessages(RtmpClient.kt:50) at com.pedro.rtmp.rtmp.RtmpClient$connect$1.invokeSuspend(RtmpClient.kt:227) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

pedroSG94 commented 1 year ago

Hello,

Can you share a full logcat of the connection? I will close the other 2 issues since it seems solved

zhouqunhuang commented 1 year ago

2023-09-14 16:36:39.171 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.207 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.243 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.279 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.314 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.327 562-4155/? W/adbd: timed out while waiting for FUNCTIONFS_BIND, trying again 2023-09-14 16:36:39.327 562-4155/? I/adbd: UsbFfs: connection terminated: monitor thread finished 2023-09-14 16:36:39.327 562-562/? I/adbd: UsbFfs: already offline 2023-09-14 16:36:39.327 562-562/? I/adbd: destroying transport UsbFfs 2023-09-14 16:36:39.327 562-562/? I/adbd: UsbFfsConnection being destroyed 2023-09-14 16:36:39.350 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.375 562-575/? I/adbd: opening control endpoint /dev/usb-ffs/adb/ep0 2023-09-14 16:36:39.376 562-575/? I/adbd: UsbFfsConnection constructed 2023-09-14 16:36:39.376 562-4167/? I/adbd: UsbFfs-monitor thread spawned 2023-09-14 16:36:39.379 0-0/? I/: [22570.979737@3] read descriptors 2023-09-14 16:36:39.379 0-0/? I/: [22570.979753@3] read strings 2023-09-14 16:36:39.387 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.422 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.458 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.493 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.528 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.563 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.599 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.633 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.670 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.706 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.740 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.777 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.814 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.846 2781-4752/com.lango.dms I/Lango-Net: [nioEventLoopGroup-2-4]NettySocketImp: send to server type : 0, msg : dc:62:94:0b:75:b6 2023-09-14 16:36:39.848 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.885 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.921 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.956 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:39.992 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.027 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.062 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.098 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.132 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.146 346-3905/? I/EmulatedCamera3_Sensor: 1237 threadLoop - interval(1069270), interval=1.069270, fps=28.056524 2023-09-14 16:36:40.169 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.197 562-562/? W/adbd: timeout expired while flushing socket, closing 2023-09-14 16:36:40.206 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.241 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.276 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.311 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.345 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.377 562-4167/? W/adbd: timed out while waiting for FUNCTIONFS_BIND, trying again 2023-09-14 16:36:40.377 562-4167/? I/adbd: UsbFfs: connection terminated: monitor thread finished 2023-09-14 16:36:40.377 562-562/? I/adbd: UsbFfs: already offline 2023-09-14 16:36:40.378 562-562/? I/adbd: destroying transport UsbFfs 2023-09-14 16:36:40.378 562-562/? I/adbd: UsbFfsConnection being destroyed 2023-09-14 16:36:40.380 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.414 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.415 562-575/? I/adbd: opening control endpoint /dev/usb-ffs/adb/ep0 2023-09-14 16:36:40.415 562-575/? I/adbd: UsbFfsConnection constructed 2023-09-14 16:36:40.416 562-4172/? I/adbd: UsbFfs-monitor thread spawned 2023-09-14 16:36:40.419 0-0/? I/: [22572.019415@5] read descriptors 2023-09-14 16:36:40.419 0-0/? I/: [22572.019428@5] read strings 2023-09-14 16:36:40.449 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.485 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.520 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.556 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.575 0-0/? I/: [22572.175148@1] r1p1_tsensor_read valid cnt is 0, tvalue:0 2023-09-14 16:36:40.582 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:40.582 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:40.582 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:40.582 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:40.593 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.629 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.665 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.700 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.734 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:40.734 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:40.734 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:40.734 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:40.738 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.774 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.809 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.838 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:40.838 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:40.838 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:40.838 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:40.843 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.879 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.915 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.942 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:40.942 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:40.942 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:40.942 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:40.952 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:40.988 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.023 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.054 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.054 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.054 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.054 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.059 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.094 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.130 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.158 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.158 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.158 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.158 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.167 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.205 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.218 346-3905/? I/EmulatedCamera3_Sensor: 1237 threadLoop - interval(1072334), interval=1.072334, fps=27.976357 2023-09-14 16:36:41.240 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.262 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.262 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.262 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.262 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.275 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.310 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.346 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.366 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.366 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.366 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.366 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.381 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.417 562-4172/? W/adbd: timed out while waiting for FUNCTIONFS_BIND, trying again 2023-09-14 16:36:41.417 562-4172/? I/adbd: UsbFfs: connection terminated: monitor thread finished 2023-09-14 16:36:41.417 562-562/? I/adbd: UsbFfs: already offline 2023-09-14 16:36:41.417 562-562/? I/adbd: destroying transport UsbFfs 2023-09-14 16:36:41.417 562-562/? I/adbd: UsbFfsConnection being destroyed 2023-09-14 16:36:41.421 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.457 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.459 562-575/? I/adbd: opening control endpoint /dev/usb-ffs/adb/ep0 2023-09-14 16:36:41.460 562-575/? I/adbd: UsbFfsConnection constructed 2023-09-14 16:36:41.460 562-4174/? I/adbd: UsbFfs-monitor thread spawned 2023-09-14 16:36:41.463 0-0/? I/: [22573.063995@5] read descriptors 2023-09-14 16:36:41.463 0-0/? I/: [22573.064009@5] read strings 2023-09-14 16:36:41.464 820-949/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.973) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2023-09-14 16:36:41.470 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.470 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.470 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.470 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.492 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.527 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.563 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.590 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.590 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.590 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.590 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.599 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.636 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.671 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.694 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.694 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.694 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.694 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.707 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.743 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.778 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.813 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.822 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.822 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.822 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.822 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.822 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.822 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.829 1150-1174/xbh.platform.middleware I/XBH-MW-FunctionExecute: executeFunc_B: funcId=24673|param1=0|param2=0|param3=0|param4=null 2023-09-14 16:36:41.831 1150-1174/xbh.platform.middleware I/XBH-MW-FunctionExecute: executeFunc_B: funcId=24673|param1=0|param2=0|param3=0|param4=null 2023-09-14 16:36:41.848 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.852 820-1107/system_process I/XBH-Service: XbhService sendMsgToMiddleware msgType = 2 msgStr = action=2^id=c382281 com.xbh.navisetting^className= ^pkgName=com.xbh.navisetting^x=0^y=838^w=80^h=288^gravity=0^type=2003^status=1^context=4kUi 2023-09-14 16:36:41.854 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: stackInfoList list is 3 2023-09-14 16:36:41.855 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: current freedom windows is 0 2023-09-14 16:36:41.861 820-6336/system_process I/XBH-Service: XbhService sendMsgToMiddleware msgType = 2 msgStr = action=2^id=3f34f7b com.xbh.navisetting^className= ^pkgName=com.xbh.navisetting^x=3760^y=838^w=80^h=288^gravity=0^type=2003^status=1^context=4kUi 2023-09-14 16:36:41.866 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: stackInfoList list is 3 2023-09-14 16:36:41.866 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: current freedom windows is 0 2023-09-14 16:36:41.886 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.923 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.950 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.950 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.950 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.950 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.950 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:41.950 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:41.954 344-344/? I/audio_hw_primary: ++[adev_set_audio_port_config:9400] audio_port id:2, role:SINK, type:DEVICE 2023-09-14 16:36:41.954 344-344/? I/audio_hw_primary: [adev_set_audio_port_config:9416] patch->sources[0].ext.device.type:0xd, config->ext.device.type:0x2 2023-09-14 16:36:41.954 344-344/? I/audio_hw_primary: patch found mix->dev patch id:2, sink id:2, patchset:0xebe84030 2023-09-14 16:36:41.954 344-344/? I/audio_hw_primary: - set sink device0x2: volume_Mb[-10000], gain[0.000000] 2023-09-14 16:36:41.954 344-344/? I/audio_hw_primary: - now the sink gains are: 2023-09-14 16:36:41.954 344-344/? I/audio_hw_primary: - OUTPORT_SPEAKER->gain[0.000000] 2023-09-14 16:36:41.954 344-344/? I/audio_hw_primary: - OUTPORT_HDMI_ARC->gain[1.000000] 2023-09-14 16:36:41.954 369-477/? I/AudioPolicyIntefaceImpl: marco audio trace inputSource 1 2023-09-14 16:36:41.954 344-344/? I/audio_hw_primary: - OUTPORT_HEADPHONE->gain[1.000000] 2023-09-14 16:36:41.955 344-344/? I/audio_hw_primary: - OUTPORT_HDMI->gain[1.000000] 2023-09-14 16:36:41.955 344-344/? I/audio_hw_primary: - OUTPORT_ANLG_DOCK_HEADSET->gain[1.000000] 2023-09-14 16:36:41.955 344-344/? I/audio_hw_primary: - active outport is: SPEAKER 2023-09-14 16:36:41.956 369-477/? E/AudioPolicyIntefaceImpl: marco audio trace canCaptureOutput 0 2023-09-14 16:36:41.956 344-912/? I/audio_hw_primary: ++++[usecase_change_validate_l:7536],continuous:0 dev masks:0,out masks:0,out usecase:PCM_NORMAL,aml_out:0xeb180df0 2023-09-14 16:36:41.956 344-912/? I/audio_hw_primary: [usecase_change_validate_l:7582],1 process_buffer_write 2023-09-14 16:36:41.956 344-912/? I/audio_hw_primary: ----[usecase_change_validate_l:7611], continuous:0 dev masks:0x1, out masks:0x1, out usecase:PCM_NORMAL 2023-09-14 16:36:41.956 820-1107/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2023-09-14 16:36:41.957 820-20405/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2023-09-14 16:36:41.958 344-912/? I/audio_hw_primary: hw_write, aml_out 0xeb180df0 alsa open output_format 0x1 2023-09-14 16:36:41.958 344-912/? I/audio_hw_primary: +aml_alsa_output_open stream 0xeb180df0,device 0 2023-09-14 16:36:41.958 344-912/? I/audio_hw_primary: aml_alsa_output_open pcm 0xedf81000 2023-09-14 16:36:41.958 344-912/? I/audio_hw_primary: pcm device already opened,close the handle 0xedf81000 to reopen 2023-09-14 16:36:41.959 0-0/? I/: [22573.562897@4] ss_free() samesrc 3, lvl 1 2023-09-14 16:36:41.959 344-912/? I/audio_hw_primary: aml_alsa_output_open, audio open card(0), device(0) 2023-09-14 16:36:41.959 0-0/? I/: [22573.562913@4] ss_free() samesrc 4, lvl 2 2023-09-14 16:36:41.959 344-912/? I/audio_hw_primary: ALSA open configs: channels 8 format 1 period_count 6 period_size 256 rate 48000 2023-09-14 16:36:41.959 344-912/? I/audio_hw_primary: ALSA open configs: threshold start 0 stop 0 silence 0 silence_size 0 avail_min 0 2023-09-14 16:36:41.959 344-912/? I/audio_hw_primary: pcm_open: flag = 0, card = 0, device = 0 2023-09-14 16:36:41.959 0-0/? I/: [22573.562934@4] ad82088 ad82088_sub: ad82088_shutdown---------------989 name : ad82088_sub 2023-09-14 16:36:41.959 0-0/? I/: [22573.562939@4] ad82088 ad82088: ad82088_shutdown---------------989 name : ad82088 2023-09-14 16:36:41.959 0-0/? I/[22573.562995@5]  audio_ddr_mngr: frddrs[0] released by device fe330000.audiobus:tdm@0 2023-09-14 16:36:41.959 344-912/? I/audio_hw_primary: -aml_alsa_output_open, audio out(0xeb180df0) device(0) refs(78) is_normal_pcm 1, handle 0xedf81000 2023-09-14 16:36:41.959 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:41.959 344-912/? I/audio_hw_primary: +aml_alsa_output_open, adev->pcm_handle[0] 0xedf81000 2023-09-14 16:36:41.962 344-912/? I/audio_hw_primary: aml_alsa_output_write alsa_running_status[0xeb180df0] change from 0 to 1 2023-09-14 16:36:41.963 0-0/? I/[22573.563861@5]  audio_ddr_mngr: frddrs[0] registered by device fe330000.audiobus:tdm@0 2023-09-14 16:36:41.963 0-0/? I/: [22573.563871@5] ad82088 ad82088_sub: ad82088_startup---------------982 name : ad82088_sub 2023-09-14 16:36:41.963 0-0/? I/: [22573.563875@5] ad82088 ad82088: ad82088_startup---------------982 name : ad82088 2023-09-14 16:36:41.963 0-0/? I/: [22573.563955@5] master_mode(1), binv(1), finv(1) out_skew(2), in_skew(3) 2023-09-14 16:36:41.995 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.030 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.048 344-344/? I/audio_hw_primary: pcm_open: flag = 10000000, card = 1, device = 0 2023-09-14 16:36:42.049 344-344/? I/audio_hw_primary: pcm_open: flag = 10000008, card = 1, device = 0 2023-09-14 16:36:42.051 369-4193/? I/AudioFlinger: AudioFlinger's thread 0xb4000073931f8040 tid=4193 ready to run 2023-09-14 16:36:42.052 820-20405/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2023-09-14 16:36:42.052 820-6336/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 8 2023-09-14 16:36:42.053 820-20405/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2023-09-14 16:36:42.053 820-6336/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2023-09-14 16:36:42.054 3503-3503/com.pedro.streamer I/MicrophoneManager: Microphone created, 32000hz, Stereo 2023-09-14 16:36:42.055 3503-3503/com.pedro.streamer I/AudioEncoder: 2 encoders found 2023-09-14 16:36:42.055 3503-3503/com.pedro.streamer I/AudioEncoder: Encoder selected c2.android.aac.encoder 2023-09-14 16:36:42.059 3503-4194/com.pedro.streamer I/CCodec: Created component [c2.android.aac.encoder] 2023-09-14 16:36:42.063 3503-4194/com.pedro.streamer I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2023-09-14 16:36:42.065 3503-4194/com.pedro.streamer I/MediaCodec: MediaCodec will operate in async mode 2023-09-14 16:36:42.066 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 126 2023-09-14 16:36:42.069 3503-4194/com.pedro.streamer W/Codec2Client: query -- param skipped: index = 1107298332. 2023-09-14 16:36:42.069 3503-3503/com.pedro.streamer I/AudioEncoder: prepared 2023-09-14 16:36:42.070 3503-3503/com.pedro.streamer I/VideoEncoder: 3 encoders found 2023-09-14 16:36:42.070 3503-3503/com.pedro.streamer I/VideoEncoder: Encoder OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.070 3503-3503/com.pedro.streamer I/VideoEncoder: Color supported: 2135033992 2023-09-14 16:36:42.070 3503-3503/com.pedro.streamer I/VideoEncoder: Color supported: 19 2023-09-14 16:36:42.070 3503-3503/com.pedro.streamer I/VideoEncoder: Color supported: 21 2023-09-14 16:36:42.070 3503-3503/com.pedro.streamer I/VideoEncoder: Color supported: 2141391872 2023-09-14 16:36:42.070 3503-3503/com.pedro.streamer I/VideoEncoder: Color supported: 2130708361 2023-09-14 16:36:42.070 3503-3503/com.pedro.streamer I/VideoEncoder: Encoder selected OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.073 3503-4198/com.pedro.streamer I/OMXClient: IOmx service obtained 2023-09-14 16:36:42.073 545-605/? I/OMXMaster: makeComponentInstance(OMX.amlogic.video.encoder.avc) in android.hardwar process 2023-09-14 16:36:42.073 545-605/? E/OmxVideoDecoder: v4l2 not support the type 10 now 2023-09-14 16:36:42.073 545-605/? E/AmlogicMultiEncoder: this instance run on 64 bit os 2023-09-14 16:36:42.073 545-605/? E/secmem_tz: [Secure_NegotiateVersion:374] Secure_NegotiateVersion 2 2 2 2 2 2 2023-09-14 16:36:42.074 545-605/? E/secmem_tz: [Secure_NegotiateVersion:384] Negotiated secmem version = 2 2023-09-14 16:36:42.074 545-605/? W/OmxLogConf: Can not read property media.omx.log_levels, using 0 2023-09-14 16:36:42.074 545-605/? I/omx_core: OMX_getHandle_num=1 2023-09-14 16:36:42.075 0-0/? I/[22573.678422@6]  resman: 74 appname:OMX-41, type=0 2023-09-14 16:36:42.076 3503-3503/com.pedro.streamer I/VideoEncoder: Prepare video info: SURFACE, 480x640 2023-09-14 16:36:42.076 3503-3503/com.pedro.streamer I/VideoEncoder: bitrate mode CBR not supported using default mode 2023-09-14 16:36:42.076 3503-4197/com.pedro.streamer I/MediaCodec: MediaCodec will operate in async mode 2023-09-14 16:36:42.077 3503-4198/com.pedro.streamer I/AmAVUtils: AmAVUtils::getComponentRole isEncoder :1 mime:video/avc 2023-09-14 16:36:42.077 3503-4198/com.pedro.streamer I/MediaVendorExt: AmAVUtils::getComponentRole isEncoder :1 mime:video/avc 2023-09-14 16:36:42.073 1150-1150/xbh.platform.middleware I/Thread-12: type=1400 audit(0.0:2052): avc: denied { getattr } for path="/dev/ttyS0" dev="tmpfs" ino=21313 scontext=u:r:system_app:s0 tcontext=u:object_r:serial_device:s0 tclass=chr_file permissive=1 2023-09-14 16:36:42.077 545-605/? E/OMXNodeInstance: setParameter(0xebd42118:amlogic.encoder.avc, OMX.google.android.index.enableAndroidNativeBuffers(0x7f000000): Input:0 en=0) ERROR: UnsupportedIndex(0x8000101a) 2023-09-14 16:36:42.077 545-605/? E/OMXNodeInstance: setParameter(0xebd42118:amlogic.encoder.avc, OMX.google.android.index.allocateNativeHandle(0x7f00000a): Input:0 en=0) ERROR: UnsupportedIndex(0x8000101a) 2023-09-14 16:36:42.077 545-605/? E/OMXNodeInstance: setParameter(0xebd42118:amlogic.encoder.avc, OMX.google.android.index.enableAndroidNativeBuffers(0x7f000000): Output:1 en=0) ERROR: UnsupportedIndex(0x8000101a) 2023-09-14 16:36:42.078 545-605/? E/OMXNodeInstance: setParameter(0xebd42118:amlogic.encoder.avc, OMX.google.android.index.allocateNativeHandle(0x7f00000a): Output:1 en=0) ERROR: UnsupportedIndex(0x8000101a) 2023-09-14 16:36:42.078 545-605/? E/OmxVideoEncoder: setParameter: StoreMetadataInBuffersParams.nPortIndex not input port! 2023-09-14 16:36:42.078 545-605/? E/OMXNodeInstance: setParameter(0xebd42118:amlogic.encoder.avc, OMX.google.android.index.storeMetaDataInBuffers(0x7f000002): Output:1 en=0 type=1) ERROR: BadPortIndex(0x8000101b) 2023-09-14 16:36:42.079 545-605/? I/chatty: uid=1046(mediacodec) HwBinder:545_2 identical 1 line 2023-09-14 16:36:42.079 545-605/? E/OMXNodeInstance: getParameter(0xebd42118:amlogic.encoder.avc, ??(0x7f000007)) ERROR: UnsupportedSetting(0x80001019) 2023-09-14 16:36:42.079 3503-4198/com.pedro.streamer W/OMXUtils: do not know color format 0x7f000789 = 2130708361 2023-09-14 16:36:42.079 3503-4198/com.pedro.streamer I/ACodec: setupAVCEncoderParameters with [profile: Baseline] [level: Level4] 2023-09-14 16:36:42.080 545-545/? E/OMXNodeInstance: setConfig(0xebd42118:amlogic.encoder.avc, ??(0x7f000009)) ERROR: UnsupportedIndex(0x8000101a) 2023-09-14 16:36:42.080 3503-4198/com.pedro.streamer W/ACodec: [OMX.amlogic.video.encoder.avc] setting HDRStaticInfo failed even though codec advertises support 2023-09-14 16:36:42.080 3503-4198/com.pedro.streamer I/ACodec: [OMX.amlogic.video.encoder.avc] cannot encode HDR static metadata. Ignoring. 2023-09-14 16:36:42.080 3503-4198/com.pedro.streamer I/ACodec: setupVideoEncoder succeeded 2023-09-14 16:36:42.080 3503-4198/com.pedro.streamer I/AmAVUtils: AmAVUtils::isAudioExtendFormat input = video/avc 2023-09-14 16:36:42.080 3503-4198/com.pedro.streamer I/AmAVUtils: AmAVUtils::isExtendFormat input = video/avc 2023-09-14 16:36:42.080 545-545/? E/OMXNodeInstance: getParameter(0xebd42118:amlogic.encoder.avc, ??(0x7f000007)) ERROR: UnsupportedSetting(0x80001019) 2023-09-14 16:36:42.081 3503-4198/com.pedro.streamer W/OMXUtils: do not know color format 0x7f000789 = 2130708361 2023-09-14 16:36:42.081 545-545/? E/OMXNodeInstance: getConfig(0xebd42118:amlogic.encoder.avc, ConfigLatency(0x6f800005)) ERROR: UnsupportedIndex(0x8000101a) 2023-09-14 16:36:42.081 545-545/? E/OMXNodeInstance: getConfig(0xebd42118:amlogic.encoder.avc, ConfigAndroidVendorExtension(0x6f100004)) ERROR: UnsupportedIndex(0x8000101a) 2023-09-14 16:36:42.081 545-545/? E/OMXNodeInstance: getConfig(0xebd42118:amlogic.encoder.avc, ConfigAndroidIntraRefresh(0x6f60000a)) ERROR: UnsupportedIndex(0x8000101a) 2023-09-14 16:36:42.081 545-545/? E/OMXNodeInstance: getParameter(0xebd42118:amlogic.encoder.avc, ParamVideoIntraRefresh(0x6000006)) ERROR: UnsupportedIndex(0x8000101a) 2023-09-14 16:36:42.082 545-545/? E/OMXNodeInstance: getConfig(0xebd42118:amlogic.encoder.avc, ??(0x7f00000c)) ERROR: UnsupportedSetting(0x80001019) 2023-09-14 16:36:42.082 545-545/? E/OMXNodeInstance: getParameter(0xebd42118:amlogic.encoder.avc, ParamConsumerUsageBits(0x6f800004)) ERROR: UnsupportedIndex(0x8000101a) 2023-09-14 16:36:42.083 545-545/? E/OMXNodeInstance: getParameter(0xebd42118:amlogic.encoder.avc, ParamConsumerUsageBits(0x6f800004)) ERROR: UnsupportedIndex(0x8000101a) 2023-09-14 16:36:42.083 3503-3503/com.pedro.streamer I/VideoEncoder: prepared 2023-09-14 16:36:42.084 3503-3503/com.pedro.streamer I/VideoEncoder: started 2023-09-14 16:36:42.084 545-545/? I/OmxComponent: OMX_CommandStateSet 851 Cmd 0 nParam1 0x2 2023-09-14 16:36:42.084 545-545/? I/OmxComponent: OMX-41 STATE_SET: OMX_StateLoaded => OMX_StateIdle : OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.084 545-545/? I/OmxComponent: OMX-41 STATE_TRANS: OMX_StateLoaded => OMX_StateIdle : OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.085 545-4199/? I/OmxComponent: OMX-41 STATE_TRANS: OMX_StateLoaded => OMX_StateIdle : OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.088 545-4199/? I/chatty: uid=1046(mediacodec) deo.encoder.avc identical 6 lines 2023-09-14 16:36:42.088 545-4199/? I/OmxComponent: OMX-41 STATE_TRANS: OMX_StateLoaded => OMX_StateIdle : OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.088 545-4199/? I/OmxComponent: STATE_DONE: OMX_StateLoaded => OMX_StateIdle : OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.088 545-4199/? I/OmxComponent: OMX_CommandStateSet 851 Cmd 0 nParam1 0x3 2023-09-14 16:36:42.088 545-4199/? I/OmxComponent: OMX-41 STATE_SET: OMX_StateIdle => OMX_StateExecuting : OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.088 454-519/? W/ResourceManagerService: Ignoring request to add new resource entry with value <= 0 2023-09-14 16:36:42.089 545-4199/? E/AmlogicMultiEncoder: h264type.nPFrames=59 2023-09-14 16:36:42.089 545-4199/? I/OmxVideoEncoder: getParameter:493 OMX_IndexAmlogicVideoExtendCropScale 2023-09-14 16:36:42.089 545-4199/? I/AmlogicMultiEncoder: get Parameter:bEnableScaling:0 param_extended->ui16ScaledWidth:0 Height:0,Flag:0, enableCroping:0, Left:0, right:0, top:0, bottom:0 2023-09-14 16:36:42.089 545-4199/? E/VPUAPI: enc_feature_opts is 0x0 , GopPresetis 0x0 2023-09-14 16:36:42.089 545-4199/? E/VPUAPI: GopPreset GOP format (2) period 60 LongTermRef 0 2023-09-14 16:36:42.089 3503-3503/com.pedro.streamer I/AudioEncoder: started 2023-09-14 16:36:42.089 545-4199/? E/VPUAPI: [VDI] fail to deliver sync instance param inst_idx=0 2023-09-14 16:36:42.089 545-4199/? E/VPUAPI: VPU instance param sync with open param failed 2023-09-14 16:36:42.090 545-4199/? E/VPUAPI: Required buffer fb_num=3, src_num=1, actual src=3 480x640 2023-09-14 16:36:42.090 3503-4194/com.pedro.streamer W/Codec2Client: query -- param skipped: index = 1342179345. 2023-09-14 16:36:42.090 3503-4194/com.pedro.streamer W/Codec2Client: query -- param skipped: index = 2415921170. 2023-09-14 16:36:42.091 0-0/? W/: [22573.693523@2] [-] vpu_open, ret: 0 2023-09-14 16:36:42.091 0-0/? W/: [22573.693712@2] [+]VDI_IOCTL_OPEN_INSTANCE 2023-09-14 16:36:42.091 0-0/? W/: [22573.693717@2] [-]VDI_IOCTL_OPEN_INSTANCE 2023-09-14 16:36:42.091 0-0/? W/: [22573.693719@2] core_idx = 0, inst_idx = 0, 2023-09-14 16:36:42.091 0-0/? W/: [22573.693720@2] s_vpu_open_ref_count = 1, 2023-09-14 16:36:42.091 0-0/? W/: [22573.693722@2] inst_open_count = 1 2023-09-14 16:36:42.091 0-0/? W/: [22573.694055@2] No such IOCTL, cmd is 0x40685612 2023-09-14 16:36:42.091 0-0/? W/: [22573.694446@0] get_vpu_inst_idx, RET_QUEUE_CMD_DONE SET_PARAM val=0x1, idx=0 2023-09-14 16:36:42.091 3503-4194/com.pedro.streamer E/FMQ: grantorIdx must be less than 3 2023-09-14 16:36:42.091 3503-4194/com.pedro.streamer E/FMQ: grantorIdx must be less than 3 2023-09-14 16:36:42.092 553-1149/? E/FMQ: grantorIdx must be less than 3 2023-09-14 16:36:42.092 553-1149/? E/FMQ: grantorIdx must be less than 3 2023-09-14 16:36:42.093 3503-4194/com.pedro.streamer I/CCodecBufferChannel: [c2.android.aac.encoder#531] Created output block pool with allocatorID 16 => poolID 39 - OK 2023-09-14 16:36:42.095 545-4199/? I/OmxComponent: OMX-41 STATE_TRANS: OMX_StateIdle => OMX_StateExecuting : OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.095 545-4199/? I/OmxComponent: STATE_DONE: OMX_StateIdle => OMX_StateExecuting : OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.098 820-6336/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2023-09-14 16:36:42.099 820-3437/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2023-09-14 16:36:42.100 344-344/? W/StreamHAL: Error from HAL stream in function set_microphone_direction: Function not implemented 2023-09-14 16:36:42.101 344-344/? W/StreamHAL: Error from HAL stream in function set_microphone_field_dimension: Function not implemented 2023-09-14 16:36:42.101 3503-3503/com.pedro.streamer I/MicrophoneManager: Microphone started 2023-09-14 16:36:42.101 344-344/? E/FMQ: grantorIdx must be less than 3 2023-09-14 16:36:42.102 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 126 2023-09-14 16:36:42.102 344-344/? E/FMQ: grantorIdx must be less than 3 2023-09-14 16:36:42.102 369-4191/? E/FMQ: grantorIdx must be less than 3 2023-09-14 16:36:42.102 369-4191/? E/FMQ: grantorIdx must be less than 3 2023-09-14 16:36:42.102 344-4204/? I/audio_hw_primary: pcm_open: flag = 10000008, card = 1, device = 0 2023-09-14 16:36:42.103 820-3437/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 8 2023-09-14 16:36:42.130 3503-3759/com.pedro.streamer I/Handshake: writing C0 2023-09-14 16:36:42.130 3503-3759/com.pedro.streamer I/Handshake: C0 write successful 2023-09-14 16:36:42.130 3503-3759/com.pedro.streamer I/Handshake: writing C1 2023-09-14 16:36:42.130 3503-3759/com.pedro.streamer I/Handshake: writing time 1694680602 to c1 2023-09-14 16:36:42.130 3503-3759/com.pedro.streamer I/Handshake: writing zero to c1 2023-09-14 16:36:42.130 3503-3759/com.pedro.streamer I/Handshake: writing random to c1 2023-09-14 16:36:42.132 3503-3759/com.pedro.streamer I/Handshake: C1 write successful 2023-09-14 16:36:42.132 3503-3759/com.pedro.streamer I/Handshake: reading S0 2023-09-14 16:36:42.138 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 126 2023-09-14 16:36:42.164 369-470/? W/APM::AudioPolicyEngine: getDevicesForStrategy() unknown strategy: -1 2023-09-14 16:36:42.164 820-3437/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2023-09-14 16:36:42.166 3503-4194/com.pedro.streamer E/FMQ: grantorIdx must be less than 3 2023-09-14 16:36:42.166 553-1149/? E/FMQ: grantorIdx must be less than 3 2023-09-14 16:36:42.168 3503-3759/com.pedro.streamer I/Handshake: read S0 successful 2023-09-14 16:36:42.168 3503-3759/com.pedro.streamer I/Handshake: reading S1 2023-09-14 16:36:42.169 553-4195/? E/FMQ: grantorIdx must be less than 3 2023-09-14 16:36:42.169 3503-3759/com.pedro.streamer I/Handshake: read S1 successful 2023-09-14 16:36:42.169 3503-3759/com.pedro.streamer I/Handshake: writing C2 2023-09-14 16:36:42.169 3503-3746/com.pedro.streamer E/FMQ: grantorIdx must be less than 3 2023-09-14 16:36:42.169 3503-3759/com.pedro.streamer I/Handshake: C2 write successful 2023-09-14 16:36:42.169 3503-3759/com.pedro.streamer I/Handshake: reading S2 2023-09-14 16:36:42.169 3503-3759/com.pedro.streamer I/Handshake: read S2 successful 2023-09-14 16:36:42.170 3503-3759/com.pedro.streamer I/CommandsManager: using default write chunk size 128 2023-09-14 16:36:42.172 3503-3759/com.pedro.streamer I/CommandsManager: send Command(name='connect', transactionId=1, timeStamp=0, streamId=0, data=[AmfString value: connect, AmfNumber value: 1.0, AmfObject properties: {AmfString value: app=AmfString value: live, AmfString value: flashVer=AmfString value: FMLE/3.0 (compatible; Lavf57.56.101), AmfString value: swfUrl=AmfString value: , AmfString value: tcUrl=AmfString value: rtmp://110.90.11.185:11935/live, AmfString value: fpad=AmfBoolean value: false, AmfString value: capabilities=AmfNumber value: 239.0, AmfString value: audioCodecs=AmfNumber value: 3191.0, AmfString value: videoCodecs=AmfNumber value: 252.0, AmfString value: videoFunction=AmfNumber value: 1.0, AmfString value: pageUrl=AmfString value: , AmfString value: objectEncoding=AmfNumber value: 0.0}], bodySize=272) 2023-09-14 16:36:42.173 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 126 2023-09-14 16:36:42.194 3503-3759/com.pedro.streamer I/CommandsManager: read WindowAcknowledgementSize(acknowledgementWindowSize=2500000) 2023-09-14 16:36:42.205 3503-3759/com.pedro.streamer I/CommandsManager: read SetPeerBandwidth(acknowledgementWindowSize=2500000, type=DYNAMIC) 2023-09-14 16:36:42.206 3503-3759/com.pedro.streamer I/CommandsManager: read SetChunkSize(chunkSize=4096) 2023-09-14 16:36:42.206 3503-3759/com.pedro.streamer I/RtmpClient: chunk size configured to 4096 2023-09-14 16:36:42.208 3503-3759/com.pedro.streamer I/CommandsManager: read Command(name='_result', transactionId=1, timeStamp=0, streamId=0, data=[AmfString value: _result, AmfNumber value: 1.0, AmfObject properties: {AmfString value: fmsVer=AmfString value: FMS/4,5,0,297, AmfString value: capabilities=AmfNumber value: 255.0, AmfString value: mode=AmfNumber value: 1.0}, AmfObject properties: {AmfString value: level=AmfString value: status, AmfString value: code=AmfString value: NetConnection.Connect.Success, AmfString value: description=AmfString value: Connection succeeded., AmfString value: objectEncoding=AmfNumber value: 0.0, AmfString value: data=AmfObject properties: {AmfString value: version=AmfString value: 4,5,0,297}}], bodySize=236) 2023-09-14 16:36:42.209 3503-3759/com.pedro.streamer I/CommandsManager: send Command(name='releaseStream', transactionId=2, timeStamp=0, streamId=0, data=[AmfString value: releaseStream, AmfNumber value: 2.0, AmfNull, AmfString value: av0], bodySize=32) 2023-09-14 16:36:42.209 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.210 3503-3759/com.pedro.streamer I/CommandsManager: send Command(name='FCPublish', transactionId=3, timeStamp=0, streamId=0, data=[AmfString value: FCPublish, AmfNumber value: 3.0, AmfNull, AmfString value: av0], bodySize=28) 2023-09-14 16:36:42.211 3503-3759/com.pedro.streamer I/CommandsManager: send Command(name='createStream', transactionId=4, timeStamp=0, streamId=0, data=[AmfString value: createStream, AmfNumber value: 4.0, AmfNull], bodySize=25) 2023-09-14 16:36:42.211 3503-3759/com.pedro.streamer I/RtmpClient: success response received from connect 2023-09-14 16:36:42.245 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.262 553-4195/? I/C2SoftAacEnc: Correcting overlapping timestamp: last frame ended at 188286us but current frame is starting at 177871us. Using the last frame's end timestamp 2023-09-14 16:36:42.273 3503-3759/com.pedro.streamer I/CommandsManager: read Command(name='_error', transactionId=2, timeStamp=0, streamId=0, data=[AmfString value: _error, AmfNumber value: 2.0, AmfNull, AmfObject properties: {AmfString value: level=AmfString value: error, AmfString value: code=AmfString value: NetConnection.Call.Failed, AmfString value: description=AmfString value: Specified stream not found in call to releaseStream}], bodySize=139) 2023-09-14 16:36:42.278 820-3437/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2023-09-14 16:36:42.279 3503-3759/com.pedro.streamer I/CommandsManager: send Command(name='closeStream', transactionId=5, timeStamp=0, streamId=0, data=[AmfString value: closeStream, AmfNumber value: 5.0, AmfNull], bodySize=24) 2023-09-14 16:36:42.289 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.290 820-3437/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2023-09-14 16:36:42.291 3503-3503/com.pedro.streamer I/MicrophoneManager: Microphone stopped 2023-09-14 16:36:42.295 3503-3503/com.pedro.streamer I/Camera2ApiManager: fps: 30 - 30 2023-09-14 16:36:42.295 820-3437/system_process I/XBH-Service: XbhService sendMsgToMiddleware msgType = 2 msgStr = action=2^id=9d38e2d Toast^className= ^pkgName=com.android.systemui^x=1200^y=1941^w=1440^h=147^gravity=0^type=2005^status=1^context=4kUi 2023-09-14 16:36:42.296 3503-3503/com.pedro.streamer I/VideoEncoder: stopped 2023-09-14 16:36:42.297 545-4199/? I/OmxComponent: OMX_CommandFlush 851 Cmd 0x1 nParam1 0xffffffff 2023-09-14 16:36:42.297 545-4199/? I/OmxComponent: OMX.amlogic.video.encoder.avc: flush input 2023-09-14 16:36:42.297 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: stackInfoList list is 3 2023-09-14 16:36:42.297 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: current freedom windows is 0 2023-09-14 16:36:42.303 346-3905/? I/EmulatedCamera3_Sensor: 1237 threadLoop - interval(1084262), interval=1.084262, fps=27.668589 2023-09-14 16:36:42.304 346-20876/? I/EmulatedCamera_FakeCamera3: set ANDROID_CONTROL_AE_TARGET_FPS_RANGE :30,30 2023-09-14 16:36:42.304 346-20876/? I/USBSensor: 1208 setAntiBanding - anti banding mode:3 2023-09-14 16:36:42.304 346-20876/? I/USBSensor: 1040 setEffect - set effect mode:0 2023-09-14 16:36:42.304 346-20876/? I/EmulatedCamera_FakeCamera3: 1267 processCaptureRequest - set expsore compensaton 0 2023-09-14 16:36:42.316 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:42.316 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:42.318 545-4199/? I/OmxComponent: OMX.amlogic.video.encoder.avc: flush output 2023-09-14 16:36:42.326 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 128 2023-09-14 16:36:42.333 346-20876/? I/EmulatedCamera_FakeCamera3: 1291 processCaptureRequest - cropRegion:0, 0, 1600, 1200 2023-09-14 16:36:42.340 545-4199/? I/OmxComponent: OMX_CommandStateSet 851 Cmd 0 nParam1 0x2 2023-09-14 16:36:42.340 545-4199/? I/OmxComponent: OMX-41 STATE_SET: OMX_StateExecuting => OMX_StateIdle : OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.340 545-4199/? I/OmxComponent: OMX.amlogic.video.encoder.avc: flush input 2023-09-14 16:36:42.363 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.370 545-4199/? I/OmxComponent: OMX.amlogic.video.encoder.avc: flush output 2023-09-14 16:36:42.392 545-4199/? I/OmxComponent: OMX-41 STATE_TRANS: OMX_StateExecuting => OMX_StateIdle : OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.392 545-4199/? I/OmxComponent: STATE_DONE: OMX_StateExecuting => OMX_StateIdle : OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.392 545-4199/? I/OmxComponent: OMX_CommandStateSet 851 Cmd 0 nParam1 0x1 2023-09-14 16:36:42.392 545-4199/? I/OmxComponent: OMX-41 STATE_SET: OMX_StateIdle => OMX_StateLoaded : OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.393 545-4199/? I/OmxComponent: OMX-41 STATE_TRANS: OMX_StateIdle => OMX_StateLoaded : OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.393 545-4199/? I/chatty: uid=1046(mediacodec) deo.encoder.avc identical 1 line 2023-09-14 16:36:42.393 545-4199/? I/OmxComponent: OMX-41 STATE_TRANS: OMX_StateIdle => OMX_StateLoaded : OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.393 545-4199/? I/OmxComponent: STATE_DONE: OMX_StateIdle => OMX_StateLoaded : OMX.amlogic.video.encoder.avc 2023-09-14 16:36:42.394 545-605/? I/omx_core: OMX_freeHandlenum= 0 2023-09-14 16:36:42.394 3503-3503/com.pedro.streamer I/AudioEncoder: stopped 2023-09-14 16:36:42.395 0-0/? W/: [22573.997208@5] [-]VDI_IOCTL_CLOSE_INSTANCE 2023-09-14 16:36:42.395 0-0/? W/: [22573.997213@5] core_idx= 0, inst_idx= 0, 2023-09-14 16:36:42.395 0-0/? W/: [22573.997218@5] s_vpu_open_ref_count= 0, 2023-09-14 16:36:42.395 0-0/? W/: [22573.997220@5] inst_open_count= 0 2023-09-14 16:36:42.396 3503-4194/com.pedro.streamer I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2023-09-14 16:36:42.396 553-1149/? I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2023-09-14 16:36:42.398 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 126 2023-09-14 16:36:42.398 3503-3759/com.pedro.streamer E/RtmpClient: connection error java.io.IOException: Stream closed at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:172) at java.io.BufferedInputStream.fill(BufferedInputStream.java:216) at java.io.BufferedInputStream.read(BufferedInputStream.java:267) at com.pedro.rtmp.rtmp.message.BasicHeader$Companion.parseBasicHeader(BasicHeader.kt:63) at com.pedro.rtmp.rtmp.message.RtmpHeader$Companion.readHeader(RtmpHeader.kt:46) at com.pedro.rtmp.rtmp.message.RtmpHeader$Companion.readHeader$default(RtmpHeader.kt:44) at com.pedro.rtmp.rtmp.message.RtmpMessage$Companion.getRtmpMessage(RtmpMessage.kt:51) at com.pedro.rtmp.rtmp.CommandsManager.readMessageResponse(CommandsManager.kt:125) at com.pedro.rtmp.rtmp.RtmpClient.handleMessages(RtmpClient.kt:322) at com.pedro.rtmp.rtmp.RtmpClient.access$handleMessages(RtmpClient.kt:50) at com.pedro.rtmp.rtmp.RtmpClient$connect$1.invokeSuspend(RtmpClient.kt:227) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684) 2023-09-14 16:36:42.406 3503-3503/com.pedro.streamer I/MicrophoneManager: Microphone stopped 2023-09-14 16:36:42.410 3503-3503/com.pedro.streamer I/Camera2ApiManager: fps: 30 - 30 2023-09-14 16:36:42.411 3503-3503/com.pedro.streamer I/VideoEncoder: stopped 2023-09-14 16:36:42.411 3503-3503/com.pedro.streamer I/AudioEncoder: stopped 2023-09-14 16:36:42.413 346-502/? I/EmulatedCamera_FakeCamera3: set ANDROID_CONTROL_AE_TARGET_FPS_RANGE :30,30 2023-09-14 16:36:42.413 346-502/? I/USBSensor: 1208 setAntiBanding - anti banding mode:3 2023-09-14 16:36:42.413 346-502/? I/USBSensor: 1040 setEffect - set effect mode:0 2023-09-14 16:36:42.413 346-502/? I/EmulatedCamera_FakeCamera3: 1267 processCaptureRequest - set expsore compensaton 0 2023-09-14 16:36:42.435 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 126 2023-09-14 16:36:42.438 346-502/? I/EmulatedCamera_FakeCamera3: 1291 processCaptureRequest - cropRegion:0, 0, 1600, 1200 2023-09-14 16:36:42.461 562-4174/? W/adbd: timed out while waiting for FUNCTIONFS_BIND, trying again 2023-09-14 16:36:42.461 562-4174/? I/adbd: UsbFfs: connection terminated: monitor thread finished 2023-09-14 16:36:42.462 562-562/? I/adbd: UsbFfs: already offline 2023-09-14 16:36:42.462 562-562/? I/adbd: destroying transport UsbFfs 2023-09-14 16:36:42.462 562-562/? I/adbd: UsbFfsConnection being destroyed 2023-09-14 16:36:42.471 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 126 2023-09-14 16:36:42.492 820-20405/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2023-09-14 16:36:42.493 820-20405/system_process I/chatty: uid=1000(system) Binder:820_13 identical 1 line 2023-09-14 16:36:42.493 820-20405/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2023-09-14 16:36:42.507 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.513 562-575/? I/adbd: opening control endpoint /dev/usb-ffs/adb/ep0 2023-09-14 16:36:42.514 562-575/? I/adbd: UsbFfsConnection constructed 2023-09-14 16:36:42.515 0-0/? I/: [22574.118221@5] read descriptors 2023-09-14 16:36:42.515 0-0/? I/: [22574.118238@5] read strings 2023-09-14 16:36:42.515 562-4208/? I/adbd: UsbFfs-monitor thread spawned 2023-09-14 16:36:42.542 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.578 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.613 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.613 368-368/? I/xbhhwmw@1.0-ser: type=1400 audit(0.0:2053): avc: denied { call } for scontext=u:r:hal_xbhhwmw_default:s0 tcontext=u:r:system_control:s0 tclass=binder permissive=1 2023-09-14 16:36:42.623 0-0/? I/: [22574.223177@1] r1p1_tsensor_read valid cnt is 0, tvalue:0 2023-09-14 16:36:42.647 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.682 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.717 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.756 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.791 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.829 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.863 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.899 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.936 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:42.975 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.013 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.047 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.083 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.121 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.158 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.194 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.228 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.265 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.300 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.337 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.373 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.387 346-3905/? I/EmulatedCamera3_Sensor: 1237 threadLoop - interval(1084048), interval=1.084048, fps=27.674051 2023-09-14 16:36:43.411 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.447 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.483 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.515 562-4208/? W/adbd: timed out while waiting for FUNCTIONFS_BIND, trying again 2023-09-14 16:36:43.516 562-4208/? I/adbd: UsbFfs: connection terminated: monitor thread finished 2023-09-14 16:36:43.516 562-562/? I/adbd: UsbFfs: already offline 2023-09-14 16:36:43.516 562-562/? I/adbd: destroying transport UsbFfs 2023-09-14 16:36:43.516 562-562/? I/adbd: UsbFfsConnection being destroyed 2023-09-14 16:36:43.519 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.556 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.567 562-575/? I/adbd: opening control endpoint /dev/usb-ffs/adb/ep0 2023-09-14 16:36:43.567 562-575/? I/adbd: UsbFfsConnection constructed 2023-09-14 16:36:43.568 562-4209/? I/adbd: UsbFfs-monitor thread spawned 2023-09-14 16:36:43.571 0-0/? I/: [22575.171440@7] read descriptors 2023-09-14 16:36:43.571 0-0/? I/: [22575.171455@7] read strings 2023-09-14 16:36:43.592 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.629 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.664 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.699 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.736 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.771 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.807 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.842 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.878 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.914 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.949 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:43.984 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.020 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.055 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.090 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.128 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.164 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.200 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.237 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.274 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.281 372-924/? E/BufferQueueProducer: Toast#0 disconnect: not connected (req=1) 2023-09-14 16:36:44.281 6337-2802/com.android.systemui W/libEGL: EGLNativeWindowType 0xb400006f3c48c740 disconnect failed 2023-09-14 16:36:44.283 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:44.283 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:44.284 820-20405/system_process I/XBH-Service: XbhService sendMsgToMiddleware msgType = 2 msgStr = action=3^id=9d38e2d Toast^className= ^pkgName=com.android.systemui^x=1200^y=1941^w=1440^h=147^gravity=0^type=2005^status=0^context=4kUi 2023-09-14 16:36:44.287 820-20405/system_process W/NotificationService: Toast already killed. pkg=com.pedro.streamer token=android.os.BinderProxy@ed7686 2023-09-14 16:36:44.289 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: stackInfoList list is 3 2023-09-14 16:36:44.289 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: current freedom windows is 0 2023-09-14 16:36:44.302 820-20405/system_process I/XBH-Service: XbhService sendMsgToMiddleware msgType = 2 msgStr = action=2^id=1615c9d Toast^className= ^pkgName=com.android.systemui^x=1720^y=1941^w=400^h=147^gravity=0^type=2005^status=1^context=4kUi 2023-09-14 16:36:44.306 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: stackInfoList list is 3 2023-09-14 16:36:44.306 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: current freedom windows is 0 2023-09-14 16:36:44.312 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.316 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:44.316 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:44.348 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.384 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.421 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.457 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.469 820-949/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.973) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2023-09-14 16:36:44.471 346-3905/? I/EmulatedCamera3_Sensor: 1237 threadLoop - interval(1083888), interval=1.083888, fps=27.678135 2023-09-14 16:36:44.493 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.528 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.564 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.568 562-4209/? W/adbd: timed out while waiting for FUNCTIONFS_BIND, trying again 2023-09-14 16:36:44.568 562-4209/? I/adbd: UsbFfs: connection terminated: monitor thread finished 2023-09-14 16:36:44.568 562-562/? I/adbd: UsbFfs: already offline 2023-09-14 16:36:44.569 562-562/? I/adbd: destroying transport UsbFfs 2023-09-14 16:36:44.569 562-562/? I/adbd: UsbFfsConnection being destroyed 2023-09-14 16:36:44.600 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.615 562-575/? I/adbd: opening control endpoint /dev/usb-ffs/adb/ep0 2023-09-14 16:36:44.616 562-575/? I/adbd: UsbFfsConnection constructed 2023-09-14 16:36:44.617 562-4211/? I/adbd: UsbFfs-monitor thread spawned 2023-09-14 16:36:44.619 0-0/? I/: [22576.219626@3] read descriptors 2023-09-14 16:36:44.619 0-0/? I/: [22576.219640@3] read strings 2023-09-14 16:36:44.637 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.671 0-0/? I/: [22576.271316@1] r1p1_tsensor_read valid cnt is 0, tvalue:0 2023-09-14 16:36:44.673 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.709 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.744 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.784 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.801 820-841/system_process I/XBH-Service: XbhService sendMsgToMiddleware msgType = 2 msgStr = action=3^id=9d38e2d Toast^className= ^pkgName=com.android.systemui^x=1200^y=1941^w=1440^h=147^gravity=0^type=2005^status=0^context=4kUi 2023-09-14 16:36:44.805 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: stackInfoList list is 3 2023-09-14 16:36:44.805 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: current freedom windows is 0 2023-09-14 16:36:44.820 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.856 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.893 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.929 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:44.964 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.000 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.022 344-431/? I/audio_hw_primary: [do_output_standby_l:5207] stream usecase:PCM_NORMAL , continuous:0 2023-09-14 16:36:45.022 344-431/? I/audio_hw_primary: do_output_standby_l aml_out(0xeb180df0)standby close 2023-09-14 16:36:45.022 344-431/? I/audio_hw_primary: ++[usecase_change_validate_l:7471], dev masks:0x1, is_standby:1, out usecase:PCM_NORMAL 2023-09-14 16:36:45.022 344-431/? I/audio_hw_primary: --[usecase_change_validate_l:7508], dev masks:0, is_standby:1, out usecase PCM_NORMAL 2023-09-14 16:36:45.022 344-431/? I/audio_hw_primary: out_standby_new exit 2023-09-14 16:36:45.023 820-20405/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2023-09-14 16:36:45.036 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.072 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.110 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.144 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.182 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.216 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.252 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.288 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.325 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.363 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.399 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.436 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.474 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.511 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.545 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.559 346-3905/? I/EmulatedCamera3_Sensor: 1237 threadLoop - interval(1088489), interval=1.088489, fps=27.561140 2023-09-14 16:36:45.580 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.616 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.618 562-4211/? W/adbd: timed out while waiting for FUNCTIONFS_BIND, trying again 2023-09-14 16:36:45.618 562-4211/? I/adbd: UsbFfs: connection terminated: monitor thread finished 2023-09-14 16:36:45.618 562-562/? I/adbd: UsbFfs: already offline 2023-09-14 16:36:45.619 562-562/? I/adbd: destroying transport UsbFfs 2023-09-14 16:36:45.619 562-562/? I/adbd: UsbFfsConnection being destroyed 2023-09-14 16:36:45.651 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.667 562-575/? I/adbd: opening control endpoint /dev/usb-ffs/adb/ep0 2023-09-14 16:36:45.668 562-575/? I/adbd: UsbFfsConnection constructed 2023-09-14 16:36:45.668 562-4214/? I/adbd: UsbFfs-monitor thread spawned 2023-09-14 16:36:45.671 0-0/? I/: [22577.271601@3] read descriptors 2023-09-14 16:36:45.671 0-0/? I/: [22577.271618@3] read strings 2023-09-14 16:36:45.687 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.722 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.758 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.786 820-840/system_process W/WindowManager: Unable to start animation, surface is null or no children. 2023-09-14 16:36:45.793 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.828 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.863 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.899 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.937 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:45.973 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.009 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.044 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.088 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.124 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.159 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.195 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.234 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.272 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.289 372-924/? E/BufferQueueProducer: Toast#1 disconnect: not connected (req=1) 2023-09-14 16:36:46.289 6337-2802/com.android.systemui W/libEGL: EGLNativeWindowType 0xb400006f3c48c740 disconnect failed 2023-09-14 16:36:46.291 820-20405/system_process I/XBH-Service: XbhService sendMsgToMiddleware msgType = 2 msgStr = action=3^id=1615c9d Toast^className= ^pkgName=com.android.systemui^x=1720^y=1941^w=400^h=147^gravity=0^type=2005^status=0^context=4kUi 2023-09-14 16:36:46.292 820-20405/system_process W/NotificationService: Toast already killed. pkg=com.pedro.streamer token=android.os.BinderProxy@9f3eed1 2023-09-14 16:36:46.293 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: stackInfoList list is 3 2023-09-14 16:36:46.293 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: current freedom windows is 0 2023-09-14 16:36:46.299 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:46.299 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:46.304 820-1107/system_process I/XBH-Service: XbhService sendMsgToMiddleware msgType = 2 msgStr = action=2^id=fea7da4 Toast^className= ^pkgName=com.android.systemui^x=1323^y=1941^w=1194^h=147^gravity=0^type=2005^status=1^context=4kUi 2023-09-14 16:36:46.307 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: stackInfoList list is 3 2023-09-14 16:36:46.307 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: current freedom windows is 0 2023-09-14 16:36:46.310 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.316 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:46.316 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:46.347 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.384 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.422 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.458 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.493 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.529 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.564 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.598 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.633 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.647 346-3905/? I/EmulatedCamera3_Sensor: 1237 threadLoop - interval(1087684), interval=1.087684, fps=27.581539 2023-09-14 16:36:46.668 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.669 562-4214/? W/adbd: timed out while waiting for FUNCTIONFS_BIND, trying again 2023-09-14 16:36:46.669 562-4214/? I/adbd: UsbFfs: connection terminated: monitor thread finished 2023-09-14 16:36:46.669 562-562/? I/adbd: UsbFfs: already offline 2023-09-14 16:36:46.669 562-562/? I/adbd: destroying transport UsbFfs 2023-09-14 16:36:46.670 562-562/? I/adbd: UsbFfsConnection being destroyed 2023-09-14 16:36:46.706 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.711 562-575/? I/adbd: opening control endpoint /dev/usb-ffs/adb/ep0 2023-09-14 16:36:46.711 562-575/? I/adbd: UsbFfsConnection constructed 2023-09-14 16:36:46.712 562-4216/? I/adbd: UsbFfs-monitor thread spawned 2023-09-14 16:36:46.715 0-0/? I/: [22578.315491@3] read descriptors 2023-09-14 16:36:46.715 0-0/? I/: [22578.315501@3] read strings 2023-09-14 16:36:46.715 0-0/? I/: [22578.319138@1] r1p1_tsensor_read valid cnt is 0, tvalue:0 2023-09-14 16:36:46.742 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.777 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.813 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.817 820-841/system_process I/XBH-Service: XbhService sendMsgToMiddleware msgType = 2 msgStr = action=3^id=1615c9d Toast^className= ^pkgName=com.android.systemui^x=1720^y=1941^w=400^h=147^gravity=0^type=2005^status=0^context=4kUi 2023-09-14 16:36:46.821 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: stackInfoList list is 3 2023-09-14 16:36:46.821 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: current freedom windows is 0 2023-09-14 16:36:46.848 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.884 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.920 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.956 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:46.991 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.026 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.062 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.097 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.136 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.172 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.210 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.245 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.280 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.316 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.352 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.390 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.426 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.462 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.474 820-949/system_process E/WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.973) failed {.code = ERROR_UNKNOWN, .description = unknown error} 2023-09-14 16:36:47.497 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.532 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.568 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.605 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.641 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.677 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.713 562-4216/? W/adbd: timed out while waiting for FUNCTIONFS_BIND, trying again 2023-09-14 16:36:47.713 562-4216/? I/adbd: UsbFfs: connection terminated: monitor thread finished 2023-09-14 16:36:47.713 562-562/? I/adbd: UsbFfs: already offline 2023-09-14 16:36:47.713 562-562/? I/adbd: destroying transport UsbFfs 2023-09-14 16:36:47.713 562-562/? I/adbd: UsbFfsConnection being destroyed 2023-09-14 16:36:47.714 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.728 346-3905/? I/EmulatedCamera3_Sensor: 1237 threadLoop - interval(1080849), interval=1.080849, fps=27.755957 2023-09-14 16:36:47.751 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.775 562-575/? I/adbd: opening control endpoint /dev/usb-ffs/adb/ep0 2023-09-14 16:36:47.775 562-575/? I/adbd: UsbFfsConnection constructed 2023-09-14 16:36:47.776 562-4218/? I/adbd: UsbFfs-monitor thread spawned 2023-09-14 16:36:47.779 0-0/? I/: [22579.379460@6] read descriptors 2023-09-14 16:36:47.779 0-0/? I/: [22579.379488@6] read strings 2023-09-14 16:36:47.786 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.795 820-840/system_process W/WindowManager: Unable to start animation, surface is null or no children. 2023-09-14 16:36:47.821 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.857 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.859 820-945/system_process W/BestClock: java.time.DateTimeException: Missing NTP fix 2023-09-14 16:36:47.891 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.895 820-945/system_process W/BestClock: java.time.DateTimeException: Missing NTP fix 2023-09-14 16:36:47.897 820-946/system_process W/BestClock: java.time.DateTimeException: Missing NTP fix 2023-09-14 16:36:47.897 820-946/system_process W/BestClock: java.time.DateTimeException: Missing NTP fix 2023-09-14 16:36:47.927 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:47.965 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.000 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.037 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.073 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.108 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.143 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.180 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.217 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.253 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.288 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.295 372-925/? E/BufferQueueProducer: Toast#0 disconnect: not connected (req=1) 2023-09-14 16:36:48.295 6337-2802/com.android.systemui W/libEGL: EGLNativeWindowType 0xb400006f3c48c740 disconnect failed 2023-09-14 16:36:48.297 820-3437/system_process I/XBH-Service: XbhService sendMsgToMiddleware msgType = 2 msgStr = action=3^id=fea7da4 Toast^className= ^pkgName=com.android.systemui^x=1323^y=1941^w=1194^h=147^gravity=0^type=2005^status=0^context=4kUi 2023-09-14 16:36:48.299 359-359/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-09-14 16:36:48.299 359-359/? I/libperfmgr: Do Powerhint: INTERACTION 2023-09-14 16:36:48.300 820-3437/system_process W/NotificationService: Toast already killed. pkg=com.pedro.streamer token=android.os.BinderProxy@5f530c3 2023-09-14 16:36:48.300 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: stackInfoList list is 3 2023-09-14 16:36:48.301 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: current freedom windows is 0 2023-09-14 16:36:48.323 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.358 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.392 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.428 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.463 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.499 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.534 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.569 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.605 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.640 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.676 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.711 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.746 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.767 0-0/? I/: [22580.367192@1] r1p1_tsensor_read valid cnt is 0, tvalue:0 2023-09-14 16:36:48.777 562-4218/? W/adbd: timed out while waiting for FUNCTIONFS_BIND, trying again 2023-09-14 16:36:48.777 562-4218/? I/adbd: UsbFfs: connection terminated: monitor thread finished 2023-09-14 16:36:48.777 562-562/? I/adbd: UsbFfs: already offline 2023-09-14 16:36:48.777 562-562/? I/adbd: destroying transport UsbFfs 2023-09-14 16:36:48.777 562-562/? I/adbd: UsbFfsConnection being destroyed 2023-09-14 16:36:48.782 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.796 346-3905/? I/EmulatedCamera3_Sensor: 1237 threadLoop - interval(1068376), interval=1.068376, fps=28.080004 2023-09-14 16:36:48.818 820-841/system_process I/XBH-Service: XbhService sendMsgToMiddleware msgType = 2 msgStr = action=3^id=fea7da4 Toast^className= ^pkgName=com.android.systemui^x=1323^y=1941^w=1194^h=147^gravity=0^type=2005^status=0^context=4kUi 2023-09-14 16:36:48.818 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.821 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: stackInfoList list is 3 2023-09-14 16:36:48.821 1150-1487/xbh.platform.middleware I/XBH-MW-SystemServicesWrapper: current freedom windows is 0 2023-09-14 16:36:48.823 562-575/? I/adbd: opening control endpoint /dev/usb-ffs/adb/ep0 2023-09-14 16:36:48.824 562-575/? I/adbd: UsbFfsConnection constructed 2023-09-14 16:36:48.824 562-4219/? I/adbd: UsbFfs-monitor thread spawned 2023-09-14 16:36:48.827 0-0/? I/: [22580.427631@7] read descriptors 2023-09-14 16:36:48.827 0-0/? I/: [22580.427646@7] read strings 2023-09-14 16:36:48.854 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.890 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.927 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.962 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:48.997 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.036 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.071 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.107 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.141 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.177 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.211 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.247 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.284 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.319 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.354 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.390 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.425 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.461 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.495 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.531 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.566 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.603 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.638 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.673 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.709 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.747 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.782 346-3905/? E/Camportal_ION Interface: vaddr=0xeb703000, share_fd = 127 2023-09-14 16:36:49.797 820-840/system_process W/WindowManager: Unable to start animation, surface is null or no children.

pedroSG94 commented 1 year ago

2023-09-14 16:36:42.273 3503-3759/com.pedro.streamer I/CommandsManager: read Command(name='_error', transactionId=2, timeStamp=0, streamId=0, data=[AmfString value: error, AmfNumber value: 2.0, AmfNull, AmfObject properties: {AmfString value: level=AmfString value: error, AmfString value: code=AmfString value: NetConnection.Call.Failed, AmfString value: description=AmfString value: Specified stream not found in call to releaseStream}], bodySize=139)

This is the problem. Can you tell me full endpoint used? Maybe this? rtmp://x.x.x.x:11935/live In that case you must specify stream name to work like: rtmp://x.x.x.x:11935/live/mystreamname

pedroSG94 commented 1 year ago

Can you tell me media server used and version?

pedroSG94 commented 1 year ago

Fixed in last commit. I did a new release

You can update project and all should be working now

zhouqunhuang commented 1 year ago

Thank you for fixing it! I gave it a try. Now I can push the stream up but I do not receive the specific screen content。I'm using the Nginx media server, but I don't know the version because it's somewhere else.

log:2023-09-15 10:03:55.706 21413-21413/com.pedro.streamer I/MicrophoneManager: Microphone created, 32000hz, Stereo

2023-09-15 10:03:55.706 21413-21413/com.pedro.streamer I/AudioEncoder: 2 encoders found 2023-09-15 10:03:55.706 21413-21413/com.pedro.streamer I/AudioEncoder: Encoder selected OMX.SEC.naac.enc 2023-09-15 10:03:55.706 21413-21413/com.pedro.streamer I/ACodec: [] Now uninitialized 2023-09-15 10:03:55.706 21413-22007/com.pedro.streamer I/ACodec: [] onAllocateComponent 2023-09-15 10:03:55.716 21413-22007/com.pedro.streamer I/OMXClient: Using client-side OMX mux. 2023-09-15 10:03:55.716 21413-22007/com.pedro.streamer I/ACodec: [OMX.SEC.naac.enc] Now Loaded 2023-09-15 10:03:55.716 21413-22007/com.pedro.streamer I/MediaCodec: MediaCodec will operate in async mode 2023-09-15 10:03:55.726 21413-21413/com.pedro.streamer I/AudioEncoder: prepared 2023-09-15 10:03:55.726 21413-21413/com.pedro.streamer W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc 2023-09-15 10:03:55.726 21413-21413/com.pedro.streamer I/VideoEncoder: 2 encoders found 2023-09-15 10:03:55.726 21413-21413/com.pedro.streamer I/VideoEncoder: Encoder OMX.qcom.video.encoder.avc 2023-09-15 10:03:55.726 21413-21413/com.pedro.streamer W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc 2023-09-15 10:03:55.726 21413-21413/com.pedro.streamer I/VideoEncoder: Color supported: 2141391876 2023-09-15 10:03:55.726 21413-21413/com.pedro.streamer I/VideoEncoder: Color supported: 2130708361 2023-09-15 10:03:55.726 21413-21413/com.pedro.streamer I/VideoEncoder: Encoder selected OMX.qcom.video.encoder.avc 2023-09-15 10:03:55.736 21413-21413/com.pedro.streamer I/ACodec: [] Now uninitialized 2023-09-15 10:03:55.736 21413-22012/com.pedro.streamer I/ACodec: [] onAllocateComponent 2023-09-15 10:03:55.736 21413-22012/com.pedro.streamer I/OMXClient: Using client-side OMX mux. 2023-09-15 10:03:55.746 21413-22012/com.pedro.streamer I/ACodec: [OMX.qcom.video.encoder.avc] Now Loaded 2023-09-15 10:03:55.746 21413-21413/com.pedro.streamer I/VideoEncoder: Prepare video info: SURFACE, 480x640 2023-09-15 10:03:55.746 21413-21413/com.pedro.streamer W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc 2023-09-15 10:03:55.746 21413-21413/com.pedro.streamer I/VideoEncoder: bitrate mode CBR not supported using default mode 2023-09-15 10:03:55.746 21413-22011/com.pedro.streamer I/MediaCodec: MediaCodec will operate in async mode 2023-09-15 10:03:55.746 21413-22012/com.pedro.streamer W/ACodec: [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010 2023-09-15 10:03:55.746 21413-22012/com.pedro.streamer W/ACodec: do not know color format 0x7fa30c04 = 2141391876 2023-09-15 10:03:55.756 21413-22012/com.pedro.streamer W/ACodec: do not know color format 0x7f000789 = 2130708361 2023-09-15 10:03:55.756 21413-22012/com.pedro.streamer I/ACodec: setupVideoEncoder succeeded 2023-09-15 10:03:55.766 21413-22012/com.pedro.streamer W/ACodec: do not know color format 0x7f000789 = 2130708361 2023-09-15 10:03:55.766 21413-21413/com.pedro.streamer I/VideoEncoder: prepared 2023-09-15 10:03:55.766 21413-21413/com.pedro.streamer I/VideoEncoder: started 2023-09-15 10:03:55.776 21413-22012/com.pedro.streamer I/ACodec: [OMX.qcom.video.encoder.avc] Now Loaded->Idle 2023-09-15 10:03:55.786 21413-22012/com.pedro.streamer I/ACodec: [OMX.qcom.video.encoder.avc] Now Idle->Executing 2023-09-15 10:03:55.786 21413-21413/com.pedro.streamer I/AudioEncoder: started 2023-09-15 10:03:55.786 21413-22007/com.pedro.streamer I/ACodec: [OMX.SEC.naac.enc] Now Loaded->Idle 2023-09-15 10:03:55.786 21413-22012/com.pedro.streamer I/ACodec: [OMX.qcom.video.encoder.avc] Now Executing 2023-09-15 10:03:55.786 21413-22007/com.pedro.streamer I/ACodec: [OMX.SEC.naac.enc] Now Idle->Executing 2023-09-15 10:03:55.796 21413-22007/com.pedro.streamer I/ACodec: [OMX.SEC.naac.enc] Now Executing 2023-09-15 10:03:55.796 21413-21413/com.pedro.streamer I/MicrophoneManager: Microphone started 2023-09-15 10:03:55.876 21413-21537/com.pedro.streamer I/Handshake: writing C0 2023-09-15 10:03:55.876 21413-21537/com.pedro.streamer I/Handshake: C0 write successful 2023-09-15 10:03:55.876 21413-21537/com.pedro.streamer I/Handshake: writing C1 2023-09-15 10:03:55.876 21413-21537/com.pedro.streamer I/Handshake: writing time 1694743435 to c1 2023-09-15 10:03:55.876 21413-21537/com.pedro.streamer I/Handshake: writing zero to c1 2023-09-15 10:03:55.876 21413-21537/com.pedro.streamer I/Handshake: writing random to c1 2023-09-15 10:03:55.876 21413-21537/com.pedro.streamer I/Handshake: C1 write successful 2023-09-15 10:03:55.876 21413-21537/com.pedro.streamer I/Handshake: reading S0 2023-09-15 10:03:55.996 21413-21537/com.pedro.streamer I/Handshake: read S0 successful 2023-09-15 10:03:55.996 21413-21537/com.pedro.streamer I/Handshake: reading S1 2023-09-15 10:03:55.996 21413-21537/com.pedro.streamer I/Handshake: read S1 successful 2023-09-15 10:03:55.996 21413-21537/com.pedro.streamer I/Handshake: writing C2 2023-09-15 10:03:55.996 21413-21537/com.pedro.streamer I/Handshake: C2 write successful 2023-09-15 10:03:55.996 21413-21537/com.pedro.streamer I/Handshake: reading S2 2023-09-15 10:03:55.996 21413-21537/com.pedro.streamer I/Handshake: read S2 successful 2023-09-15 10:03:55.996 21413-21537/com.pedro.streamer I/CommandsManager: using default write chunk size 128 2023-09-15 10:03:55.996 21413-21537/com.pedro.streamer I/CommandsManager: send Command(name='connect', transactionId=1, timeStamp=1, streamId=0, data=[AmfString value: connect, AmfNumber value: 1.0, AmfObject properties: {AmfString value: app=AmfString value: live, AmfString value: flashVer=AmfString value: FMLE/3.0 (compatible; Lavf57.56.101), AmfString value: swfUrl=AmfString value: , AmfString value: tcUrl=AmfString value: rtmp://110.90.11.185:11935ve, AmfString value: fpad=AmfBoolean value: false, AmfString value: capabilities=AmfNumber value: 239.0, AmfString value: audioCodecs=AmfNumber value: 3191.0, AmfString value: videoCodecs=AmfNumber value: 252.0, AmfString value: videoFunction=AmfNumber value: 1.0, AmfString value: pageUrl=AmfString value: , AmfString value: objectEncoding=AmfNumber value: 0.0}], bodySize=272) 2023-09-15 10:03:56.096 21413-21537/com.pedro.streamer I/CommandsManager: read WindowAcknowledgementSize(acknowledgementWindowSize=2500000) 2023-09-15 10:03:56.176 21413-21537/com.pedro.streamer I/CommandsManager: read SetPeerBandwidth(acknowledgementWindowSize=2500000, type=DYNAMIC) 2023-09-15 10:03:56.176 21413-21537/com.pedro.streamer I/CommandsManager: read SetChunkSize(chunkSize=4096) 2023-09-15 10:03:56.176 21413-21537/com.pedro.streamer I/RtmpClient: chunk size configured to 4096 2023-09-15 10:03:56.176 21413-21537/com.pedro.streamer I/CommandsManager: read Command(name='_result', transactionId=1, timeStamp=0, streamId=0, data=[AmfString value: _result, AmfNumber value: 1.0, AmfObject properties: {AmfString value: fmsVer=AmfString value: FMS/4,5,0,297, AmfString value: capabilities=AmfNumber value: 255.0, AmfString value: mode=AmfNumber value: 1.0}, AmfObject properties: {AmfString value: level=AmfString value: status, AmfString value: code=AmfString value: NetConnection.Connect.Success, AmfString value: description=AmfString value: Connection succeeded., AmfString value: objectEncoding=AmfNumber value: 0.0, AmfString value: data=AmfObject properties: {AmfString value: version=AmfString value: 4,5,0,297}}], bodySize=236) 2023-09-15 10:03:56.176 21413-21537/com.pedro.streamer I/CommandsManager: send Command(name='releaseStream', transactionId=2, timeStamp=1, streamId=0, data=[AmfString value: releaseStream, AmfNumber value: 2.0, AmfNull, AmfString value: av0], bodySize=32) 2023-09-15 10:03:56.176 21413-21537/com.pedro.streamer I/CommandsManager: send Command(name='FCPublish', transactionId=3, timeStamp=1, streamId=0, data=[AmfString value: FCPublish, AmfNumber value: 3.0, AmfNull, AmfString value: av0], bodySize=28) 2023-09-15 10:03:56.176 21413-21537/com.pedro.streamer I/CommandsManager: send Command(name='createStream', transactionId=4, timeStamp=1, streamId=0, data=[AmfString value: createStream, AmfNumber value: 4.0, AmfNull], bodySize=25) 2023-09-15 10:03:56.176 21413-21537/com.pedro.streamer I/RtmpClient: success response received from connect 2023-09-15 10:03:56.236 21413-21537/com.pedro.streamer I/CommandsManager: read Command(name='_error', transactionId=2, timeStamp=0, streamId=0, data=[AmfString value: _error, AmfNumber value: 2.0, AmfNull, AmfObject properties: {AmfString value: level=AmfString value: error, AmfString value: code=AmfString value: NetConnection.Call.Failed, AmfString value: description=AmfString value: Specified stream not found in call to releaseStream}], bodySize=139) 2023-09-15 10:03:56.236 21413-21537/com.pedro.streamer E/RtmpClient: releaseStream failed: Specified stream not found in call to releaseStream 2023-09-15 10:03:56.276 21413-21537/com.pedro.streamer I/CommandsManager: read Command(name='_result', transactionId=4, timeStamp=0, streamId=0, data=[AmfString value: _result, AmfNumber value: 4.0, AmfNull, AmfNumber value: 1.0], bodySize=29) 2023-09-15 10:03:56.276 21413-21537/com.pedro.streamer I/CommandsManager: send Command(name='publish', transactionId=5, timeStamp=1, streamId=1, data=[AmfString value: publish, AmfNumber value: 5.0, AmfNull, AmfString value: av0, AmfString value: live], bodySize=33) 2023-09-15 10:03:56.276 21413-21537/com.pedro.streamer I/RtmpClient: success response received from createStream 2023-09-15 10:03:56.276 21413-21537/com.pedro.streamer I/CommandsManager: read SetChunkSize(chunkSize=4096) 2023-09-15 10:03:56.276 21413-21537/com.pedro.streamer I/RtmpClient: chunk size configured to 4096 2023-09-15 10:03:56.286 21413-21537/com.pedro.streamer I/CommandsManager: read Command(name='onStatus', transactionId=0, timeStamp=0, streamId=0, data=[AmfString value: onStatus, AmfNumber value: 0.0, AmfNull, AmfObject properties: {AmfString value: level=AmfString value: status, AmfString value: code=AmfString value: NetStream.Publish.Start, AmfString value: description=AmfString value: av0 is now published., AmfString value: clientid=AmfString value: 052FAB5C}], bodySize=131) 2023-09-15 10:03:56.286 21413-21537/com.pedro.streamer I/CommandsManager: send Data(name='@setDataFrame', data=[AmfString value: onMetaData, AmfEcmaArray length: 12, properties: {AmfString value: duration=AmfNumber value: 0.0, AmfString value: width=AmfNumber value: 480.0, AmfString value: height=AmfNumber value: 640.0, AmfString value: videocodecid=AmfNumber value: 7.0, AmfString value: framerate=AmfNumber value: 30.0, AmfString value: videodatarate=AmfNumber value: 0.0, AmfString value: audiocodecid=AmfNumber value: 10.0, AmfString value: audiosamplerate=AmfNumber value: 32000.0, AmfString value: audiosamplesize=AmfNumber value: 16.0, AmfString value: audiodatarate=AmfNumber value: 0.0, AmfString value: stereo=AmfBoolean value: true, AmfString value: filesize=AmfNumber value: 0.0}], bodySize=284) 2023-09-15 10:03:56.296 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 23 2023-09-15 10:03:56.296 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 271 2023-09-15 10:03:56.336 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 281 2023-09-15 10:03:56.376 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 281 2023-09-15 10:03:56.416 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 281 2023-09-15 10:03:56.456 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 288 2023-09-15 10:03:56.466 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 300 2023-09-15 10:03:56.496 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 282 2023-09-15 10:03:56.546 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 280 2023-09-15 10:03:56.576 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 280 2023-09-15 10:03:56.616 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 266 2023-09-15 10:03:56.616 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 276 2023-09-15 10:03:56.656 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 274 2023-09-15 10:03:56.706 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 284 2023-09-15 10:03:56.746 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 285 2023-09-15 10:03:56.776 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 277 2023-09-15 10:03:56.776 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 269 2023-09-15 10:03:56.816 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 332 2023-09-15 10:03:56.856 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 271 2023-09-15 10:03:56.896 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 277 2023-09-15 10:03:56.936 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 263 2023-09-15 10:03:56.946 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 282 2023-09-15 10:03:56.986 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 274 2023-09-15 10:03:57.016 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 329 2023-09-15 10:03:57.056 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 294 2023-09-15 10:03:57.096 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 266 2023-09-15 10:03:57.106 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 267 2023-09-15 10:03:57.136 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 266 2023-09-15 10:03:57.176 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 262 2023-09-15 10:03:57.216 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 279 2023-09-15 10:03:57.256 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 270 2023-09-15 10:03:57.256 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 276 2023-09-15 10:03:57.296 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 273 2023-09-15 10:03:57.336 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 277 2023-09-15 10:03:57.376 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 270 2023-09-15 10:03:57.416 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 288 2023-09-15 10:03:57.416 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 264 2023-09-15 10:03:57.456 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 276 2023-09-15 10:03:57.496 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 266 2023-09-15 10:03:57.536 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 276 2023-09-15 10:03:57.576 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 274 2023-09-15 10:03:57.586 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 274 2023-09-15 10:03:57.626 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 275 2023-09-15 10:03:57.656 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 273 2023-09-15 10:03:57.696 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 266 2023-09-15 10:03:57.736 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 275 2023-09-15 10:03:57.736 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 273 2023-09-15 10:03:57.776 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 280 2023-09-15 10:03:57.816 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 266 2023-09-15 10:03:57.856 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 337 2023-09-15 10:03:57.896 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 279 2023-09-15 10:03:57.896 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 325 2023-09-15 10:03:57.936 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 266 2023-09-15 10:03:57.976 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 267 2023-09-15 10:03:58.016 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 279 2023-09-15 10:03:58.056 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 266 2023-09-15 10:03:58.056 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 268 2023-09-15 10:03:58.096 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 266 2023-09-15 10:03:58.136 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 261 2023-09-15 10:03:58.186 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 282 2023-09-15 10:03:58.216 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 298 2023-09-15 10:03:58.216 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 273 2023-09-15 10:03:58.256 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 266 2023-09-15 10:03:58.296 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 269 2023-09-15 10:03:58.336 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 292 2023-09-15 10:03:58.376 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 265 2023-09-15 10:03:58.386 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 270 2023-09-15 10:03:58.416 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 260 2023-09-15 10:03:58.456 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 273 2023-09-15 10:03:58.496 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 285 2023-09-15 10:03:58.536 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 322 2023-09-15 10:03:58.546 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 271 2023-09-15 10:03:58.576 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 267 2023-09-15 10:03:58.616 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 275 2023-09-15 10:03:58.656 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 268 2023-09-15 10:03:58.696 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 326 2023-09-15 10:03:58.696 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 269 2023-09-15 10:03:58.736 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 268 2023-09-15 10:03:58.776 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 289 2023-09-15 10:03:58.816 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 259 2023-09-15 10:03:58.856 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 273 2023-09-15 10:03:58.856 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 256 2023-09-15 10:03:58.896 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 263 2023-09-15 10:03:58.936 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 277 2023-09-15 10:03:58.976 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 275 2023-09-15 10:03:59.016 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 275 2023-09-15 10:03:59.026 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 271 2023-09-15 10:03:59.066 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 269 2023-09-15 10:03:59.096 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 269 2023-09-15 10:03:59.136 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 297 2023-09-15 10:03:59.176 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 276 2023-09-15 10:03:59.176 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 266 2023-09-15 10:03:59.216 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 272 2023-09-15 10:03:59.256 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 291 2023-09-15 10:03:59.296 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 289 2023-09-15 10:03:59.336 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 274 2023-09-15 10:03:59.346 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 271 2023-09-15 10:03:59.376 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 275 2023-09-15 10:03:59.416 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 304 2023-09-15 10:03:59.456 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 322 2023-09-15 10:03:59.496 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 257 2023-09-15 10:03:59.496 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 254 2023-09-15 10:03:59.536 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 261 2023-09-15 10:03:59.576 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 265 2023-09-15 10:03:59.616 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 262 2023-09-15 10:03:59.656 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 271 2023-09-15 10:03:59.656 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 274 2023-09-15 10:03:59.706 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 268 2023-09-15 10:03:59.736 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 274 2023-09-15 10:03:59.776 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 270 2023-09-15 10:03:59.816 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 275 2023-09-15 10:03:59.816 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 278 2023-09-15 10:03:59.866 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 276 2023-09-15 10:03:59.896 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 263 2023-09-15 10:03:59.946 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 300 2023-09-15 10:03:59.986 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 275 2023-09-15 10:03:59.986 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 274 2023-09-15 10:04:00.016 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 274 2023-09-15 10:04:00.056 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 277 2023-09-15 10:04:00.096 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 281 2023-09-15 10:04:00.136 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 267 2023-09-15 10:04:00.146 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 287 2023-09-15 10:04:00.176 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 275 2023-09-15 10:04:00.216 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 282 2023-09-15 10:04:00.256 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 266 2023-09-15 10:04:00.296 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 290 2023-09-15 10:04:00.296 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 270 2023-09-15 10:04:00.336 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 279 2023-09-15 10:04:00.376 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 272 2023-09-15 10:04:00.416 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 271 2023-09-15 10:04:00.456 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 268 2023-09-15 10:04:00.456 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 275 2023-09-15 10:04:00.496 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 272 2023-09-15 10:04:00.536 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 276 2023-09-15 10:04:00.576 21413-21541/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 290 2023-09-15 10:04:00.616 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 295 2023-09-15 10:04:00.616 21413-21536/com.pedro.streamer I/RtmpSender: wrote Audio packet, size 273

pedroSG94 commented 1 year ago

Hello,

Which example are you using? did you test with other examples?

zhouqunhuang commented 1 year ago

I found that when I used RtmpCamera1, I could push the stream successfully and display the image, but when I used RtmpCamera2, I could not display the image. What is the reason for this?

pedroSG94 commented 1 year ago

If you are using RtmpCamera2 with SurfaceView or TextureView try to change to OpenGlView and test (SurfaceView and TextureView with Camera2 are deprecated because produce problems). Also, try to filter your logcat with Camera2ApiManager string to check logs

zhouqunhuang commented 1 year ago

Thank you! I have been able to use it according to your suggestion, but I found that your method supports screen rotation, but does not support screen mirroring. What should I do to implement mirroring?

pedroSG94 commented 1 year ago

If you want stream Screen instead of camera you can use RtmpDisplay. You have an example here: https://github.com/pedroSG94/RootEncoder/tree/master/app/src/main/java/com/pedro/streamer/displayexample

zhouqunhuang commented 1 year ago

I did not find what I wanted in this, what I wanted was the picture content from the camera, to flip the mirror image.

pedroSG94 commented 1 year ago

aaah, ok, Flip the camera image. Yes tou can do it with this methods:

//only affect to preview (stream result no change)
rtmpCamera2.getGlInterface().setIsPreviewHorizontalFlip(true);
rtmpCamera2.getGlInterface().setIsPreviewVerticalFlip(true);
//only affect to stream result (preview no change)
rtmpCamera2.getGlInterface().setIsStreamHorizontalFlip(true);
rtmpCamera2.getGlInterface().setIsStreamVerticalFlip(true);
zhouqunhuang commented 1 year ago

hello,I was running your demo on an Android11 LCD TV while I was pushing with RtmpCamera2 and OpenGlView. As soon as I started pushing the stream, it jammed and crashed. And OpenGlView display interface clarity is very low, a lot of mosaics can be optimized? Here's my log: output NV21 for non-nativebuffer usage. 2023-10-10 13:13:23.098 347-460/? V/OmxVideoDecoder: updatePort mUseNativeBuffers 0 2023-10-10 13:13:23.098 347-460/? D/OmxVideoDecoder: User want to output NV21 for non-nativebuffer usage. 2023-10-10 13:13:23.098 347-460/? I/OmxVideoDecoder: getParameter Component Name OMX.amlogic.mjpeg.decoder.awesome2, width 640, height 480 nBufferCountMin:4 2023-10-10 13:13:23.098 347-460/? D/OMXDecoder: [initialize:278]mVideoOutputPortParam.nBufferCountActual = 6, mVideoOutputPortParam.nBufferSize = 460800 2023-10-10 13:13:23.098 347-460/? D/OMXDecoder: [prepareBuffers:734] 2023-10-10 13:13:23.098 347-14017/? I/OmxComponent: OMX_CommandStateSet 851 Cmd 0 nParam1 0x2 2023-10-10 13:13:23.098 347-460/? D/OMXDecoder: OMX_UseBuffer input 0xe83c1f30 2023-10-10 13:13:23.098 347-460/? D/OMXDecoder: OMX_UseBuffer input 0xe83c16f0 2023-10-10 13:13:23.098 347-14017/? I/OmxComponent: OMX-0 STATE_SET: OMX_StateLoaded => OMX_StateIdle : OMX.amlogic.mjpeg.decoder.awesome2 2023-10-10 13:13:23.098 347-460/? D/OMXDecoder: OMX_UseBuffer input 0xe83c00d0 2023-10-10 13:13:23.098 347-14017/? I/OmxComponent: OMX-0 STATE_TRANS: OMX_StateLoaded => OMX_StateIdle : OMX.amlogic.mjpeg.decoder.awesome2 2023-10-10 13:13:23.098 347-460/? D/OMXDecoder: Allocating 6 buffers from a native window of size 460800 on output port 2023-10-10 13:13:23.098 347-460/? D/OMXDecoder: [prepareBuffers:768] 2023-10-10 13:13:23.098 347-460/? D/OMXDecoder: try to allocate dma buffer 0 2023-10-10 13:13:23.098 347-460/? D/OMXDecoder: num_heaps=5 2023-10-10 13:13:23.098 347-460/? D/OMXDecoder: heaps[0].type=16, heap_id=17 2023-10-10 13:13:23.098 347-460/? D/OMXDecoder: heaps[1].type=16, heap_id=16 2023-10-10 13:13:23.098 347-460/? D/OMXDecoder: heaps[2].type=4, heap_id=9 2023-10-10 13:13:23.098 347-460/? D/OMXDecoder: 4, m=10, 1<<heap_id=9, heap_mask=200, name=ion-fb, alloc_hmask=10 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: AllocDmaBuffers ion_hnd=0, shared_fd=98, cpu_ptr=0xe6089000 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: try to allocate dma buffer 1 2023-10-10 13:13:23.099 347-14017/? I/OmxComponent: OMX-0 STATE_TRANS: OMX_StateLoaded => OMX_StateIdle : OMX.amlogic.mjpeg.decoder.awesome2 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: num_heaps=5 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: heaps[0].type=16, heap_id=17 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: heaps[1].type=16, heap_id=16 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: heaps[2].type=4, heap_id=9 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: 4, m=10, 1<<heap_id=9, heap_mask=200, name=ion-fb, alloc_hmask=10 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: AllocDmaBuffers ion_hnd=0, shared_fd=99, cpu_ptr=0xe3edf000 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: try to allocate dma buffer 2 2023-10-10 13:13:23.099 347-14017/? I/OmxComponent: OMX-0 STATE_TRANS: OMX_StateLoaded => OMX_StateIdle : OMX.amlogic.mjpeg.decoder.awesome2 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: num_heaps=5 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: heaps[0].type=16, heap_id=17 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: heaps[1].type=16, heap_id=16 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: heaps[2].type=4, heap_id=9 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: 4, m=10, 1<<heap_id=9, heap_mask=200, name=ion-fb, alloc_hmask=10 2023-10-10 13:13:23.099 0-0/? I/[ 6134.131308@1]  resman: 46 appname:OMX-0, type=0 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: AllocDmaBuffers ion_hnd=0, shared_fd=100, cpu_ptr=0xe3a5b000 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: try to allocate dma buffer 3 2023-10-10 13:13:23.099 347-14017/? I/OmxComponent: OMX-0 STATE_TRANS: OMX_StateLoaded => OMX_StateIdle : OMX.amlogic.mjpeg.decoder.awesome2 2023-10-10 13:13:23.099 347-460/? D/OMXDecoder: num_heaps=5 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: heaps[0].type=16, heap_id=17 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: heaps[1].type=16, heap_id=16 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: heaps[2].type=4, heap_id=9 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: 4, m=10, 1<<heap_id=9, heap_mask=200, name=ion-fb, alloc_hmask=10 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: AllocDmaBuffers ion_hnd=0, shared_fd=101, cpu_ptr=0xe335e000 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: try to allocate dma buffer 4 2023-10-10 13:13:23.100 347-14017/? I/OmxComponent: OMX-0 STATE_TRANS: OMX_StateLoaded => OMX_StateIdle : OMX.amlogic.mjpeg.decoder.awesome2 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: num_heaps=5 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: heaps[0].type=16, heap_id=17 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: heaps[1].type=16, heap_id=16 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: heaps[2].type=4, heap_id=9 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: 4, m=10, 1<<heap_id=9, heap_mask=200, name=ion-fb, alloc_hmask=10 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: AllocDmaBuffers ion_hnd=0, shared_fd=102, cpu_ptr=0xe32ed000 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: try to allocate dma buffer 5 2023-10-10 13:13:23.100 347-14017/? I/OmxComponent: OMX-0 STATE_TRANS: OMX_StateLoaded => OMX_StateIdle : OMX.amlogic.mjpeg.decoder.awesome2 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: num_heaps=5 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: heaps[0].type=16, heap_id=17 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: heaps[1].type=16, heap_id=16 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: heaps[2].type=4, heap_id=9 2023-10-10 13:13:23.100 347-460/? D/OMXDecoder: 4, m=10, 1<<heap_id=9, heap_mask=200, name=ion-fb, alloc_hmask=10 2023-10-10 13:13:23.101 347-460/? D/OMXDecoder: AllocDmaBuffers ion_hnd=0, shared_fd=103, cpu_ptr=0xe327c000 2023-10-10 13:13:23.101 347-14017/? I/OmxComponent: OMX-0 STATE_TRANS: OMX_StateLoaded => OMX_StateIdle : OMX.amlogic.mjpeg.decoder.awesome2 2023-10-10 13:13:23.101 347-14017/? V/AmlogicVideoDecoderAwesome: acquireResources:434 > 2023-10-10 13:13:23.101 347-14017/? D/AmlogicVideoDecoderAwesome: setUp mVideoDisplay =0, mDisplayMode=0 2023-10-10 13:13:23.101 347-14017/? D/AmlogicVideoDecoderAwesome: mMaxFrameWidth 640, mMaxFrameHeight 480 2023-10-10 13:13:23.101 347-14017/? V/AmlogicVideoDecoderAwesome: enable osd or video ...0 2023-10-10 13:13:23.101 347-14017/? V/AmlogicVideoDecoderAwesome: vendor.media.omx.buffermargin is not set used def=0 2023-10-10 13:13:23.101 347-14017/? D/AmlogicVideoDecoderAwesome: mDoubleWriteMode 16 2023-10-10 13:13:23.101 347-14017/? V/debugSetup: media.omx.dumpRecv is disabled 2023-10-10 13:13:23.101 347-14017/? V/debugSetup: media.omx.dumpCodec is disabled 2023-10-10 13:13:23.101 347-14017/? E/AmlogicVideoDecoderAwesome: setUp(): 1736 mOwner->isGameMode()=0 2023-10-10 13:13:23.101 347-14017/? V/AmlogicVideoDecoderAwesome: vendor.media.omx.gamemode is not set used def=0 2023-10-10 13:13:23.101 347-14017/? V/AmlogicVideoDecoderAwesome: Input Frame Rate is 6400.. 2023-10-10 13:13:23.101 347-14017/? V/AmlogicVideoDecoderAwesome: videoDefine.xFramerate:f0000
2023-10-10 13:13:23.101 347-14017/? V/AmlogicVideoDecoderAwesome: mVideoType:8 2023-10-10 13:13:23.101 347-14017/? D/AmlogicVideoDecoderAwesome: decoder_type = 1 2023-10-10 13:13:23.101 347-14017/? V/AmlogicVideoDecoderAwesome: set FRAME_BASE_USE_VFM_PATH =0 2023-10-10 13:13:23.101 347-14017/? D/AmlogicVideoDecoderAwesome: AmlogicVideoDecoder::setUp, mUseFrameMode 1, video_path 0 2023-10-10 13:13:23.101 347-14017/? D/AmlogicVideoDecoderAwesome: alloc ION Video device instance ID:0 2023-10-10 13:13:23.101 347-14017/? D/AmlogicVideoDecoderAwesome: codecInit 2023-10-10 13:13:23.101 347-14017/? I/resman: acquire fd:96, restype:5, preempt:0, time_out:0, arg:size:30 2023-10-10 13:13:23.102 347-14017/? I/amcodec: codec_init amstream version : 2.0 2023-10-10 13:13:23.103 347-14017/? D/AmlogicVideoDecoderAwesome: codecInit done 2023-10-10 13:13:23.103 347-14017/? D/AmlogicVideoDecoderAwesome: media.omx.videopeek 0 2023-10-10 13:13:23.103 347-14017/? I/AmlogicVideoDecoderAwesome: video layer sync version is 0 2023-10-10 13:13:23.104 0-0/? I/[ 6134.136122@2]  000000009f8cb1e9: alloc space for storing ion_id 2023-10-10 13:13:23.104 0-0/? I/[ 6134.136131@2]  000000009f8cb1e9: allocated ion_id:0 2023-10-10 13:13:23.104 0-0/? I/[ 6134.136192@2]  resman: 46 acquire [codec_mm], preempt no 2023-10-10 13:13:23.104 0-0/? I/[ 6134.136196@2]  resman: 46 score 30 secure no 2023-10-10 13:13:23.104 0-0/? I/[ 6134.136199@2]  resman: 46 acquire [codec_mm] success 2023-10-10 13:13:23.104 0-0/? D/: [ 6134.136252@2] the vdec clock on, ref cnt: 1 2023-10-10 13:13:23.104 0-0/? D/: [ 6134.136267@2] the clk_vdec_mux clock on, ref cnt: 1 2023-10-10 13:13:23.104 0-0/? D/: [ 6134.136319@2] vdec mux clock is 799999988 Hz 2023-10-10 13:13:23.104 0-0/? D/: [ 6134.136487@2] the pwrc-vdec power on 2023-10-10 13:13:23.104 0-0/? D/: [ 6134.136540@2] vdec_create instance 000000000aa4b26a, total 1, PM: power-domain 2023-10-10 13:13:23.104 0-0/? D/: [ 6134.136604@2] no drmmode 2023-10-10 13:13:23.104 0-0/? I/: [ 6134.136618@2] is_reset=0 2023-10-10 13:13:23.104 0-0/? I/: [ 6134.136635@2] vdec_init, dev_name:ammvdec_mjpeg, vdec_type=VDEC_TYPE_FRAME_BLOCK, format: 3 2023-10-10 13:13:23.104 0-0/? D/: [ 6134.137057@2] vdec mux clock is 799999988 Hz 2023-10-10 13:13:23.104 0-0/? D/: [ 6134.137059@2] vdec1 video changed to 1920 x 1080 60 fps clk->800MHZ 2023-10-10 13:13:23.104 0-0/? I/: [ 6134.137102@2] [TEE], the fw (mjpeg_multi) will be loaded... 2023-10-10 13:13:23.104 0-0/? D/: [ 6134.137113@2] decoder_bmmu_box_alloc_box, tvp_flags = 0 2023-10-10 13:13:23.104 0-0/? W/[ 6134.137116@2]  w: h=0:0 2023-10-10 13:13:23.104 0-0/? D/: [ 6134.137198@2] vfm map vdec-map-0 created 2023-10-10 13:13:23.104 0-0/? I/[ 6134.137209@2]  reg: ionvideo 2023-10-10 13:13:23.104 0-0/? D/: [ 6134.137212@2] vdec_init, vf_provider_name = vdec.mjpeg.00, b 0 2023-10-10 13:13:23.104 0-0/? D/: [ 6134.137214@2] vdec_init, play_num = 18 2023-10-10 13:13:23.104 0-0/? I/: [ 6134.137787@2] vdec->port_flag=0x102, port_flag=0x10b 2023-10-10 13:13:23.104 347-14017/? V/AmlogicVideoDecoderAwesome: mFlvFlag=0 2023-10-10 13:13:23.105 347-14017/? V/AmlogicVideoDecoderAwesome: mOutBufferCount =6 2023-10-10 13:13:23.105 347-14017/? V/AmlogicVideoDecoderAwesome: mIsNativeBuffers =0 2023-10-10 13:13:23.105 347-14017/? D/AmlogicVideoDecoderAwesome: mIsDMABuffers: true 2023-10-10 13:13:23.105 347-14017/? D/AmlogicVideoDecoderAwesome: mAmvideoDev->use_frame_mode=0 2023-10-10 13:13:23.105 347-14017/? D/AmlogicVideoDecoderAwesome: mAmvideoDev->use_frame_mode=1, mUseFrameMode=1 2023-10-10 13:13:23.105 347-14017/? I/amvdec: amvideo_init ret=0 2023-10-10 13:13:23.105 347-14017/? D/AmlogicVideoDecoderAwesome: output buffer:mWidth:640, mHeight:480, mVideoDevId:0 2023-10-10 13:13:23.103 1162-1162/? I/Thread-13: type=1400 audit(0.0:1303): avc: denied { getattr } for path="/dev/ttyS0" dev="tmpfs" ino=21106 scontext=u:r:system_app:s0 tcontext=u:object_r:serial_device:s0 tclass=chr_file permissive=1 2023-10-10 13:13:23.108 347-14017/? I/OmxComponent: STATE_DONE: OMX_StateLoaded => OMX_StateIdle : OMX.amlogic.mjpeg.decoder.awesome2 2023-10-10 13:13:23.108 347-14017/? D/OMXDecoder: [OnEvent:965] 2023-10-10 13:13:23.108 347-14017/? D/OMXDecoder: data1 = 0, data2 = 2, event = 0 2023-10-10 13:13:23.108 347-14017/? D/OMXDecoder: not support event! 2023-10-10 13:13:23.108 0-0/? D/[ 6134.139648@2]  ionvid: dbg: vidioc_open 2023-10-10 13:13:23.108 0-0/? D/: [ 6134.139648@2] 2023-10-10 13:13:23.108 0-0/? D/[ 6134.139658@0]  ionvid: dbg: ionvideo: set freerun mode 2023-10-10 13:13:23.108 0-0/? D/: [ 6134.139658@0] 2023-10-10 13:13:23.121 347-460/? D/OMXDecoder: STATETRANS FROM LOADED TO IDLE COMPLETED, eRet =0 2023-10-10 13:13:23.121 347-14017/? I/OmxComponent: OMX_CommandStateSet 851 Cmd 0 nParam1 0x3 2023-10-10 13:13:23.121 347-14017/? I/OmxComponent: OMX-0 STATE_SET: OMX_StateIdle => OMX_StateExecuting : OMX.amlogic.mjpeg.decoder.awesome2 2023-10-10 13:13:23.121 347-14017/? V/AmlogicVideoDecoderAwesome: prepare:328 > 2023-10-10 13:13:23.121 347-14017/? D/AmlogicVideoDecoderAwesome: mVideo mDisplayTread start 2023-10-10 13:13:23.121 347-14017/? D/AmlogicVideoDecoderAwesome: mDTaskStatus=0 2023-10-10 13:13:23.121 347-14017/? V/AmlogicVideoDecoderAwesome: start:341 > 2023-10-10 13:13:23.121 347-14017/? D/AmlogicVideoDecoderAwesome: mVideo start 2023-10-10 13:13:23.121 347-14017/? I/OmxComponent: OMX-0 STATE_TRANS: OMX_StateIdle => OMX_StateExecuting : OMX.amlogic.mjpeg.decoder.awesome2 2023-10-10 13:13:23.121 347-14017/? I/OmxComponent: STATE_DONE: OMX_StateIdle => OMX_StateExecuting : OMX.amlogic.mjpeg.decoder.awesome2 2023-10-10 13:13:23.121 347-14017/? D/OMXDecoder: [OnEvent:965] 2023-10-10 13:13:23.121 347-14017/? D/OMXDecoder: data1 = 0, data2 = 3, event = 0 2023-10-10 13:13:23.121 347-14020/? V/OMX_WorkerPeer: vendor/amlogic/common/omx/omx_framework/WorkerPeer.cpp:runWorkerStatic:155 -------------------- 2023-10-10 13:13:23.121 347-14017/? D/OMXDecoder: not support event! 2023-10-10 13:13:23.121 347-14020/? V/OMX_WorkerPeer: vendor/amlogic/common/omx/omx_framework/WorkerPeer.cpp:runWorker:161 -------------------- 2023-10-10 13:13:23.141 347-460/? D/OMXDecoder: STATETRANS FROM IDLE TO EXECUTING COMPLETED, eRet =0 2023-10-10 13:13:23.141 347-460/? D/OMXDecoder: [start:297] 2023-10-10 13:13:23.145 1162-1435/? D/XBH-MW-CommXbhOpsProcess: isOpsPlugIn: false 2023-10-10 13:13:23.145 1162-1435/? D/XBH-MW-CommXbhOpsProcess: isOpsPlugIn: false 2023-10-10 13:13:23.211 347-460/? I/Camera_IO: 166 setBuffersFormat - Width
Height 640 x 480 expect pixelfmt:MJPG, get:MJPG 2023-10-10 13:13:23.211 347-460/? I/USBSensor: 253 setOutputFormat - setOutputFormat :: pre_width = 640, pre_height = 480 2023-10-10 13:13:23.386 0-0/? W/: [ 6134.418945@0] [RX]-clk unstable = 0 2023-10-10 13:13:23.398 1162-1437/? D/XBH-MW-SdmProcessImpl: isSdmPlugIn() 2023-10-10 13:13:23.399 1162-1437/? D/XBH-MW-CommXbhSdmProcess: isSdmPlugIn: false 2023-10-10 13:13:23.399 1162-1437/? D/XBH-MW-SdmProcessImpl: isSdmPlugIn() 2023-10-10 13:13:23.399 1162-1437/? D/XBH-MW-CommXbhSdmProcess: isSdmPlugIn: false 2023-10-10 13:13:23.435 1162-1436/? D/XBH-MW-OpsProcessImpl: checkOPSCurrentDetThread 2023-10-10 13:13:23.436 1162-1436/? D/XBH-MW-CommXbhOpsProcess: isOpsPlugIn: false 2023-10-10 13:13:23.461 347-460/? I/EmulatedCamera_FakeCamera3: 621 configureStreams - width=640, height=480, pixelfmt=MJPG 2023-10-10 13:13:23.461 347-460/? I/EmulatedCamera_FakeCamera3: 644 configureStreams - stream_type=0 2023-10-10 13:13:23.461 347-460/? V/USBSensor: getStreamUsage: usage=0x20000 2023-10-10 13:13:23.461 347-460/? I/EmulatedCamera_FakeCamera3: 660 configureStreams - 0, newStream=0xe8400c64, stream_type=0, usage=20000, priv=0xe96036f0, w*h=640x480 2023-10-10 13:13:23.462 408-408/? D/Camera3-Device: Set real time priority for request queue thread (tid 14015) 2023-10-10 13:13:23.464 13930-14009/com.pedro.streamer I/Camera2ApiManager: Camera opened 2023-10-10 13:13:23.465 347-460/? I/EmulatedCamera_FakeCamera3: 744 constructDefaultRequestSettings - constructDefaultRequestSettings: E 2023-10-10 13:13:23.475 13930-14009/com.pedro.streamer I/Camera2ApiManager: fps: 30 - 30 2023-10-10 13:13:23.477 13930-14009/com.pedro.streamer I/Camera2ApiManager: Camera configured 2023-10-10 13:13:23.482 347-460/? I/EmulatedCamera_FakeCamera3: set ANDROID_CONTROL_AE_TARGET_FPS_RANGE :30,30 2023-10-10 13:13:23.482 347-460/? I/USBSensor: 1208 setAntiBanding - anti banding mode:3 2023-10-10 13:13:23.482 347-460/? I/USBSensor: 1040 setEffect - set effect mode:0 2023-10-10 13:13:23.482 347-460/? I/EmulatedCamera_FakeCamera3: 1267 processCaptureRequest - set expsore compensaton 0 2023-10-10 13:13:23.482 347-460/? I/USBSensor: 1130 setExposure - setExposure value0 mEVmin0 mEVmax0 2023-10-10 13:13:23.489 13930-13954/com.pedro.streamer I/OpenGLRenderer: Davey! duration=736ms; Flags=1, IntendedVsync=6133784016822, Vsync=6133984016814, OldestInputEvent=6133777154000, NewestInputEvent=6133777154000, HandleInputStart=6133995694048, AnimationStart=6133997820256, PerformTraversalsStart=6133998154423, DrawStart=6134499476673, SyncQueued=6134504233423, SyncStart=6134504499673, IssueDrawCommandsStart=6134504920798, SwapBuffers=6134519706340, FrameCompleted=6134520980590, DequeueBufferDuration=4095459, QueueBufferDuration=603375, GpuCompleted=0, 2023-10-10 13:13:23.494 13930-13954/com.pedro.streamer I/OpenGLRenderer: Davey! duration=741ms; Flags=1, IntendedVsync=6133784016822, Vsync=6133984016814, OldestInputEvent=6133777154000, NewestInputEvent=6133777154000, HandleInputStart=6133995694048, AnimationStart=6133997820256, PerformTraversalsStart=6133998154423, DrawStart=6134521883132, SyncQueued=6134522641590, SyncStart=6134522961132, IssueDrawCommandsStart=6134523127173, SwapBuffers=6134525083840, FrameCompleted=6134526041840, DequeueBufferDuration=169042, QueueBufferDuration=222500, GpuCompleted=9223372034707292159, 2023-10-10 13:13:23.496 820-845/? I/ActivityTaskManager: Displayed com.pedro.streamer/.texturemodeexample.TextureModeRtmpActivity: +769ms 2023-10-10 13:13:23.502 13930-13930/com.pedro.streamer I/Choreographer: Skipped 32 frames! The application may be doing too much work on its main thread. 2023-10-10 13:13:23.503 360-360/? I/android.hardware.power-service.libperfmgr: Power setBoost: INTERACTION duration: 0 2023-10-10 13:13:23.503 360-360/? I/libperfmgr: Do Powerhint: INTERACTION 2023-10-10 13:13:23.507 347-460/? I/EmulatedCamera_FakeCamera3: 1291 processCaptureRequest - cropRegion:0, 0, 1600, 1200 2023-10-10 13:13:23.515 1538-1538/? I/GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3362 2023-10-10 13:13:23.516 1538-1538/? I/GoogleInputMethodService: GoogleInputMethodService.onStartInput():1943 2023-10-10 13:13:23.524 347-14011/? V/USBSensor: captureNewImage:buffer size=1 2023-10-10 13:13:23.524 347-14011/? V/USBSensor: Sensor capturing buffer 0: stream 1, 640 x 480, format 11, stride 640, buf 0xe9643fb0, img 0xe2a66000 2023-10-10 13:13:23.524 347-14011/? V/USBSensor: captureNV21: E 2023-10-10 13:13:23.524 347-14011/? V/USBSensor: MJPEGToNV21: E 2023-10-10 13:13:23.531 347-14019/? D/AmlogicVideoDecoderAwesome: mFirstInputTime = 6134556, mFirstOutputTime=6134563, delay= 7ms 2023-10-10 13:13:23.532 347-14011/? D/OMXDecoder: DequeueBuffer:Enter 2023-10-10 13:13:23.532 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.532 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.533 347-14011/? D/Camportal_ION Interface: alloc_buffer 2023-10-10 13:13:23.533 347-14011/? D/Camportal_ION Interface: ---------------alloc_buffer:size= 460800,buffer idx = 0 2023-10-10 13:13:23.533 347-14011/? D/Camportal_ION Interface: num_heaps=5 2023-10-10 13:13:23.533 347-14011/? D/Camportal_ION Interface: heaps[0].type=16, heap_id=17 2023-10-10 13:13:23.533 347-14011/? D/Camportal_ION Interface: heaps[1].type=16, heap_id=16 2023-10-10 13:13:23.533 347-14011/? D/Camportal_ION Interface: heaps[2].type=4, heap_id=9 2023-10-10 13:13:23.533 347-14011/? D/Camportal_ION Interface: 4, m=10, 1<<heap_id=9, heap_mask=200, name=ion-fb, alloc_hmask=10 2023-10-10 13:13:23.534 347-14011/? E/Camportal_ION Interface: vaddr=0xe28cf000, share_fd = 120 2023-10-10 13:13:23.534 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.534 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.535 347-14011/? D/ge2d_stream: ge2d_mirror: src_w=640, src_h=480 share_fd=120E 2023-10-10 13:13:23.536 347-14011/? D/Camportal_ION Interface: free_buffer 2023-10-10 13:13:23.536 347-14011/? D/Camportal_ION Interface: ---------------free_buffer:buffer idx = 0 2023-10-10 13:13:23.536 347-14011/? D/Camportal_ION Interface: -----------release_node: vaddr = 0xe28cf000 2023-10-10 13:13:23.537 347-14011/? D/Camportal_ION Interface: -----------release_node: close share_fd = 120 2023-10-10 13:13:23.557 347-14011/? V/USBSensor: captureNewImage:buffer size=1 2023-10-10 13:13:23.557 347-14011/? V/USBSensor: Sensor capturing buffer 0: stream 1, 640 x 480, format 11, stride 640, buf 0xe9643830, img 0xe29f5000 2023-10-10 13:13:23.557 347-14011/? V/USBSensor: captureNV21: E 2023-10-10 13:13:23.557 347-14011/? V/USBSensor: MJPEGToNV21: E 2023-10-10 13:13:23.561 347-14011/? D/OMXDecoder: DequeueBuffer:Enter 2023-10-10 13:13:23.561 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.561 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.563 347-14011/? D/Camportal_ION Interface: alloc_buffer 2023-10-10 13:13:23.563 347-14011/? D/Camportal_ION Interface: ---------------alloc_buffer:size= 460800,buffer idx = 0 2023-10-10 13:13:23.563 347-14011/? D/Camportal_ION Interface: num_heaps=5 2023-10-10 13:13:23.563 347-14011/? D/Camportal_ION Interface: heaps[0].type=16, heap_id=17 2023-10-10 13:13:23.563 347-14011/? D/Camportal_ION Interface: heaps[1].type=16, heap_id=16 2023-10-10 13:13:23.563 347-14011/? D/Camportal_ION Interface: heaps[2].type=4, heap_id=9 2023-10-10 13:13:23.563 347-14011/? D/Camportal_ION Interface: 4, m=10, 1<<heap_id=9, heap_mask=200, name=ion-fb, alloc_hmask=10 2023-10-10 13:13:23.564 347-14011/? E/Camportal_ION Interface: vaddr=0xe28cf000, share_fd = 120 2023-10-10 13:13:23.564 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.564 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.566 347-14011/? D/ge2d_stream: ge2d_mirror: src_w=640, src_h=480 share_fd=120E 2023-10-10 13:13:23.567 347-14011/? D/Camportal_ION Interface: free_buffer 2023-10-10 13:13:23.567 347-14011/? D/Camportal_ION Interface: ---------------free_buffer:buffer idx = 0 2023-10-10 13:13:23.567 347-14011/? D/Camportal_ION Interface: -----------release_node: vaddr = 0xe28cf000 2023-10-10 13:13:23.567 347-14011/? D/Camportal_ION Interface: -----------release_node: close share_fd = 120 2023-10-10 13:13:23.598 551-14005/? W/adbd: timed out while waiting for FUNCTIONFS_BIND, trying again 2023-10-10 13:13:23.598 551-14005/? I/adbd: UsbFfs: connection terminated: monitor thread finished 2023-10-10 13:13:23.598 551-551/? I/adbd: UsbFfs: already offline 2023-10-10 13:13:23.599 551-551/? I/adbd: destroying transport UsbFfs 2023-10-10 13:13:23.599 551-551/? I/adbd: UsbFfsConnection being destroyed 2023-10-10 13:13:23.603 347-14011/? V/USBSensor: captureNewImage:buffer size=1 2023-10-10 13:13:23.603 347-14011/? V/USBSensor: Sensor capturing buffer 0: stream 1, 640 x 480, format 11, stride 640, buf 0xe9644430, img 0xe2984000 2023-10-10 13:13:23.603 347-14011/? V/USBSensor: captureNV21: E 2023-10-10 13:13:23.603 347-14011/? V/USBSensor: MJPEGToNV21: E 2023-10-10 13:13:23.606 347-14011/? D/OMXDecoder: DequeueBuffer:Enter 2023-10-10 13:13:23.606 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.606 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.607 347-14011/? D/Camportal_ION Interface: alloc_buffer 2023-10-10 13:13:23.607 347-14011/? D/Camportal_ION Interface: ---------------alloc_buffer:size= 460800,buffer idx = 0 2023-10-10 13:13:23.607 347-14011/? D/Camportal_ION Interface: num_heaps=5 2023-10-10 13:13:23.607 347-14011/? D/Camportal_ION Interface: heaps[0].type=16, heap_id=17 2023-10-10 13:13:23.607 347-14011/? D/Camportal_ION Interface: heaps[1].type=16, heap_id=16 2023-10-10 13:13:23.607 347-14011/? D/Camportal_ION Interface: heaps[2].type=4, heap_id=9 2023-10-10 13:13:23.607 347-14011/? D/Camportal_ION Interface: 4, m=10, 1<<heap_id=9, heap_mask=200, name=ion-fb, alloc_hmask=10 2023-10-10 13:13:23.608 347-14011/? E/Camportal_ION Interface: vaddr=0xe285e000, share_fd = 109 2023-10-10 13:13:23.608 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.608 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.610 347-14011/? D/ge2d_stream: ge2d_mirror: src_w=640, src_h=480 share_fd=109E 2023-10-10 13:13:23.611 347-14011/? D/Camportal_ION Interface: free_buffer 2023-10-10 13:13:23.611 347-14011/? D/Camportal_ION Interface: ---------------free_buffer:buffer idx = 0 2023-10-10 13:13:23.611 347-14011/? D/Camportal_ION Interface: -----------release_node: vaddr = 0xe285e000 2023-10-10 13:13:23.611 347-14011/? D/Camportal_ION Interface: -----------release_node: close share_fd = 109 2023-10-10 13:13:23.632 551-573/? I/adbd: opening control endpoint /dev/usb-ffs/adb/ep0 2023-10-10 13:13:23.633 551-573/? I/adbd: UsbFfsConnection constructed 2023-10-10 13:13:23.633 551-14023/? I/adbd: UsbFfs-monitor thread spawned 2023-10-10 13:13:23.636 0-0/? I/: [ 6134.666957@7] read descriptors 2023-10-10 13:13:23.636 0-0/? I/: [ 6134.666971@7] read strings 2023-10-10 13:13:23.636 347-14011/? V/USBSensor: captureNewImage:buffer size=1 2023-10-10 13:13:23.636 347-14011/? V/USBSensor: Sensor capturing buffer 0: stream 1, 640 x 480, format 11, stride 640, buf 0xe9643aa0, img 0xe28cf000 2023-10-10 13:13:23.636 347-14011/? V/USBSensor: captureNV21: E 2023-10-10 13:13:23.636 347-14011/? V/USBSensor: MJPEGToNV21: E 2023-10-10 13:13:23.637 347-14020/? D/AmlogicVideoDecoderAwesome: =8, =640, =480, =0, =0, =94413000, =94446000, =94479000, =52592, =57273, =55227 2023-10-10 13:13:23.639 347-14011/? D/OMXDecoder: DequeueBuffer:Enter 2023-10-10 13:13:23.639 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.639 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.641 347-14011/? D/Camportal_ION Interface: alloc_buffer 2023-10-10 13:13:23.641 347-14011/? D/Camportal_ION Interface: ---------------alloc_buffer:size= 460800,buffer idx = 0 2023-10-10 13:13:23.641 347-14011/? D/Camportal_ION Interface: num_heaps=5 2023-10-10 13:13:23.641 347-14011/? D/Camportal_ION Interface: heaps[0].type=16, heap_id=17 2023-10-10 13:13:23.641 347-14011/? D/Camportal_ION Interface: heaps[1].type=16, heap_id=16 2023-10-10 13:13:23.641 347-14011/? D/Camportal_ION Interface: heaps[2].type=4, heap_id=9 2023-10-10 13:13:23.641 347-14011/? D/Camportal_ION Interface: 4, m=10, 1<<heap_id=9, heap_mask=200, name=ion-fb, alloc_hmask=10 2023-10-10 13:13:23.641 347-14011/? E/Camportal_ION Interface: vaddr=0xe27ed000, share_fd = 126 2023-10-10 13:13:23.641 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.642 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.643 347-14011/? D/ge2d_stream: ge2d_mirror: src_w=640, src_h=480 share_fd=126E 2023-10-10 13:13:23.644 347-14011/? D/Camportal_ION Interface: free_buffer 2023-10-10 13:13:23.644 347-14011/? D/Camportal_ION Interface: ---------------free_buffer:buffer idx = 0 2023-10-10 13:13:23.644 347-14011/? D/Camportal_ION Interface: -----------release_node: vaddr = 0xe27ed000 2023-10-10 13:13:23.644 347-14011/? D/Camportal_ION Interface: -----------release_node: close share_fd = 126 2023-10-10 13:13:23.647 1162-1435/? D/XBH-MW-CommXbhOpsProcess: isOpsPlugIn: false 2023-10-10 13:13:23.647 1162-1435/? D/XBH-MW-CommXbhOpsProcess: isOpsPlugIn: false 2023-10-10 13:13:23.670 347-14011/? V/USBSensor: captureNewImage:buffer size=1 2023-10-10 13:13:23.670 347-14011/? V/USBSensor: Sensor capturing buffer 0: stream 1, 640 x 480, format 11, stride 640, buf 0xe9643fb0, img 0xe2a66000 2023-10-10 13:13:23.670 347-14011/? V/USBSensor: captureNV21: E 2023-10-10 13:13:23.670 347-14011/? V/USBSensor: MJPEGToNV21: E 2023-10-10 13:13:23.674 347-14011/? D/OMXDecoder: DequeueBuffer:Enter 2023-10-10 13:13:23.674 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.675 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.676 347-14011/? D/Camportal_ION Interface: alloc_buffer 2023-10-10 13:13:23.676 347-14011/? D/Camportal_ION Interface: ---------------alloc_buffer:size= 460800,buffer idx = 0 2023-10-10 13:13:23.676 347-14011/? D/Camportal_ION Interface: num_heaps=5 2023-10-10 13:13:23.676 347-14011/? D/Camportal_ION Interface: heaps[0].type=16, heap_id=17 2023-10-10 13:13:23.676 347-14011/? D/Camportal_ION Interface: heaps[1].type=16, heap_id=16 2023-10-10 13:13:23.676 347-14011/? D/Camportal_ION Interface: heaps[2].type=4, heap_id=9 2023-10-10 13:13:23.676 347-14011/? D/Camportal_ION Interface: 4, m=10, 1<<heap_id=9, heap_mask=200, name=ion-fb, alloc_hmask=10 2023-10-10 13:13:23.677 347-14011/? E/Camportal_ION Interface: vaddr=0xe27ed000, share_fd = 109 2023-10-10 13:13:23.677 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.677 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.678 347-14011/? D/ge2d_stream: ge2d_mirror: src_w=640, src_h=480 share_fd=109E 2023-10-10 13:13:23.679 347-14011/? D/Camportal_ION Interface: free_buffer 2023-10-10 13:13:23.679 347-14011/? D/Camportal_ION Interface: ---------------free_buffer:buffer idx = 0 2023-10-10 13:13:23.679 347-14011/? D/Camportal_ION Interface: -----------release_node: vaddr = 0xe27ed000 2023-10-10 13:13:23.679 347-14011/? D/Camportal_ION Interface: -----------release_node: close share_fd = 109 2023-10-10 13:13:23.703 347-14011/? V/USBSensor: captureNewImage:buffer size=1 2023-10-10 13:13:23.703 347-14011/? V/USBSensor: Sensor capturing buffer 0: stream 1, 640 x 480, format 11, stride 640, buf 0xe9643b30, img 0xe285e000 2023-10-10 13:13:23.704 347-14011/? V/USBSensor: captureNV21: E 2023-10-10 13:13:23.704 347-14011/? V/USBSensor: MJPEGToNV21: E 2023-10-10 13:13:23.707 347-14011/? D/OMXDecoder: DequeueBuffer:Enter 2023-10-10 13:13:23.707 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.707 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.709 347-14011/? D/Camportal_ION Interface: alloc_buffer 2023-10-10 13:13:23.709 347-14011/? D/Camportal_ION Interface: ---------------alloc_buffer:size= 460800,buffer idx = 0 2023-10-10 13:13:23.709 347-14011/? D/Camportal_ION Interface: num_heaps=5 2023-10-10 13:13:23.709 347-14011/? D/Camportal_ION Interface: heaps[0].type=16, heap_id=17 2023-10-10 13:13:23.709 347-14011/? D/Camportal_ION Interface: heaps[1].type=16, heap_id=16 2023-10-10 13:13:23.709 347-14011/? D/Camportal_ION Interface: heaps[2].type=4, heap_id=9 2023-10-10 13:13:23.709 347-14011/? D/Camportal_ION Interface: 4, m=10, 1<<heap_id=9, heap_mask=200, name=ion-fb, alloc_hmask=10 2023-10-10 13:13:23.710 347-14011/? E/Camportal_ION Interface: vaddr=0xe27ed000, share_fd = 109 2023-10-10 13:13:23.710 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.710 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.711 347-14011/? D/ge2d_stream: ge2d_mirror: src_w=640, src_h=480 share_fd=109E 2023-10-10 13:13:23.713 347-14011/? D/Camportal_ION Interface: free_buffer 2023-10-10 13:13:23.713 347-14011/? D/Camportal_ION Interface: ---------------free_buffer:buffer idx = 0 2023-10-10 13:13:23.713 347-14011/? D/Camportal_ION Interface: -----------release_node: vaddr = 0xe27ed000 2023-10-10 13:13:23.713 347-14011/? D/Camportal_ION Interface: -----------release_node: close share_fd = 109 2023-10-10 13:13:23.737 347-14011/? V/USBSensor: captureNewImage:buffer size=1 2023-10-10 13:13:23.737 347-14011/? V/USBSensor: Sensor capturing buffer 0: stream 1, 640 x 480, format 11, stride 640, buf 0xe9643830, img 0xe29f5000 2023-10-10 13:13:23.737 347-14011/? V/USBSensor: captureNV21: E 2023-10-10 13:13:23.737 347-14011/? V/USBSensor: MJPEGToNV21: E 2023-10-10 13:13:23.741 347-14011/? D/OMXDecoder: DequeueBuffer:Enter 2023-10-10 13:13:23.741 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.741 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.742 347-14011/? D/Camportal_ION Interface: alloc_buffer 2023-10-10 13:13:23.742 347-14011/? D/Camportal_ION Interface: ---------------alloc_buffer:size= 460800,buffer idx = 0 2023-10-10 13:13:23.742 347-14011/? D/Camportal_ION Interface: num_heaps=5 2023-10-10 13:13:23.742 347-14011/? D/Camportal_ION Interface: heaps[0].type=16, heap_id=17 2023-10-10 13:13:23.742 347-14011/? D/Camportal_ION Interface: heaps[1].type=16, heap_id=16 2023-10-10 13:13:23.742 347-14011/? D/Camportal_ION Interface: heaps[2].type=4, heap_id=9 2023-10-10 13:13:23.742 347-14011/? D/Camportal_ION Interface: 4, m=10, 1<<heap_id=9, heap_mask=200, name=ion-fb, alloc_hmask=10 2023-10-10 13:13:23.743 347-14011/? E/Camportal_ION Interface: vaddr=0xe27ed000, share_fd = 109 2023-10-10 13:13:23.743 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.743 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.744 347-14011/? D/ge2d_stream: ge2d_mirror: src_w=640, src_h=480 share_fd=109E 2023-10-10 13:13:23.746 347-14011/? D/Camportal_ION Interface: free_buffer 2023-10-10 13:13:23.746 347-14011/? D/Camportal_ION Interface: ---------------free_buffer:buffer idx = 0 2023-10-10 13:13:23.746 347-14011/? D/Camportal_ION Interface: -----------release_node: vaddr = 0xe27ed000 2023-10-10 13:13:23.746 347-14011/? D/Camportal_ION Interface: -----------release_node: close share_fd = 109 2023-10-10 13:13:23.770 347-14011/? V/USBSensor: captureNewImage:buffer size=1 2023-10-10 13:13:23.770 347-14011/? V/USBSensor: Sensor capturing buffer 0: stream 1, 640 x 480, format 11, stride 640, buf 0xe9644430, img 0xe2984000 2023-10-10 13:13:23.770 347-14011/? V/USBSensor: captureNV21: E 2023-10-10 13:13:23.770 347-14011/? V/USBSensor: MJPEGToNV21: E 2023-10-10 13:13:23.774 347-14011/? D/OMXDecoder: DequeueBuffer:Enter 2023-10-10 13:13:23.774 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.774 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.775 347-14011/? D/Camportal_ION Interface: alloc_buffer 2023-10-10 13:13:23.775 347-14011/? D/Camportal_ION Interface: ---------------alloc_buffer:size= 460800,buffer idx = 0 2023-10-10 13:13:23.775 347-14011/? D/Camportal_ION Interface: num_heaps=5 2023-10-10 13:13:23.775 347-14011/? D/Camportal_ION Interface: heaps[0].type=16, heap_id=17 2023-10-10 13:13:23.775 347-14011/? D/Camportal_ION Interface: heaps[1].type=16, heap_id=16 2023-10-10 13:13:23.775 347-14011/? D/Camportal_ION Interface: heaps[2].type=4, heap_id=9 2023-10-10 13:13:23.775 347-14011/? D/Camportal_ION Interface: 4, m=10, 1<<heap_id=9, heap_mask=200, name=ion-fb, alloc_hmask=10 2023-10-10 13:13:23.777 347-14011/? E/Camportal_ION Interface: vaddr=0xe27ed000, share_fd = 109 2023-10-10 13:13:23.777 347-14011/? V/ge2d_stream: ge2d_copy: E 2023-10-10 13:13:23.777 347-14011/? V/ge2d_stream: ge2d_copy_internal: E 2023-10-10 13:13:23.779 347-14011/? D/ge2d_stream: ge2d_mirror: src_w=640, src_h=480 share_fd=109E 2023-10-10 13:13:23.780 347-14011/? D/Camportal_ION Interface: free_buffer 2023-10-10 13:13:23.780 347-14011/? D/Camportal_ION Interface: ---------------free_buffer:buffer idx = 0 2023-10-10 13:13:23.780 347-14011/? D/Camportal_ION Interface: -----------release_node: vaddr = 0xe27ed000 2023-10-10 13:13:23.780 347-14011/? D/Camportal_ION Interface: -----------release_node: close share_fd = 109 2023-10-10 13:13:23.791 1162-1451/? D/XBH-MW-CommXbhOpsProcess: isOpsPlugIn: false 2023-10-10 13:13:23.791 1162-1451/? D/XBH-MW-CommXbhInputsource: getCurrentSrcDet: srcIdx = 19, det = false 2023-10-10 13:13:23.792 1162-1451/? D/XBH-MW-CommXbhInputsource: getCurrentSrcDet: srcIdx = 9, det = false 2023-10-10 13:13:23.792 1162-1451/? D/XBH-MW-CommXbhInputsource: getCurrentSrcDet: srcIdx = 17, det = false 2023-10-10 13:13:23.793 1162-1451/? D/XBH-MW-CommXbhInputsource: getCurrentSrcDet: srcIdx = 10, det = false 2023-10-10 13:13:23.793 1162-1451/? D/XBH-MW-CommXbhInputsource: getCurrentSrcDet: srcIdx = 15, det = false 2023-10-10 13:13:23.794 1162-1451/? D/XBH-MW-CommXbhInputsource: getCurrentSrcDet: srcIdx = 30, det = false 2023-10-10 13:13:23.804 347-14011/? V/USBSensor: captureNewImage:buffer size=1

pedroSG94 commented 1 year ago

Hello,

I can't see a crash in your logcat. Please, try to get the exact trace about the crash.

About the quality in the preview. I think that the reason is that you are using a 640x480 resolution. You can use a higher resolution to solve it. You can change it on startPreview method and on preparevideo method you should use the same or the resolution will change to the prepareVideo method resolution when you call that method.

pedroSG94 commented 1 year ago

Hello,

Your error "Fail to connect to camera service" could be related with camera permissions. Make sure you have permission added to manifest and you request permission on the app.

About compile error. Can you show me the error?

pedroSG94 commented 1 year ago

I can't see any error in that code. I only see "?" characters

zhouqunhuang commented 1 year ago

Excuse me? I think when I use the library https://github.com/shiyinghan/UVCAndroid to do a camera, I click the button to jump to your project to push flow function, But this initialization rtmpCamera1 = new RtmpCamera1(surfaceView, ExampleRtmpActivity.this); Is the error always reported because of the conflict between the two inventories? Or some other factor image

pedroSG94 commented 1 year ago

Hello,

This could be because you haven't camera permission. Check permissions in your manifest and make sure you request and accept it in realtime before open that activity. Remember that you also need microphone permissions.

zhouqunhuang commented 1 year ago

Hello, your library can only support 1920*1080 resolution? I can't seem to turn on the camera when I use the higher resolution,Besides, is there any way to deal with this fail to connect to camera service? Because I have applied for permission before and added permission judgment before starting again. However, sometimes this problem still occurs, leading to flash back.

pedroSG94 commented 1 year ago

Hello,

You can read Android documentation about it here: https://developer.android.com/reference/android/hardware/Camera.html#open(int)

As you can see. If the camera is in use by other process this error could happens.

About resolution. Camera1 is limited to 1080p as you said (Android limitation). You can use camera2 for higher resolutions

zhouqunhuang commented 1 year ago

Thank you for your answer!I have another problem,When I push the stream with 1280X720 resolution, I get the following error: "This camera resolution cant be opened". Is there a limit to the resolution of the push flow? If yes, please tell me how to restrict my use of RtmpCamera1:

2023-11-02 15:44:24.201 3299-3388/cn.com.iqview I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2023-11-02 15:44:24.202 3299-3324/cn.com.iqview D/CameraInternal: releaseResource: com.herohan.uvcapp.CameraInternal@16318e8 2023-11-02 15:44:24.203 3299-3324/cn.com.iqview D/CameraInternal: clearCallbacks: 2023-11-02 15:44:24.203 3299-3324/cn.com.iqview V/RendererHolder: release: 2023-11-02 15:44:24.203 3299-3324/cn.com.iqview I/USBMonitor: destroy: 2023-11-02 15:44:24.203 3299-3325/cn.com.iqview D/CameraConnectionService: number of existed camera=0 2023-11-02 15:44:24.203 3299-3383/cn.com.iqview I/BpBinder: onLastStrongRef automatically unlinking death recipients: android.media.IResourceManagerService 2023-11-02 15:44:24.204 3299-3342/cn.com.iqview V/RendererHolder: handleRemoveSurfaceAll: 2023-11-02 15:44:24.215 3299-3342/cn.com.iqview W/libEGL: EGLNativeWindowType 0xb4000071187f9640 disconnect failed 2023-11-02 15:44:28.396 3299-3299/cn.com.iqview I/Camera1ApiManager: fps: 30000 - 30000 2023-11-02 15:44:28.742 3299-3299/cn.com.iqview I/Camera1ApiManager: 1280X720 2023-11-02 15:44:42.557 3299-3299/cn.com.iqview I/MicrophoneManager: Microphone created, 32000hz, Stereo 2023-11-02 15:44:42.593 3299-3299/cn.com.iqview W/AudioCapabilities: Unsupported mime audio/dtshd 2023-11-02 15:44:42.594 3299-3299/cn.com.iqview W/AudioCapabilities: Unsupported mime audio/ffmpeg 2023-11-02 15:44:42.594 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported mime video/x-vnd.on2.vp6a 2023-11-02 15:44:42.595 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported mime video/x-vnd.on2.vp6f 2023-11-02 15:44:42.604 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported mime video/avs 2023-11-02 15:44:42.605 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported mime video/avs2 2023-11-02 15:44:42.609 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported mime video/x-motion-jpeg 2023-11-02 15:44:42.610 3299-3299/cn.com.iqview W/VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2 2023-11-02 15:44:42.610 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 2 for video/mpeg2 2023-11-02 15:44:42.610 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 3 for video/mpeg2 2023-11-02 15:44:42.610 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 4 for video/mpeg2 2023-11-02 15:44:42.610 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 5 for video/mpeg2 2023-11-02 15:44:42.612 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 2 for video/mp4v-es 2023-11-02 15:44:42.612 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es 2023-11-02 15:44:42.612 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 8 for video/mp4v-es 2023-11-02 15:44:42.612 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 16 for video/mp4v-es 2023-11-02 15:44:42.612 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 32 for video/mp4v-es 2023-11-02 15:44:42.612 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 64 for video/mp4v-es 2023-11-02 15:44:42.612 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 128 for video/mp4v-es 2023-11-02 15:44:42.612 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 256 for video/mp4v-es 2023-11-02 15:44:42.612 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 512 for video/mp4v-es 2023-11-02 15:44:42.612 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 1024 for video/mp4v-es 2023-11-02 15:44:42.612 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 2048 for video/mp4v-es 2023-11-02 15:44:42.612 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 4096 for video/mp4v-es 2023-11-02 15:44:42.612 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 8192 for video/mp4v-es 2023-11-02 15:44:42.612 3299-3299/cn.com.iqview I/VideoCapabilities: Unsupported profile 16384 for video/mp4v-es 2023-11-02 15:44:42.614 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported mime video/rm10 2023-11-02 15:44:42.615 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported mime video/rm20 2023-11-02 15:44:42.617 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported mime video/rm30 2023-11-02 15:44:42.618 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported mime video/rm40 2023-11-02 15:44:42.619 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported mime video/vc1 2023-11-02 15:44:42.619 3299-3299/cn.com.iqview W/Utils: could not parse long range '1-' 2023-11-02 15:44:42.621 3299-3299/cn.com.iqview W/VideoCapabilities: Unrecognized level 16 for video/x-vnd.on2.vp8 2023-11-02 15:44:42.621 3299-3299/cn.com.iqview W/VideoCapabilities: Unrecognized level 32 for video/x-vnd.on2.vp8 2023-11-02 15:44:42.621 3299-3299/cn.com.iqview W/VideoCapabilities: Unrecognized level 64 for video/x-vnd.on2.vp8 2023-11-02 15:44:42.621 3299-3299/cn.com.iqview W/VideoCapabilities: Unrecognized level 128 for video/x-vnd.on2.vp8 2023-11-02 15:44:42.621 3299-3299/cn.com.iqview W/VideoCapabilities: Unrecognized level 256 for video/x-vnd.on2.vp8 2023-11-02 15:44:42.621 3299-3299/cn.com.iqview W/VideoCapabilities: Unrecognized level 512 for video/x-vnd.on2.vp8 2023-11-02 15:44:42.621 3299-3299/cn.com.iqview W/VideoCapabilities: Unrecognized level 1024 for video/x-vnd.on2.vp8 2023-11-02 15:44:42.621 3299-3299/cn.com.iqview W/VideoCapabilities: Unrecognized level 2048 for video/x-vnd.on2.vp8 2023-11-02 15:44:42.621 3299-3299/cn.com.iqview W/VideoCapabilities: Unrecognized level 4096 for video/x-vnd.on2.vp8 2023-11-02 15:44:42.621 3299-3299/cn.com.iqview W/VideoCapabilities: Unrecognized level 8192 for video/x-vnd.on2.vp8 2023-11-02 15:44:42.621 3299-3299/cn.com.iqview W/VideoCapabilities: Unrecognized level 16384 for video/x-vnd.on2.vp8 2023-11-02 15:44:42.621 3299-3299/cn.com.iqview W/VideoCapabilities: Unrecognized level 32768 for video/x-vnd.on2.vp8 2023-11-02 15:44:42.622 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported mime video/wmv3 2023-11-02 15:44:42.623 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported mime video/wmv1 2023-11-02 15:44:42.624 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported mime video/wmv2 2023-11-02 15:44:42.624 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported mime video/x-ms-wmv 2023-11-02 15:44:42.625 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported mime video/wvc1 2023-11-02 15:44:42.625 3299-3299/cn.com.iqview W/Utils: could not parse long range '1-' 2023-11-02 15:44:42.626 3299-3299/cn.com.iqview W/VideoCapabilities: Unsupported profile 4 for video/avc 2023-11-02 15:44:42.647 3299-3299/cn.com.iqview I/AudioEncoder: 2 encoders found 2023-11-02 15:44:42.647 3299-3299/cn.com.iqview I/AudioEncoder: Encoder selected c2.android.aac.encoder 2023-11-02 15:44:42.648 3299-3502/cn.com.iqview D/CCodec: allocate(c2.android.aac.encoder) 2023-11-02 15:44:42.651 3299-3502/cn.com.iqview I/CCodec: Created component [c2.android.aac.encoder] 2023-11-02 15:44:42.651 3299-3502/cn.com.iqview D/CCodecConfig: read media type: audio/mp4a-latm 2023-11-02 15:44:42.652 3299-3502/cn.com.iqview D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2023-11-02 15:44:42.653 3299-3502/cn.com.iqview D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2023-11-02 15:44:42.653 3299-3502/cn.com.iqview D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2023-11-02 15:44:42.653 3299-3502/cn.com.iqview D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2023-11-02 15:44:42.653 3299-3502/cn.com.iqview D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2023-11-02 15:44:42.653 3299-3502/cn.com.iqview D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2023-11-02 15:44:42.653 3299-3502/cn.com.iqview D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2023-11-02 15:44:42.655 3299-3502/cn.com.iqview I/CCodecConfig: query failed after returning 9 values (BAD_INDEX) 2023-11-02 15:44:42.655 3299-3502/cn.com.iqview D/CCodecConfig: c2 config diff is Dict { c2::u32 coded.bitrate.value = 64000 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 8192 c2::u32 coding.aac-sbr-mode.value = 3 c2::u32 input.buffers.max-size.value = 2048 c2::u32 input.delay.value = 0 string input.media-type.value = "audio/raw" string output.media-type.value = "audio/mp4a-latm" c2::u32 raw.channel-count.value = 1 c2::u32 raw.sample-rate.value = 44100 } 2023-11-02 15:44:42.657 3299-3502/cn.com.iqview I/MediaCodec: MediaCodec will operate in async mode 2023-11-02 15:44:42.657 3299-3502/cn.com.iqview D/CCodec: [c2.android.aac.encoder] buffers are bound to CCodec for this session 2023-11-02 15:44:42.657 3299-3502/cn.com.iqview D/CCodecConfig: no c2 equivalents for aac-profile 2023-11-02 15:44:42.657 3299-3502/cn.com.iqview D/CCodecConfig: no c2 equivalents for flags 2023-11-02 15:44:42.657 3299-3502/cn.com.iqview D/CCodecConfig: no c2 equivalents for encoder 2023-11-02 15:44:42.658 3299-3502/cn.com.iqview D/CCodecConfig: c2 config diff is c2::u32 coded.bitrate.value = 65536 c2::u32 input.buffers.max-size.value = 4096 c2::u32 raw.channel-count.value = 2 c2::u32 raw.sample-rate.value = 32000 2023-11-02 15:44:42.658 3299-3502/cn.com.iqview W/Codec2Client: query -- param skipped: index = 1107298332. 2023-11-02 15:44:42.658 3299-3502/cn.com.iqview D/CCodec: setup formats input: AMessage(what = 0x00000000) = { int32_t aac-sbr-mode = 3 int32_t channel-count = 2 int32_t max-input-size = 5460 string mime = "audio/raw" int32_t sample-rate = 32000 } and output: AMessage(what = 0x00000000) = { int32_t aac-sbr-mode = 3 int32_t bitrate = 65536 int32_t channel-count = 2 int32_t level = 0 int32_t max-bitrate = 65536 string mime = "audio/mp4a-latm" int32_t profile = 2 int32_t sample-rate = 32000 } 2023-11-02 15:44:42.658 3299-3299/cn.com.iqview I/AudioEncoder: prepared 2023-11-02 15:44:43.188 3299-3299/cn.com.iqview I/VideoEncoder: 3 encoders found 2023-11-02 15:44:43.188 3299-3299/cn.com.iqview I/VideoEncoder: Encoder OMX.amlogic.video.encoder.avc 2023-11-02 15:44:43.188 3299-3299/cn.com.iqview I/VideoEncoder: Color supported: 2135033992 2023-11-02 15:44:43.189 3299-3299/cn.com.iqview I/VideoEncoder: Color supported: 19 2023-11-02 15:44:43.189 3299-3299/cn.com.iqview I/VideoEncoder: Encoder selected OMX.amlogic.video.encoder.avc 2023-11-02 15:44:43.191 3299-3514/cn.com.iqview I/OMXClient: IOmx service obtained 2023-11-02 15:44:43.193 3299-3299/cn.com.iqview I/VideoEncoder: Prepare video info: YUV420PLANAR, 1920x1080 2023-11-02 15:44:43.193 3299-3299/cn.com.iqview I/VideoEncoder: bitrate mode CBR not supported using default mode 2023-11-02 15:44:43.194 3299-3513/cn.com.iqview I/MediaCodec: MediaCodec will operate in async mode 2023-11-02 15:44:43.195 3299-3514/cn.com.iqview I/AmAVUtils: AmAVUtils::getComponentRole isEncoder :1 mime:video/avc 2023-11-02 15:44:43.195 3299-3514/cn.com.iqview V/MediaVendorExt: AVUtils::getComponentRole 2023-11-02 15:44:43.195 3299-3514/cn.com.iqview I/MediaVendorExt: AmAVUtils::getComponentRole isEncoder :1 mime:video/avc 2023-11-02 15:44:43.196 3299-3514/cn.com.iqview I/ACodec: setupAVCEncoderParameters with [profile: Baseline] [level: Level4] 2023-11-02 15:44:43.197 3299-3514/cn.com.iqview W/ACodec: [OMX.amlogic.video.encoder.avc] setting HDRStaticInfo failed even though codec advertises support 2023-11-02 15:44:43.197 3299-3514/cn.com.iqview I/ACodec: [OMX.amlogic.video.encoder.avc] cannot encode HDR static metadata. Ignoring. 2023-11-02 15:44:43.197 3299-3514/cn.com.iqview I/ACodec: setupVideoEncoder succeeded 2023-11-02 15:44:43.197 3299-3514/cn.com.iqview I/AmAVUtils: AmAVUtils::isAudioExtendFormat input = video/avc 2023-11-02 15:44:43.197 3299-3514/cn.com.iqview I/AmAVUtils: AmAVUtils::isExtendFormat input = video/avc 2023-11-02 15:44:43.198 3299-3299/cn.com.iqview I/VideoEncoder: prepared 2023-11-02 15:44:43.200 3299-3299/cn.com.iqview I/VideoEncoder: started 2023-11-02 15:44:43.206 3299-3299/cn.com.iqview I/AudioEncoder: started 2023-11-02 15:44:43.208 3299-3502/cn.com.iqview W/Codec2Client: query -- param skipped: index = 1342179345. 2023-11-02 15:44:43.208 3299-3502/cn.com.iqview W/Codec2Client: query -- param skipped: index = 2415921170. 2023-11-02 15:44:43.209 3299-3502/cn.com.iqview E/FMQ: grantorIdx must be less than 3 2023-11-02 15:44:43.209 3299-3502/cn.com.iqview E/FMQ: grantorIdx must be less than 3 2023-11-02 15:44:43.209 3299-3502/cn.com.iqview D/CCodecBufferChannel: [c2.android.aac.encoder#35] Created input block pool with allocatorID 16 => poolID 17 - OK (0) 2023-11-02 15:44:43.210 3299-3502/cn.com.iqview I/CCodecBufferChannel: [c2.android.aac.encoder#35] Created output block pool with allocatorID 16 => poolID 33 - OK 2023-11-02 15:44:43.210 3299-3502/cn.com.iqview D/CCodecBufferChannel: [c2.android.aac.encoder#35] Configured output block pool ids 33 => OK 2023-11-02 15:44:43.211 3299-3502/cn.com.iqview E/ion: ioctl c0044901 failed with code -1: Inappropriate ioctl for device 2023-11-02 15:44:43.218 3299-3299/cn.com.iqview I/MicrophoneManager: Microphone started 2023-11-02 15:44:43.223 3299-3299/cn.com.iqview D/AndroidRuntime: Shutting down VM

--------- beginning of crash

2023-11-02 15:44:43.241 3299-3299/cn.com.iqview E/AndroidRuntime: FATAL EXCEPTION: main Process: cn.com.iqview, PID: 3299 com.pedro.encoder.input.video.CameraOpenException: This camera resolution cant be opened at com.pedro.encoder.input.video.Camera1ApiManager.start(Camera1ApiManager.java:169) at com.pedro.encoder.input.video.Camera1ApiManager.start(Camera1ApiManager.java:160) at com.pedro.encoder.input.video.Camera1ApiManager.start(Camera1ApiManager.java:164) at com.pedro.library.base.Camera1Base.startEncoders(Camera1Base.java:707) at com.pedro.library.base.Camera1Base.startStream(Camera1Base.java:691) at cn.com.iqview.module.fragment.PlugFlowFragment.pushSteam(PlugFlowFragment.java:146) at cn.com.iqview.module.fragment.PlugFlowFragment.onClick(PlugFlowFragment.java:131) at android.view.View.performClick(View.java:7453) at android.view.View.performClickInternal(View.java:7430) at android.view.View.access$3600(View.java:815) at android.view.View$PerformClick.run(View.java:28361) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7664) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952) 2023-11-02 15:44:43.275 3299-3299/cn.com.iqview I/Process: Sending signal. PID: 3299 SIG: 9

pedroSG94 commented 1 year ago

Hello,

You can check resolutions supported by your camera (back and front camera) using this methods:

rtmpCamera1.getResolutionsBack()
rtmpCamera1.getResolutionsFront()

If you are using a resolution that is not in that methods (depend of camera used choose the correct method). You will get that error. Also, remember that Camera1 is limited to 1080p in Android so if you want a higher resolution you will need use Camera2

zhouqunhuang commented 1 year ago

hello!If I use an external usb camera, how do I get the resolution supported by the push stream, but I have no problem when I use 19201080, and I have the problem when I use 1280X720. And when I use Camera2 when I set rtmpCamera2.startPreview(cameraId, 4208, 3120); But he still opened 19201080 instead of 4208*3120. That's why I didn't use Camera2. And OpenGlView can jam on some devices. But rtmpCamera2 (TextureView, this) is deprecated again. So I can only choose rtmpcamera1

pedroSG94 commented 1 year ago

Hello,

If I use an external usb camera, how do I get the resolution supported by the push stream, but I have no problem when I use 19201080, and I have the problem when I use 1280X720

I'm not sure the reason about your device detect external camera like an internal camera because Camera1 API usually don't do it so if you tested with code above and it is not working for you. You can try this:

If you are using startPreview with custom cameraFacing, you can try to create a method for Camera1ApiManager to get resolutions of a specific cameraFacing

_And when I use Camera2 when I set rtmpCamera2.startPreview(cameraId, 4208, 3120); But he still opened 1920_1080 instead of 4208*3120. That's why I didn't use Camera2. And OpenGlView can jam on some devices. But rtmpCamera2 (TextureView, this) is deprecated again. So I can only choose rtmpcamera1

About camera2. In few cases, if the resolution is not supported, this API open the closest resolution and scale the image to it that is maybe your case. You can use camera2 with TextureView without problems but I will only fix errors, no implement new features.

zhouqunhuang commented 1 year ago

Hello, can you fix RtmpCamera2(surfaceView, this); Is there a problem with deprecation? I think you suggested to use OpenGlView before using this but I got an error when I used it, so here's my error log

java.lang.RuntimeException: createWindowSurface failed error=12291 at com.serenegiant.opengl.EGLBase14.createWindowSurface(EGLBase14.java:510) at com.serenegiant.opengl.EGLBase14.access$100(EGLBase14.java:45) at com.serenegiant.opengl.EGLBase14$EglSurface.(EGLBase14.java:113) at com.serenegiant.opengl.EGLBase14$EglSurface.(EGLBase14.java:94) at com.serenegiant.opengl.EGLBase14.createFromSurface(EGLBase14.java:241) at com.serenegiant.opengl.EGLBase14.createFromSurface(EGLBase14.java:44) at com.serenegiant.opengl.renderer.RendererSurface.(RendererSurface.java:47) at com.serenegiant.opengl.renderer.RendererSurface.newInstance(RendererSurface.java:25) at com.serenegiant.opengl.renderer.RendererHolder$RendererHandler.handleAddSlaveSurface(RendererHolder.java:550) at com.serenegiant.opengl.renderer.RendererHolder$RendererHandler.handleMessage(RendererHolder.java:443) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:223) at com.serenegiant.opengl.EGLTask.run(EGLTask.java:118) 2023-11-07 17:18:32.712 22571-22622/cn.com.iqview E/RendererHolder: invalid surface: surface=Surface(name=null)/@0x3537db9 java.lang.IllegalArgumentException: java.lang.RuntimeException: createWindowSurface failed error=12291 at com.serenegiant.opengl.EGLBase14.createWindowSurface(EGLBase14.java:516) at com.serenegiant.opengl.EGLBase14.access$100(EGLBase14.java:45) at com.serenegiant.opengl.EGLBase14$EglSurface.(EGLBase14.java:113) at com.serenegiant.opengl.EGLBase14$EglSurface.(EGLBase14.java:94) at com.serenegiant.opengl.EGLBase14.createFromSurface(EGLBase14.java:241) at com.serenegiant.opengl.EGLBase14.createFromSurface(EGLBase14.java:44) at com.serenegiant.opengl.renderer.RendererSurface.(RendererSurface.java:47) at com.serenegiant.opengl.renderer.RendererSurface.newInstance(RendererSurface.java:25) at com.serenegiant.opengl.renderer.RendererHolder$RendererHandler.handleAddSlaveSurface(RendererHolder.java:550) at com.serenegiant.opengl.renderer.RendererHolder$RendererHandler.handleMessage(RendererHolder.java:443) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:223) at com.serenegiant.opengl.EGLTask.run(EGLTask.java:118) Caused by: java.lang.RuntimeException: createWindowSurface failed error=12291 at com.serenegiant.opengl.EGLBase14.createWindowSurface(EGLBase14.java:510) at com.serenegiant.opengl.EGLBase14.access$100(EGLBase14.java:45)  at com.serenegiant.opengl.EGLBase14$EglSurface.(EGLBase14.java:113)  at com.serenegiant.opengl.EGLBase14$EglSurface.(EGLBase14.java:94)  at com.serenegiant.opengl.EGLBase14.createFromSurface(EGLBase14.java:241)  at com.serenegiant.opengl.EGLBase14.createFromSurface(EGLBase14.java:44)  at com.serenegiant.opengl.renderer.RendererSurface.(RendererSurface.java:47)  at com.serenegiant.opengl.renderer.RendererSurface.newInstance(RendererSurface.java:25)  at com.serenegiant.opengl.renderer.RendererHolder$RendererHandler.handleAddSlaveSurface(RendererHolder.java:550)  at com.serenegiant.opengl.renderer.RendererHolder$RendererHandler.handleMessage(RendererHolder.java:443)  at android.os.Handler.dispatchMessage(Handler.java:106)  at android.os.Looper.loop(Looper.java:223)  at com.serenegiant.opengl.EGLTask.run(EGLTask.java:118) 

pedroSG94 commented 1 year ago

Hello,

Camera2 with SurfaceView and TextureView are correctly deprecated. You can use it and remove the warning using annotations.

About the error, Please try using my app example in OpenGl RTMP and replace RtmpCamera1 to RtmpCamera2. If you can reproduce the error. Share me the error again.

zhouqunhuang commented 1 year ago

hello, Thank you for your answer. I'm using your app example now. When I hit Push Stream, flash back. I set the resolution to 2560*1440. Below is my error log.

2023-11-08 11:13:41.382 7098-7232/com.pedro.streamer D/ACodec: 0xb400006fd7b26dd0 onConfigureComponent 2023-11-08 11:13:41.383 2624-2663 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.enableAndroidNativeBuffers not implemented! 2023-11-08 11:13:41.384 2624-2663 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.allocateNativeHandle not implemented! 2023-11-08 11:13:41.384 2624-2663 D/OMX_VENC: set_parameter_metadata_buffer(4391): set store matedata: 0 2023-11-08 11:13:41.384 2624-2663 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.enableAndroidNativeBuffers not implemented! 2023-11-08 11:13:41.384 2624-2663 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.allocateNativeHandle not implemented! 2023-11-08 11:13:41.384 2624-2663 E/OMX_VENC: set_parameter_metadata_buffer(4381): set_parameter: Bad port index 1 2023-11-08 11:13:41.384 2624-2663 E/OMXNodeInstance: setParameter(0xf0c81510:uapi.encoder.avc, OMX.google.android.index.storeMetaDataInBuffers(0x7f000010): Output:1 en=0 type=1) ERROR: BadPortIndex(0x8000101b) 2023-11-08 11:13:41.384 2624-2663 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:13:41.385 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:13:41.385 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:13:41.385 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:13:41.386 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:13:41.386 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:13:41.387 7098-7232/com.pedro.streamer W/OMXUtils: do not know color format 0x19 = 25 2023-11-08 11:13:41.387 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:13:41.387 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:13:41.388 7098-7232/com.pedro.streamer W/OMXUtils: do not know color format 0x1a = 26 2023-11-08 11:13:41.388 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:13:41.388 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:13:41.388 7098-7232/com.pedro.streamer W/OMXUtils: do not know color format 0x1b = 27 2023-11-08 11:13:41.389 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:13:41.389 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:13:41.389 7098-7232/com.pedro.streamer W/OMXUtils: do not know color format 0x18 = 24 2023-11-08 11:13:41.390 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:13:41.390 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:13:41.390 7098-7232/com.pedro.streamer W/OMXUtils: do not know color format 0x7fa30c00 = 2141391872 2023-11-08 11:13:41.391 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:13:41.391 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:13:41.391 7098-7232/com.pedro.streamer W/OMXUtils: do not know color format 0x10 = 16 2023-11-08 11:13:41.391 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:13:41.392 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:13:41.392 7098-7232/com.pedro.streamer W/OMXUtils: do not know color format 0xf = 15 2023-11-08 11:13:41.392 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:13:41.392 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:13:41.393 7098-7232/com.pedro.streamer W/OMXUtils: do not know color format 0x7f000789 = 2130708361 2023-11-08 11:13:41.394 7098-7232/com.pedro.streamer I/ACodec: setupAVCEncoderParameters with [profile: Baseline] [level: Level31] 2023-11-08 11:13:41.395 2624-3450 D/OMX_VENC: set_parameter_video_bit_rate(4223): ext_rc: 0 2023-11-08 11:13:41.395 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorAspects not implemented! 2023-11-08 11:13:41.395 7098-7232/com.pedro.streamer I/ACodec: [OMX.uapi.video.encoder.avc] cannot encode color aspects. Ignoring. 2023-11-08 11:13:41.396 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeHDRStaticInfo not implemented! 2023-11-08 11:13:41.396 7098-7232/com.pedro.streamer I/ACodec: [OMX.uapi.video.encoder.avc] cannot encode HDR static metadata. Ignoring. 2023-11-08 11:13:41.396 7098-7232/com.pedro.streamer I/ACodec: setupVideoEncoder succeeded 2023-11-08 11:13:41.397 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:13:41.397 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:13:41.397 7098-7232/com.pedro.streamer W/OMXUtils: do not know color format 0x7f000789 = 2130708361 2023-11-08 11:13:41.397 2624-3450 E/OMX_VENC: get_config_data(4923): get_config: unknown index 0x6f800005 2023-11-08 11:13:41.397 2624-3450 E/OMXNodeInstance: getConfig(0xf0c81510:uapi.encoder.avc, ConfigLatency(0x6f800005)) ERROR: BadParameter(0x80001005) 2023-11-08 11:13:41.398 7098-7232/com.pedro.streamer D/ACodec: 0xb4000070979dd9b0 [OMX.uapi.video.encoder.avc] input format is AMessage(what = 0x00000000) = { string mime = "video/raw" int32_t stride = 1440 int32_t slice-height = 2560 int32_t color-format = 2130708361 int32_t width = 1440 int32_t height = 2560 } 2023-11-08 11:13:41.398 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.prepareForAdaptivePlayback not implemented! 2023-11-08 11:13:41.398 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.configureVideoTunnelMode not implemented! 2023-11-08 11:13:41.398 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.useAndroidNativeBuffer not implemented! 2023-11-08 11:13:41.398 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.enableAndroidNativeBuffers not implemented! 2023-11-08 11:13:41.398 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.allocateNativeHandle not implemented! 2023-11-08 11:13:41.398 2624-3450 E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.getAndroidNativeBufferUsage not implemented! 2023-11-08 11:13:41.401 2624-3450 E/OMX_VENC: get_config_data(4923): get_config: unknown index 0x6f60000a 2023-11-08 11:13:41.401 2624-3450 E/OMXNodeInstance: getConfig(0xf0c81510:uapi.encoder.avc, ConfigAndroidIntraRefresh(0x6f60000a)) ERROR: BadParameter(0x80001005) 2023-11-08 11:13:41.402 2624-3450 E/OMX_VENC: get_parameter(3920): get_param: unknown param 06000006 2023-11-08 11:13:41.402 2624-3450 E/OMXNodeInstance: getParameter(0xf0c81510:uapi.encoder.avc, ParamVideoIntraRefresh(0x6000006)) ERROR: UnsupportedIndex(0x8000101a) 2023-11-08 11:13:41.402 7098-7232/com.pedro.streamer D/ACodec: 0xb4000070979dd9b0 [OMX.uapi.video.encoder.avc] output format is AMessage(what = 0x00000000) = { int32_t bitrate = 1228800 int32_t max-bitrate = 1228800 int32_t frame-rate = 30 string mime = "video/avc" int32_t width = 1440 int32_t height = 2560 } 2023-11-08 11:13:41.406 7098-7232/com.pedro.streamer D/ACodec: 0xb400006fd7b26dd0 onCreateInputSurface 2023-11-08 11:13:41.408 2624-3450 D/OMX_VENC: set_parameter_metadata_buffer(4391): set store matedata: 1 2023-11-08 11:13:41.408 2624-3450 E/OMX_VENC: get_parameter(3920): get_param: unknown param 6f800004 2023-11-08 11:13:41.408 2624-3450 E/OMXNodeInstance: getParameter(0xf0c81510:uapi.encoder.avc, ParamConsumerUsageBits(0x6f800004)) ERROR: UnsupportedIndex(0x8000101a) 2023-11-08 11:13:41.408 2624-3450 D/GraphicBufferSource: setting dataspace: 0x104, acquired=0 2023-11-08 11:13:41.408 2624-3450 E/OMX_VENC: get_parameter(3920): get_param: unknown param 6f800004 2023-11-08 11:13:41.408 2624-3450 E/OMXNodeInstance: getParameter(0xf0c81510:uapi.encoder.avc, ParamConsumerUsageBits(0x6f800004)) ERROR: UnsupportedIndex(0x8000101a) 2023-11-08 11:13:41.409 2624-3450 D/GraphicBufferSource: requesting color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) 2023-11-08 11:13:41.409 7098-7098/com.pedro.streamer D/MediaCodec: (vid)createInputSurface() 0xb400006fc8239890 2023-11-08 11:13:41.410 7098-7098/com.pedro.streamer I/VideoEncoder: prepared 2023-11-08 11:13:41.413 7098-7098/com.pedro.streamer I/VideoEncoder: started 2023-11-08 11:13:41.413 7098-7098/com.pedro.streamer D/MediaCodec: 0xb4000070f7a77ae0 (vid)start() 2023-11-08 11:13:41.413 7098-7098/com.pedro.streamer D/MediaCodec: keep callback message for reclaim 2023-11-08 11:13:41.413 7098-7232/com.pedro.streamer D/ACodec: 0xb400006fd7b26dd0 onStart, componentName:OMX.uapi.video.encoder.avc. 2023-11-08 11:13:41.414 2624-7233 E/OMX_VENC: channel_create(364): channel create failed: 0x801d0002 2023-11-08 11:13:41.414 2624-7233 E/OMX_VENC: handle_command_state_set_loaded(2441): ERROR: channel create failed! 2023-11-08 11:13:41.414 7098-7232/com.pedro.streamer D/ACodec: 0xb400006fd7b59010 [OMX.uapi.video.encoder.avc] Now Loaded->Idle 1970-01-01 08:10:14.590 0-0 W/[pid:7233,cpu1,venc_event_thre]11-08 11: 13:41.414 [ERROR-SOC_VENC]:check_pic_size[240]:picture max resolution: width(1440) or heigth(2560) too large. 1970-01-01 08:10:14.590 0-0 W/[pid:7233,cpu1,venc_event_thre]11-08 11: 13:41.414 [ERROR-SOC_VENC]:check_chan_created_attr[389]:check_pic_size failed 2023-11-08 11:13:41.414 7098-7232/com.pedro.streamer D/ACodec: 0xb4000070979dd9b0 [OMX.uapi.video.encoder.avc] Allocating 6 buffers of size 5529600 (from 5529600 using PresetByteBuffer) on input port 2023-11-08 11:13:41.419 2535-2535 I/xbhhwmw@1.0-ser: type=1400 audit(0.0:1144): avc: denied { ioctl } for path="/dev/soc_sys" dev="tmpfs" ino=490 ioctlcmd=0x3a5 scontext=u:r:hal_xbhhwmw_default:s0 tcontext=u:object_r:soc_sys_device:s0 tclass=chr_file permissive=1 2023-11-08 11:13:41.424 2624-3450 E/OMXNodeInstance: allocateBuffer(0xf0c81510:uapi.encoder.avc, Input:0 8@0xedd49000) ERROR: IncorrectStateOperation(0x80001018) 2023-11-08 11:13:41.424 7098-7232/com.pedro.streamer E/ACodec: Failed to allocate buffers after transitioning to IDLE state (error 0x80000000) 2023-11-08 11:13:41.424 7098-7232/com.pedro.streamer E/ACodec: signalError(omxError 0x80001001, internalError -2147483648) 2023-11-08 11:13:41.424 7098-7231/com.pedro.streamer E/MediaCodec: 0xb4000070f7a77ae0 Codec reported err 0x80001001, actionCode 0, while in state 5/STARTING 2023-11-08 11:13:41.425 2624-7233 D/OMX_VENC: handle_command_state_set_loaded(2468): ERROR: Loaded-->Loaded 2023-11-08 11:13:41.425 7098-7232/com.pedro.streamer D/ACodec: 0xb4000070979dd9b0 [OMX.uapi.video.encoder.avc] freeBuffer mBufferID:0 mStatus:0 index 0 on input 2023-11-08 11:13:41.425 2624-3450 W/OMXNodeInstance: [0xf0c81510:uapi.encoder.avc] Attempt to remove an active buffer [0] we know nothing about... 2023-11-08 11:13:41.425 2624-3450 E/OMXNodeInstance: b/25884056 2023-11-08 11:13:41.425 7098-7232/com.pedro.streamer D/ACodec: 0xb400006fd7b26dd0 [OMX.uapi.video.encoder.avc] Now Loaded 2023-11-08 11:13:41.426 7098-7232/com.pedro.streamer E/ACodec: [OMX.uapi.video.encoder.avc] ERROR(0x80001009) 2023-11-08 11:13:41.426 7098-7232/com.pedro.streamer E/ACodec: signalError(omxError 0x80001009, internalError -2147483648) 2023-11-08 11:13:41.426 7098-7232/com.pedro.streamer E/ACodec: [OMX.uapi.video.encoder.avc] ERROR(0x80001012) 2023-11-08 11:13:41.426 7098-7232/com.pedro.streamer E/ACodec: signalError(omxError 0x80001012, internalError -2147483648) 2023-11-08 11:13:41.426 7098-7098/com.pedro.streamer D/AndroidRuntime: Shutting down VM 2023-11-08 11:13:41.426 7098-7231/com.pedro.streamer E/MediaCodec: 0xb4000070f7a77ae0 Codec reported err 0x80001009, actionCode 0, while in state 0/UNINITIALIZED 2023-11-08 11:13:41.426 7098-7231/com.pedro.streamer E/MediaCodec: 0xb4000070f7a77ae0 Codec reported err 0x80001012, actionCode 0, while in state 0/UNINITIALIZED

--------- beginning of crash

2023-11-08 11:13:41.431 7098-7098/com.pedro.streamer E/AndroidRuntime: FATAL EXCEPTION: main Process: com.pedro.streamer, PID: 7098 android.media.MediaCodec$CodecException: start failed at android.media.MediaCodec.native_start(Native Method) at android.media.MediaCodec.start(MediaCodec.java:2284) at com.pedro.encoder.BaseEncoder.initCodec(BaseEncoder.java:79) at com.pedro.encoder.BaseEncoder.start(BaseEncoder.java:65) at com.pedro.library.base.Camera2Base.startEncoders(Camera2Base.java:646) at com.pedro.library.base.Camera2Base.startStream(Camera2Base.java:637) at com.pedro.streamer.surfacemodeexample.SurfaceModeRtmpActivity.onClick(SurfaceModeRtmpActivity.java:155) at android.view.View.performClick(View.java:7447) at android.view.View.performClickInternal(View.java:7424) at android.view.View.access$3700(View.java:841) at android.view.View$PerformClick.run(View.java:28728) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7869) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1068) 2023-11-08 11:13:41.438 2492-7176 I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_ACK$sid_cb0$ProcessBuffer$0$34816$611102 2023-11-08 11:13:41.438 2492-7176 I/Default: SteamOutAckHandle<664>: SteamOutAckHandle: timeOut: 393, m_sdkSeq: 425 2023-11-08 11:13:41.438 2492-7176 I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_ACK$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:13:41.438 2492-7176 I/Default: BufferLoopSdkAckHandle<685>: BufferLoopSdkAckHandle: m_bufferLoopSdkSeqQ: 131, m_bufferLoopSdkSeqA: 132 2023-11-08 11:13:41.438 2492-7176 I/Default: BufferLoopSdkAckHandle<694>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:13:41.438 2492-7176 I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_REQUEST$sid_cb0$ProcessBuffer$34816$0$611102 2023-11-08 11:13:41.438 2492-7176 I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_REQUEST$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:13:41.438 2906-7239/system_process I/DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2 2023-11-08 11:13:41.439 2906-4266/system_process W/ActivityTaskManager: Force finishing activity com.pedro.streamer/.surfacemodeexample.SurfaceModeRtmpActivity 2023-11-08 11:13:41.444 2554-2554 I/SurfaceFlinger: use default display when capturing special layers 2023-11-08 11:13:41.444 2554-2554 I/SurfaceFlinger: captureMode:1, fall back to aosp solution 2023-11-08 11:13:41.453 2492-7180 I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_ACK$ReceiveFrameThr$FillAckMsg$0$131$0$0 2023-11-08 11:13:41.453 2492-7180 I/Default: BufferLoopDriverAckHandle<715>: BufferLoopDriverAckHandle: back().requestSeq: 134, front().requestSeq: 132 2023-11-08 11:13:41.453 2492-7180 I/Default: BufferLoopDriverAckHandle<725>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:13:41.454 2492-7188 W/TimeMonitor: GetData<87>: DataInfoStdType 261 isn't set, return default value! 2023-11-08 11:13:41.454 2492-2945 I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_REQUEST$videoDriverReq$HandleMsgStreamRequest$135$0$0$0 2023-11-08 11:13:41.457 2492-7174 I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_ACK$ImageStream$OnImageBufferDone$0$131$0$0 2023-11-08 11:13:41.457 2492-7174 I/Default: BufferLoopAckHandle<753>: BufferLoopAckHandle: m_bufferLoopSeqQ: 448, m_bufferLoopSeqA: 441, target->ackSeq: 131, target->streamId: 0 , maxSeq: 138, minSeq: 132 2023-11-08 11:13:41.457 2492-7174 I/Default: BufferLoopAckHandle<768>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:13:41.473 2906-2952/system_process D/ActivityManager: xbh 崩溃重启 2023-11-08 11:13:41.475 7098-7098/com.pedro.streamer I/Process: Sending signal. PID: 7098 SIG: 9

25273ca90fc3d3820c8949a5eeb6aed When I used this device for testing, I used rtmpcamera2 and set the resolution to 1920*1080. Could I not push the stream? Is there any device limitation? Please post my log below

2023-11-08 11:45:20.794 8725-8725/com.pedro.streamer D/MediaCodec: video:true, format:AMessage(what = 0x00000000) = { int32_t color-format = 2130708361 int32_t i-frame-interval = 2 string mime = "video/avc" int32_t width = 1080 int32_t bitrate = 1228800 int32_t max-input-size = 0 int32_t frame-rate = 30 int32_t height = 1920 } 2023-11-08 11:45:20.795 8725-8725/com.pedro.streamer D/VQApply: raise bitrate: configured 1228800 to floor 3939840 2023-11-08 11:45:20.795 8725-8725/com.pedro.streamer D/VQApply: minquality: requested QP unsupported, boost bitrate 3939840 by 787968 2023-11-08 11:45:20.795 8725-8725/com.pedro.streamer D/VQApply: minquality/target bitrate raised from 1228800 to 4727808 bps 2023-11-08 11:45:20.795 8725-8725/com.pedro.streamer D/MediaCodec: shapeMediaFormat: deltas(2): AMessage(what = 0x00000000) = { int32_t bitrate = 4727808 int32_t android._encoding-quality-level = 0 } 2023-11-08 11:45:20.795 8725-9532/com.pedro.streamer D/ACodec: 0xb400006fd7a46650 onConfigureComponent 2023-11-08 11:45:20.796 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.enableAndroidNativeBuffers not implemented! 2023-11-08 11:45:20.796 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.allocateNativeHandle not implemented! 2023-11-08 11:45:20.796 2624-6292/? D/OMX_VENC: set_parameter_metadata_buffer(4391): set store matedata: 0 2023-11-08 11:45:20.796 2624-3450/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.enableAndroidNativeBuffers not implemented! 2023-11-08 11:45:20.796 2624-3450/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.allocateNativeHandle not implemented! 2023-11-08 11:45:20.796 2624-3450/? E/OMX_VENC: set_parameter_metadata_buffer(4381): set_parameter: Bad port index 1 2023-11-08 11:45:20.796 2624-3450/? E/OMXNodeInstance: setParameter(0xf0c801d0:uapi.encoder.avc, OMX.google.android.index.storeMetaDataInBuffers(0x7f000010): Output:1 en=0 type=1) ERROR: BadPortIndex(0x8000101b) 2023-11-08 11:45:20.797 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:45:20.797 2624-3450/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:45:20.797 2624-3450/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:45:20.798 2624-3450/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:45:20.798 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:45:20.798 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:45:20.798 8725-9532/com.pedro.streamer W/OMXUtils: do not know color format 0x19 = 25 2023-11-08 11:45:20.799 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:45:20.799 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:45:20.799 8725-9532/com.pedro.streamer W/OMXUtils: do not know color format 0x1a = 26 2023-11-08 11:45:20.800 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:45:20.800 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:45:20.800 8725-9532/com.pedro.streamer W/OMXUtils: do not know color format 0x1b = 27 2023-11-08 11:45:20.800 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:45:20.800 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:45:20.801 8725-9532/com.pedro.streamer W/OMXUtils: do not know color format 0x18 = 24 2023-11-08 11:45:20.801 2624-3450/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:45:20.801 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:45:20.801 8725-9532/com.pedro.streamer W/OMXUtils: do not know color format 0x7fa30c00 = 2141391872 2023-11-08 11:45:20.802 2624-3450/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:45:20.802 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:45:20.802 8725-9532/com.pedro.streamer W/OMXUtils: do not know color format 0x10 = 16 2023-11-08 11:45:20.802 2624-3450/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:45:20.802 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:45:20.803 8725-9532/com.pedro.streamer W/OMXUtils: do not know color format 0xf = 15 2023-11-08 11:45:20.803 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat not implemented! 2023-11-08 11:45:20.803 2624-6292/? E/OMX_VENC: get_extension_index(5248): OMX.google.android.index.describeColorFormat2 not implemented! 2023-11-08 11:45:20.803 8725-9532/com.pedro.streamer W/OMXUtils: do not know color format 0x7f000789 = 2130708361 2023-11-08 11:45:20.804 2624-3450/? E/OMX_VENC: check_prot_define(3965): Input port stride must is 16-byte alignment 2023-11-08 11:45:20.804 2624-3450/? E/OMXNodeInstance: setParameter(0xf0c801d0:uapi.encoder.avc, ParamPortDefinition(0x2000001)) ERROR: BadParameter(0x80001005) 2023-11-08 11:45:20.804 8725-9532/com.pedro.streamer E/ACodec: [OMX.uapi.video.encoder.avc] failed to set input port definition parameters. 2023-11-08 11:45:20.804 8725-9532/com.pedro.streamer E/ACodec: configureCodec 2190 err=-22 2023-11-08 11:45:20.804 8725-9532/com.pedro.streamer E/ACodec: [OMX.uapi.video.encoder.avc] configureCodec returning error -22 2023-11-08 11:45:20.804 8725-9532/com.pedro.streamer E/ACodec: signalError(omxError 0x80001001, internalError -22) 2023-11-08 11:45:20.804 8725-9531/com.pedro.streamer E/MediaCodec: 0xb4000070f7b1f550 Codec reported err 0xffffffea, actionCode 0, while in state 3/CONFIGURING 2023-11-08 11:45:20.805 8725-8725/com.pedro.streamer E/MediaCodec: configure failed with err 0xffffffea, resetting... 2023-11-08 11:45:20.805 8725-8725/com.pedro.streamer D/MediaCodec: (vid)reset() 2023-11-08 11:45:20.805 8725-8725/com.pedro.streamer D/MediaCodec: (vid)release(), mCodec: 0xb4000070979f2b40, mLooper: 0xb4000070579f12f0 2023-11-08 11:45:20.805 2624-3450/? E/OMX_VENC: ext_rc_unload_lib(95): g_ext_rc_handle = NULL error 2023-11-08 11:45:20.808 2492-9221/? I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_ACK$sid_cb0$ProcessBuffer$0$63488$2510472 2023-11-08 11:45:20.808 2492-9221/? I/Default: SteamOutAckHandle<664>: SteamOutAckHandle: timeOut: 400, m_sdkSeq: 8344 2023-11-08 11:45:20.808 2492-9221/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_ACK$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:45:20.808 2492-9221/? I/Default: BufferLoopSdkAckHandle<685>: BufferLoopSdkAckHandle: m_bufferLoopSdkSeqQ: 2005, m_bufferLoopSdkSeqA: 2006 2023-11-08 11:45:20.808 2492-9221/? I/Default: BufferLoopSdkAckHandle<694>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:20.808 2492-9221/? I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_REQUEST$sid_cb0$ProcessBuffer$63488$0$2510472 2023-11-08 11:45:20.808 2492-9221/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_REQUEST$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:45:20.819 2492-9225/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_ACK$ReceiveFrameThr$FillAckMsg$0$2004$0$0 2023-11-08 11:45:20.819 2492-9225/? I/Default: BufferLoopDriverAckHandle<715>: BufferLoopDriverAckHandle: back().requestSeq: 2007, front().requestSeq: 2005 2023-11-08 11:45:20.819 2492-9225/? I/Default: BufferLoopDriverAckHandle<725>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:20.820 2492-2945/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_REQUEST$videoDriverReq$HandleMsgStreamRequest$2008$0$0$0 2023-11-08 11:45:20.820 2492-9233/? W/TimeMonitor: GetData<87>: DataInfoStdType 261 isn't set, return default value! 2023-11-08 11:45:20.823 2492-9219/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_ACK$ImageStream$OnImageBufferDone$0$2004$0$0 2023-11-08 11:45:20.823 2492-9219/? I/Default: BufferLoopAckHandle<753>: BufferLoopAckHandle: m_bufferLoopSeqQ: 7707, m_bufferLoopSeqA: 7700, target->ackSeq: 2004, target->streamId: 0 , maxSeq: 2011, minSeq: 2005 2023-11-08 11:45:20.823 2492-9219/? I/Default: BufferLoopAckHandle<768>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:20.839 2492-6231/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_REQUEST$HwBinder:2492_4$ProcessCaptureRequest$2012$0$0$0 2023-11-08 11:45:20.908 2492-9221/? I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_ACK$sid_cb0$ProcessBuffer$0$59392$2510572 2023-11-08 11:45:20.908 2492-9221/? I/Default: SteamOutAckHandle<664>: SteamOutAckHandle: timeOut: 400, m_sdkSeq: 8345 2023-11-08 11:45:20.908 2492-9221/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_ACK$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:45:20.908 2492-9221/? I/Default: BufferLoopSdkAckHandle<685>: BufferLoopSdkAckHandle: m_bufferLoopSdkSeqQ: 2006, m_bufferLoopSdkSeqA: 2007 2023-11-08 11:45:20.908 2492-9221/? I/Default: BufferLoopSdkAckHandle<694>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:20.908 2492-9221/? I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_REQUEST$sid_cb0$ProcessBuffer$59392$0$2510572 2023-11-08 11:45:20.908 2492-9221/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_REQUEST$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:45:20.924 2492-9225/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_ACK$ReceiveFrameThr$FillAckMsg$0$2005$0$0 2023-11-08 11:45:20.924 2492-9225/? I/Default: BufferLoopDriverAckHandle<715>: BufferLoopDriverAckHandle: back().requestSeq: 2008, front().requestSeq: 2006 2023-11-08 11:45:20.924 2492-9225/? I/Default: BufferLoopDriverAckHandle<725>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:20.925 2492-9233/? W/TimeMonitor: GetData<87>: DataInfoStdType 261 isn't set, return default value! 2023-11-08 11:45:20.925 2492-2945/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_REQUEST$videoDriverReq$HandleMsgStreamRequest$2009$0$0$0 2023-11-08 11:45:20.928 2492-9219/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_ACK$ImageStream$OnImageBufferDone$0$2005$0$0 2023-11-08 11:45:20.928 2492-9219/? I/Default: BufferLoopAckHandle<753>: BufferLoopAckHandle: m_bufferLoopSeqQ: 7708, m_bufferLoopSeqA: 7701, target->ackSeq: 2005, target->streamId: 0 , maxSeq: 2012, minSeq: 2006 2023-11-08 11:45:20.928 2492-9219/? I/Default: BufferLoopAckHandle<768>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:20.940 2492-6231/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_REQUEST$HwBinder:2492_4$ProcessCaptureRequest$2013$0$0$0 2023-11-08 11:45:21.008 2492-9221/? I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_ACK$sid_cb0$ProcessBuffer$0$22528$2510672 2023-11-08 11:45:21.008 2492-9221/? I/Default: SteamOutAckHandle<664>: SteamOutAckHandle: timeOut: 300, m_sdkSeq: 8346 2023-11-08 11:45:21.008 2492-9221/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_ACK$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:45:21.008 2492-9221/? I/Default: BufferLoopSdkAckHandle<685>: BufferLoopSdkAckHandle: m_bufferLoopSdkSeqQ: 2007, m_bufferLoopSdkSeqA: 2008 2023-11-08 11:45:21.008 2492-9221/? I/Default: BufferLoopSdkAckHandle<694>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:21.008 2492-9221/? I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_REQUEST$sid_cb0$ProcessBuffer$22528$0$2510672 2023-11-08 11:45:21.008 2492-9221/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_REQUEST$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:45:21.024 2492-9225/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_ACK$ReceiveFrameThr$FillAckMsg$0$2006$0$0 2023-11-08 11:45:21.024 2492-9225/? I/Default: BufferLoopDriverAckHandle<715>: BufferLoopDriverAckHandle: back().requestSeq: 2009, front().requestSeq: 2007 2023-11-08 11:45:21.024 2492-9225/? I/Default: BufferLoopDriverAckHandle<725>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:21.026 2492-9233/? W/TimeMonitor: GetData<87>: DataInfoStdType 261 isn't set, return default value! 2023-11-08 11:45:21.026 2492-2945/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_REQUEST$videoDriverReq$HandleMsgStreamRequest$2010$0$0$0 2023-11-08 11:45:21.029 2492-9219/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_ACK$ImageStream$OnImageBufferDone$0$2006$0$0 2023-11-08 11:45:21.029 2492-9219/? I/Default: BufferLoopAckHandle<753>: BufferLoopAckHandle: m_bufferLoopSeqQ: 7709, m_bufferLoopSeqA: 7702, target->ackSeq: 2006, target->streamId: 0 , maxSeq: 2013, minSeq: 2007 2023-11-08 11:45:21.029 2492-9219/? I/Default: BufferLoopAckHandle<768>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:21.040 2492-6231/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_REQUEST$HwBinder:2492_4$ProcessCaptureRequest$2014$0$0$0 2023-11-08 11:45:21.045 3498-3729/xbh.platform.middleware D/XbhInternalApi: getNfcId: 0 2023-11-08 11:45:21.096 2624-3450/? E/OMX_VENC: RC library deinit return: 0 2023-11-08 11:45:21.108 2492-9221/? I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_ACK$sid_cb0$ProcessBuffer$0$22528$2510772 2023-11-08 11:45:21.108 2492-9221/? I/Default: SteamOutAckHandle<664>: SteamOutAckHandle: timeOut: 100, m_sdkSeq: 8347 2023-11-08 11:45:21.108 2492-9221/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_ACK$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:45:21.108 2492-9221/? I/Default: BufferLoopSdkAckHandle<685>: BufferLoopSdkAckHandle: m_bufferLoopSdkSeqQ: 2008, m_bufferLoopSdkSeqA: 2009 2023-11-08 11:45:21.108 2492-9221/? I/Default: BufferLoopSdkAckHandle<694>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:21.108 2492-9221/? I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_REQUEST$sid_cb0$ProcessBuffer$22528$0$2510772 2023-11-08 11:45:21.108 2492-9221/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_REQUEST$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:45:21.110 8725-9532/com.pedro.streamer D/ACodec: 0xb400006fd7a46390 Now uninitialized 2023-11-08 11:45:21.116 8725-8725/com.pedro.streamer D/ACodec: 0xb400006fd7a46290 Now uninitialized 2023-11-08 11:45:21.117 8725-9532/com.pedro.streamer D/ACodec: 0xb400006fd7a46290 onAllocateComponent 2023-11-08 11:45:21.118 8725-9532/com.pedro.streamer I/OMXClient: IOmx service obtained 2023-11-08 11:45:21.119 2624-3450/? I/OMXStore: makeComponentInstance(OMX.uapi.video.encoder.avc) in android.hardwar process 2023-11-08 11:45:21.119 2624-3450/? D/SOCTOMX_CORE: OMX_GetHandle :: enter! 2023-11-08 11:45:21.119 2624-3450/? D/SOCTOMX_CORE: omx_get_handle_component :: component name:OMX.uapi.video.encoder.avc ! 2023-11-08 11:45:21.119 2624-3450/? D/SOCTOMX_CORE: omx_get_handle_load :: prepare to load libOMX.uapi.video.encoder.so 2023-11-08 11:45:21.119 2624-3450/? D/SOCTOMX_CORE: omx_get_handle_load :: load libOMX.uapi.video.encoder.so ok 2023-11-08 11:45:21.120 2906-7047/system_process E/BpfNetworkStats: get ifaceStats map fd failed: Operation not permitted 2023-11-08 11:45:21.122 2492-9225/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_ACK$ReceiveFrameThr$FillAckMsg$0$2007$0$0 2023-11-08 11:45:21.122 2492-9225/? I/Default: BufferLoopDriverAckHandle<715>: BufferLoopDriverAckHandle: back().requestSeq: 2010, front().requestSeq: 2008 2023-11-08 11:45:21.122 2492-9225/? I/Default: BufferLoopDriverAckHandle<725>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:21.124 2492-2945/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_REQUEST$videoDriverReq$HandleMsgStreamRequest$2011$0$0$0 2023-11-08 11:45:21.124 2492-9233/? W/TimeMonitor: GetData<87>: DataInfoStdType 261 isn't set, return default value! 2023-11-08 11:45:21.127 2624-3450/? E/OMX_VENC: RC library initial return: 0 2023-11-08 11:45:21.127 2624-3450/? E/OMX_VENC: ext_rc_load_lib(62): ext rc already loaded! 2023-11-08 11:45:21.127 2624-3450/? D/OMX_VENC: open_rc_lib(5893): RC initial successful. 2023-11-08 11:45:21.127 2492-9219/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_ACK$ImageStream$OnImageBufferDone$0$2007$0$0 2023-11-08 11:45:21.127 2492-9219/? I/Default: BufferLoopAckHandle<753>: BufferLoopAckHandle: m_bufferLoopSeqQ: 7710, m_bufferLoopSeqA: 7703, target->ackSeq: 2007, target->streamId: 0 , maxSeq: 2014, minSeq: 2008 2023-11-08 11:45:21.127 2492-9219/? I/Default: BufferLoopAckHandle<768>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:21.129 8725-9532/com.pedro.streamer D/ACodec: 0xb400006fd7a46650 [OMX.uapi.video.encoder.avc] Now Loaded 2023-11-08 11:45:21.130 8725-8725/com.pedro.streamer D/MediaCodec: (vid)setCallback(cb:AMessage(what = 0x00000000, target = 47) = { }) 2023-11-08 11:45:21.131 8725-9531/com.pedro.streamer I/MediaCodec: MediaCodec will operate in async mode 2023-11-08 11:45:21.134 8725-8725/com.pedro.streamer E/VideoEncoder: Create VideoEncoder failed. java.lang.IllegalArgumentException at android.media.MediaCodec.native_configure(Native Method) at android.media.MediaCodec.configure(MediaCodec.java:2176) at android.media.MediaCodec.configure(MediaCodec.java:2092) at com.pedro.encoder.video.VideoEncoder.prepareVideoEncoder(VideoEncoder.java:154) at com.pedro.library.base.Camera2Base.prepareVideo(Camera2Base.java:322) at com.pedro.library.base.Camera2Base.prepareVideo(Camera2Base.java:330) at com.pedro.library.base.Camera2Base.prepareVideo(Camera2Base.java:337) at com.pedro.library.base.Camera2Base.prepareVideo(Camera2Base.java:389) at com.pedro.streamer.surfacemodeexample.SurfaceModeRtmpActivity.onClick(SurfaceModeRtmpActivity.java:153) at android.view.View.performClick(View.java:7447) at android.view.View.performClickInternal(View.java:7424) at android.view.View.access$3700(View.java:841) at android.view.View$PerformClick.run(View.java:28728) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7869) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1068) 2023-11-08 11:45:21.134 8725-8725/com.pedro.streamer I/VideoEncoder: stopped 2023-11-08 11:45:21.134 8725-8725/com.pedro.streamer D/MediaCodec: 0xb4000070f7b1f550 (vid)flush() 2023-11-08 11:45:21.136 8725-8725/com.pedro.streamer D/MediaCodec: (vid)stop() 2023-11-08 11:45:21.136 8725-8725/com.pedro.streamer D/MediaCodec: (vid)releaseAsync(), mCodec: 0xb4000070979f2b40, mLooper: 0xb4000070579f12f0 2023-11-08 11:45:21.137 2624-3450/? E/OMX_VENC: ext_rc_unload_lib(95): g_ext_rc_handle = NULL error 2023-11-08 11:45:21.142 2492-6231/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_REQUEST$HwBinder:2492_4$ProcessCaptureRequest$2015$0$0$0 2023-11-08 11:45:21.147 8725-8725/com.pedro.streamer I/Choreographer: Skipped 44 frames! The application may be doing too much work on its main thread. 2023-11-08 11:45:21.195 2906-7047/system_process I/BaseAidl: executeFunc methodName: sendMsgToNonThroughTouch paramTypes: String, paramValues: action=2^id=a3022b0 Toast^className= ^pkgName=com.android.systemui^x=1405^y=1956^w=1029^h=132^gravity=0^type=2005^status=1^context=4kUi, 2023-11-08 11:45:21.195 2906-7047/system_process D/XBH: WindowManagerService relayoutWindow Name = a3022b0 Toast viewVisibility = 0 left = 1405 top = 1956 right = 2434 bottom = 2088 2023-11-08 11:45:21.208 2492-9221/? I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_ACK$sid_cb0$ProcessBuffer$0$63488$2510872 2023-11-08 11:45:21.208 2492-9221/? I/Default: SteamOutAckHandle<664>: SteamOutAckHandle: timeOut: 400, m_sdkSeq: 8348 2023-11-08 11:45:21.208 2492-9221/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_ACK$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:45:21.208 2492-9221/? I/Default: BufferLoopSdkAckHandle<685>: BufferLoopSdkAckHandle: m_bufferLoopSdkSeqQ: 2009, m_bufferLoopSdkSeqA: 2010 2023-11-08 11:45:21.208 2492-9221/? I/Default: BufferLoopSdkAckHandle<694>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:21.208 2492-9221/? I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_REQUEST$sid_cb0$ProcessBuffer$63488$0$2510872 2023-11-08 11:45:21.208 2492-9221/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_REQUEST$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:45:21.222 2492-9225/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_ACK$ReceiveFrameThr$FillAckMsg$0$2008$0$0 2023-11-08 11:45:21.222 2492-9225/? I/Default: BufferLoopDriverAckHandle<715>: BufferLoopDriverAckHandle: back().requestSeq: 2011, front().requestSeq: 2009 2023-11-08 11:45:21.222 2492-9225/? I/Default: BufferLoopDriverAckHandle<725>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:21.224 2492-9233/? W/TimeMonitor: GetData<87>: DataInfoStdType 261 isn't set, return default value! 2023-11-08 11:45:21.225 2492-2945/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_REQUEST$videoDriverReq$HandleMsgStreamRequest$2012$0$0$0 2023-11-08 11:45:21.227 2492-9219/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_ACK$ImageStream$OnImageBufferDone$0$2008$0$0 2023-11-08 11:45:21.227 2492-9219/? I/Default: BufferLoopAckHandle<753>: BufferLoopAckHandle: m_bufferLoopSeqQ: 7711, m_bufferLoopSeqA: 7704, target->ackSeq: 2008, target->streamId: 0 , maxSeq: 2015, minSeq: 2009 2023-11-08 11:45:21.227 2492-9219/? I/Default: BufferLoopAckHandle<768>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:21.240 2492-2570/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_REQUEST$HwBinder:2492_2$ProcessCaptureRequest$2016$0$0$0 2023-11-08 11:45:21.308 2492-9221/? I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_ACK$sid_cb0$ProcessBuffer$0$59392$2510972 2023-11-08 11:45:21.308 2492-9221/? I/Default: SteamOutAckHandle<664>: SteamOutAckHandle: timeOut: 400, m_sdkSeq: 8349 2023-11-08 11:45:21.308 2492-9221/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_ACK$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:45:21.308 2492-9221/? I/Default: BufferLoopSdkAckHandle<685>: BufferLoopSdkAckHandle: m_bufferLoopSdkSeqQ: 2010, m_bufferLoopSdkSeqA: 2011 2023-11-08 11:45:21.308 2492-9221/? I/Default: BufferLoopSdkAckHandle<694>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:21.308 2492-9221/? I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_REQUEST$sid_cb0$ProcessBuffer$59392$0$2510972 2023-11-08 11:45:21.308 2492-9221/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_REQUEST$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:45:21.323 2492-9225/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_ACK$ReceiveFrameThr$FillAckMsg$0$2009$0$0 2023-11-08 11:45:21.323 2492-9225/? I/Default: BufferLoopDriverAckHandle<715>: BufferLoopDriverAckHandle: back().requestSeq: 2012, front().requestSeq: 2010 2023-11-08 11:45:21.323 2492-9225/? I/Default: BufferLoopDriverAckHandle<725>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:21.324 2492-9233/? W/TimeMonitor: GetData<87>: DataInfoStdType 261 isn't set, return default value! 2023-11-08 11:45:21.325 2492-2945/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_REQUEST$videoDriverReq$HandleMsgStreamRequest$2013$0$0$0 2023-11-08 11:45:21.328 2492-9219/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_ACK$ImageStream$OnImageBufferDone$0$2009$0$0 2023-11-08 11:45:21.328 2492-9219/? I/Default: BufferLoopAckHandle<753>: BufferLoopAckHandle: m_bufferLoopSeqQ: 7712, m_bufferLoopSeqA: 7705, target->ackSeq: 2009, target->streamId: 0 , maxSeq: 2016, minSeq: 2010 2023-11-08 11:45:21.328 2492-9219/? I/Default: BufferLoopAckHandle<768>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:21.341 2492-6231/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_REQUEST$HwBinder:2492_4$ProcessCaptureRequest$2017$0$0$0 2023-11-08 11:45:21.408 2492-9221/? I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_ACK$sid_cb0$ProcessBuffer$0$22528$2511072 2023-11-08 11:45:21.408 2492-9221/? I/Default: SteamOutAckHandle<664>: SteamOutAckHandle: timeOut: 300, m_sdkSeq: 8350 2023-11-08 11:45:21.408 2492-9221/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_ACK$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:45:21.408 2492-9221/? I/Default: BufferLoopSdkAckHandle<685>: BufferLoopSdkAckHandle: m_bufferLoopSdkSeqQ: 2011, m_bufferLoopSdkSeqA: 2012 2023-11-08 11:45:21.408 2492-9221/? I/Default: BufferLoopSdkAckHandle<694>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:21.408 2492-9221/? I/Default: SteamOutFailHandle<470>: FMEA_STEAM_OUT_REQUEST$sid_cb0$ProcessBuffer$22528$0$2511072 2023-11-08 11:45:21.408 2492-9221/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_SDK_REQUEST$sid_cb0$ProcessBuffer$0$0$0$0 2023-11-08 11:45:21.419 2492-9225/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_ACK$ReceiveFrameThr$FillAckMsg$0$2010$0$0 2023-11-08 11:45:21.419 2492-9225/? I/Default: BufferLoopDriverAckHandle<715>: BufferLoopDriverAckHandle: back().requestSeq: 2013, front().requestSeq: 2011 2023-11-08 11:45:21.419 2492-9225/? I/Default: BufferLoopDriverAckHandle<725>: FMEA_BUFFER_LOOP_ERROR false 2023-11-08 11:45:21.421 2492-2945/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_DRIVER_REQUEST$videoDriverReq$HandleMsgStreamRequest$2014$0$0$0 2023-11-08 11:45:21.421 2492-9233/? W/TimeMonitor: GetData<87>: DataInfoStdType 261 isn't set, return default value! 2023-11-08 11:45:21.427 2492-9219/? I/Default: BufferLoopErrorHandle<550>: FMEA_BUFFER_LOOP_ACK$ImageStream$OnImageBufferDone$0$2010$0$0 2023-11-08 11:45:21.427 2492-9219/? I/Default: BufferLoopAckHandle<753>: BufferLoopAckHandle: m_bufferLoopSeqQ: 7713, m_bufferLoopSeqA: 7706, target->ackSeq: 2010, target->streamId: 0 , maxSeq: 2017, minSeq: 2011 2023-11-08 11:45:21.427 2492-9219/? I/Default: BufferLoopAckHandle<768>: FMEA_BUFFER_LOOP_ERROR false

pedroSG94 commented 1 year ago

Hello,

In both cases this seem an error because you are using invalid parameters in prepareVideo method. In both cases you are using this encoder selected by the library: OMX.uapi.video.encoder.avc

First of all we should check codecs provided by your device to know your limitations. You this method and share me the logcat:

for (String s: CodecUtil.showAllCodecsInfo()) {
      Log.e("Pedro", s);
}

Also, try to use a resolution provided by this methods (depend of camera used):

rtmpCamera2.getResolutionsBack();
rtmpCamera2.getResolutionsFront();
zhouqunhuang commented 1 year ago

According to the way you say it, report this error when I use it this way image image error log

android.media.MediaCodec$CodecException: start failed at android.media.MediaCodec.native_start(Native Method) at android.media.MediaCodec.start(MediaCodec.java:2284) at com.pedro.encoder.BaseEncoder.initCodec(BaseEncoder.java:79) at com.pedro.encoder.BaseEncoder.start(BaseEncoder.java:65) at com.pedro.library.base.Camera2Base.startEncoders(Camera2Base.java:646) at com.pedro.library.base.Camera2Base.startStream(Camera2Base.java:637) at com.pedro.streamer.surfacemodeexample.SurfaceModeRtmpActivity.onClick(SurfaceModeRtmpActivity.java:180) at android.view.View.performClick(View.java:7447) at android.view.View.performClickInternal(View.java:7424) at android.view.View.access$3700(View.java:841) at android.view.View$PerformClick.run(View.java:28728) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7869) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1068) 2023-11-08 18:44:03.124 2922-2988/system_process E/Process: Alden set sched policy pid:5460, tid:5590

2023-11-08 18:44:02.315 10467-10467/com.pedro.streamer E/SimpleCameraRender: onClick:后置 [1920x1080, 3840x2160]ssssss前置[] 2023-11-08 18:44:02.672 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.aac.decoder Type: audio/mp4a-latm Max instances: 32 ----- Decoder info -----


----- Audio info -----
Profile: 2, level: 0
Profile: 5, level: 0
Profile: 29, level: 0
Profile: 23, level: 0
Profile: 39, level: 0
Profile: 20, level: 0
Profile: 42, level: 0
Bitrate range: 8000 - 510000
Channels supported: 8
Supported sample rate: 
7350
8000
11025
12000
16000
22050
24000
32000
44100
48000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.672 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.aac.decoder Type: audio/mp4a-latm Max instances: 32 ----- Decoder info -----


----- Audio info -----
Profile: 2, level: 0
Profile: 5, level: 0
Profile: 29, level: 0
Profile: 23, level: 0
Profile: 39, level: 0
Profile: 20, level: 0
Profile: 42, level: 0
Bitrate range: 8000 - 510000
Channels supported: 8
Supported sample rate: 
7350
8000
11025
12000
16000
22050
24000
32000
44100
48000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.672 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.aac.encoder Type: audio/mp4a-latm Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: false VBR supported: true CQ supported: false


----- Audio info -----
Profile: 2, level: 0
Profile: 5, level: 0
Profile: 29, level: 0
Profile: 23, level: 0
Profile: 39, level: 0
Bitrate range: 8000 - 510000
Channels supported: 6
Supported sample rate: 
8000
11025
12000
16000
22050
24000
32000
44100
48000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.672 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.aac.encoder Type: audio/mp4a-latm Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: false VBR supported: true CQ supported: false


----- Audio info -----
Profile: 2, level: 0
Profile: 5, level: 0
Profile: 29, level: 0
Profile: 23, level: 0
Profile: 39, level: 0
Bitrate range: 8000 - 510000
Channels supported: 6
Supported sample rate: 
8000
11025
12000
16000
22050
24000
32000
44100
48000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.672 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.amrnb.decoder Type: audio/3gpp Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 4750 - 12200
Channels supported: 1
Supported sample rate: 
8000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.672 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.amrnb.decoder Type: audio/3gpp Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 4750 - 12200
Channels supported: 1
Supported sample rate: 
8000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.672 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.amrnb.encoder Type: audio/3gpp Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: true VBR supported: false CQ supported: false


----- Audio info -----
Bitrate range: 4750 - 12200
Channels supported: 1
Supported sample rate: 
8000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.672 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.amrnb.encoder Type: audio/3gpp Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: true VBR supported: false CQ supported: false


----- Audio info -----
Bitrate range: 4750 - 12200
Channels supported: 1
Supported sample rate: 
8000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.672 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.amrwb.decoder Type: audio/amr-wb Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 6600 - 23850
Channels supported: 1
Supported sample rate: 
16000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.672 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.amrwb.decoder Type: audio/amr-wb Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 6600 - 23850
Channels supported: 1
Supported sample rate: 
16000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.673 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.amrwb.encoder Type: audio/amr-wb Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: true VBR supported: false CQ supported: false


----- Audio info -----
Bitrate range: 6600 - 23850
Channels supported: 1
Supported sample rate: 
16000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.673 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.amrwb.encoder Type: audio/amr-wb Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: true VBR supported: false CQ supported: false


----- Audio info -----
Bitrate range: 6600 - 23850
Channels supported: 1
Supported sample rate: 
16000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.673 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.flac.decoder Type: audio/flac Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 1 - 21000000
Channels supported: 8
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.673 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.flac.decoder Type: audio/flac Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 1 - 21000000
Channels supported: 8
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.673 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.flac.encoder Type: audio/flac Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 8 Quality range: 0 - 0 CBR supported: false VBR supported: false CQ supported: true


----- Audio info -----
Bitrate range: 1 - 21000000
Channels supported: 2
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.673 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.flac.encoder Type: audio/flac Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 8 Quality range: 0 - 0 CBR supported: false VBR supported: false CQ supported: true


----- Audio info -----
Bitrate range: 1 - 21000000
Channels supported: 2
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.673 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.g711.alaw.decoder Type: audio/g711-alaw Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 64000 - 64000
Channels supported: 6
Supported sample rate: 
8000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.673 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.g711.alaw.decoder Type: audio/g711-alaw Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 64000 - 64000
Channels supported: 6
Supported sample rate: 
8000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.673 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.g711.mlaw.decoder Type: audio/g711-mlaw Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 64000 - 64000
Channels supported: 6
Supported sample rate: 
8000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.673 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.g711.mlaw.decoder Type: audio/g711-mlaw Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 64000 - 64000
Channels supported: 6
Supported sample rate: 
8000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.673 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.mp3.decoder Type: audio/mpeg Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 8000 - 320000
Channels supported: 2
Supported sample rate: 
8000
11025
12000
16000
22050
24000
32000
44100
48000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.673 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.mp3.decoder Type: audio/mpeg Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 8000 - 320000
Channels supported: 2
Supported sample rate: 
8000
11025
12000
16000
22050
24000
32000
44100
48000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.673 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.opus.decoder Type: audio/opus Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 6000 - 510000
Channels supported: 8
Supported sample rate: 
8000
12000
16000
24000
48000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.674 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.opus.decoder Type: audio/opus Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 6000 - 510000
Channels supported: 8
Supported sample rate: 
8000
12000
16000
24000
48000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.674 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.opus.encoder Type: audio/opus Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 10 Quality range: 0 - 0 CBR supported: true VBR supported: true CQ supported: false


----- Audio info -----
Bitrate range: 6000 - 510000
Channels supported: 2
Supported sample rate: 
8000
12000
16000
24000
48000
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.674 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.raw.decoder Type: audio/raw Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 1 - 10000000
Channels supported: 8
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.674 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.raw.decoder Type: audio/raw Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 1 - 10000000
Channels supported: 8
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.674 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.vorbis.decoder Type: audio/vorbis Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 32000 - 500000
Channels supported: 8
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.674 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.vorbis.decoder Type: audio/vorbis Max instances: 32 ----- Decoder info -----


----- Audio info -----
Bitrate range: 32000 - 500000
Channels supported: 8
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.674 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.audio.decoder.ac3

2023-11-08 18:44:02.674 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.audio.decoder.eac3

2023-11-08 18:44:02.674 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.av1

2023-11-08 18:44:02.674 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.av1.secure

2023-11-08 18:44:02.674 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.avc Type: video/avc Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 8, level: 524288
Profile: 524288, level: 524288
Profile: 8, level: 262144
Profile: 524288, level: 262144
Profile: 8, level: 131072
Profile: 524288, level: 131072
Profile: 8, level: 65536
Profile: 524288, level: 65536
Profile: 8, level: 32768
Profile: 524288, level: 32768
Profile: 8, level: 16384
Profile: 524288, level: 16384
Profile: 8, level: 8192
Profile: 524288, level: 8192
Profile: 8, level: 4096
Profile: 524288, level: 4096
Profile: 8, level: 2048
Profile: 524288, level: 2048
Profile: 8, level: 1024
Profile: 524288, level: 1024
Profile: 8, level: 512
Profile: 524288, level: 512
Profile: 8, level: 256
Profile: 524288, level: 256
Profile: 8, level: 128
Profile: 524288, level: 128
Profile: 8, level: 64
Profile: 524288, level: 64
Profile: 8, level: 32
Profile: 524288, level: 32
Profile: 8, level: 16
Profile: 524288, level: 16
Profile: 8, level: 8
Profile: 524288, level: 8
Profile: 8, level: 4
Profile: 524288, level: 4
Profile: 8, level: 2
Profile: 524288, level: 2
Profile: 8, level: 1
Profile: 524288, level: 1
Profile: 2, level: 524288
Profile: 2, level: 262144
Profile: 2, level: 131072
Profile: 2, level: 65536
Profile: 2, level: 32768
Profile: 2, level: 16384
Profile: 2, level: 8192
Profile: 2, level: 4096
Profile: 2, level: 2048
Profile: 2, level: 1024
Profile: 2, level: 512
Profile: 2, level: 256
Profile: 2, level: 128
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 128 - 4096
Height range: 128 - 2304
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.674 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.avc.secure Type: video/avc Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 8, level: 524288
Profile: 524288, level: 524288
Profile: 8, level: 262144
Profile: 524288, level: 262144
Profile: 8, level: 131072
Profile: 524288, level: 131072
Profile: 8, level: 65536
Profile: 524288, level: 65536
Profile: 8, level: 32768
Profile: 524288, level: 32768
Profile: 8, level: 16384
Profile: 524288, level: 16384
Profile: 8, level: 8192
Profile: 524288, level: 8192
Profile: 8, level: 4096
Profile: 524288, level: 4096
Profile: 8, level: 2048
Profile: 524288, level: 2048
Profile: 8, level: 1024
Profile: 524288, level: 1024
Profile: 8, level: 512
Profile: 524288, level: 512
Profile: 8, level: 256
Profile: 524288, level: 256
Profile: 8, level: 128
Profile: 524288, level: 128
Profile: 8, level: 64
Profile: 524288, level: 64
Profile: 8, level: 32
Profile: 524288, level: 32
Profile: 8, level: 16
Profile: 524288, level: 16
Profile: 8, level: 8
Profile: 524288, level: 8
Profile: 8, level: 4
Profile: 524288, level: 4
Profile: 8, level: 2
Profile: 524288, level: 2
Profile: 8, level: 1
Profile: 524288, level: 1
Profile: 2, level: 524288
Profile: 2, level: 262144
Profile: 2, level: 131072
Profile: 2, level: 65536
Profile: 2, level: 32768
Profile: 2, level: 16384
Profile: 2, level: 8192
Profile: 2, level: 4096
Profile: 2, level: 2048
Profile: 2, level: 1024
Profile: 2, level: 512
Profile: 2, level: 256
Profile: 2, level: 128
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 128 - 4096
Height range: 128 - 2304
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.674 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.avs Type: video/avs Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 0, level: 0
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 64 - 1920
Height range: 64 - 1088
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.674 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.avs.secure Type: video/avs Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 0, level: 0
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 64 - 1920
Height range: 64 - 1088
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.674 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.avs2 Type: video/avs2 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 0, level: 0
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 64 - 8192
Height range: 64 - 4672
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.675 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.avs2.secure Type: video/avs2 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 0, level: 0
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 64 - 8192
Height range: 64 - 4672
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.675 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.avs3 Type: video/avs3 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 0, level: 0
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 64 - 8192
Height range: 64 - 4672
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.675 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.avs3.secure Type: video/avs3 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 0, level: 0
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 64 - 8192
Height range: 64 - 4672
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.675 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.dolby-vision Type: video/dolby-vision Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 1, level: 1
Profile: 1, level: 2
Profile: 1, level: 4
Profile: 1, level: 8
Profile: 1, level: 16
Profile: 1, level: 32
Profile: 1, level: 64
Profile: 2, level: 1
Profile: 2, level: 2
Profile: 2, level: 4
Profile: 2, level: 8
Profile: 2, level: 16
Profile: 2, level: 32
Profile: 2, level: 64
Profile: 4, level: 1
Profile: 4, level: 2
Profile: 4, level: 4
Profile: 4, level: 8
Profile: 4, level: 16
Profile: 4, level: 32
Profile: 4, level: 64
Profile: 4, level: 128
Profile: 4, level: 256
Profile: 8, level: 1
Profile: 8, level: 2
Profile: 8, level: 4
Profile: 8, level: 8
Profile: 8, level: 16
Profile: 8, level: 32
Profile: 8, level: 64
Profile: 8, level: 128
Profile: 8, level: 256
Profile: 16, level: 1
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 128 - 4096
Height range: 128 - 2160
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.675 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.dolby-vision.secure Type: video/dolby-vision Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 1, level: 1
Profile: 1, level: 2
Profile: 1, level: 4
Profile: 1, level: 8
Profile: 1, level: 16
Profile: 1, level: 32
Profile: 1, level: 64
Profile: 2, level: 1
Profile: 2, level: 2
Profile: 2, level: 4
Profile: 2, level: 8
Profile: 2, level: 16
Profile: 2, level: 32
Profile: 2, level: 64
Profile: 4, level: 1
Profile: 4, level: 2
Profile: 4, level: 4
Profile: 4, level: 8
Profile: 4, level: 16
Profile: 4, level: 32
Profile: 4, level: 64
Profile: 4, level: 128
Profile: 4, level: 256
Profile: 8, level: 1
Profile: 8, level: 2
Profile: 8, level: 4
Profile: 8, level: 8
Profile: 8, level: 16
Profile: 8, level: 32
Profile: 8, level: 64
Profile: 8, level: 128
Profile: 8, level: 256
Profile: 16, level: 1
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 128 - 4096
Height range: 128 - 2160
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.675 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.hevc Type: video/hevc Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 1, level: 1
Profile: 1, level: 2
Profile: 1, level: 4
Profile: 1, level: 8
Profile: 1, level: 16
Profile: 1, level: 32
Profile: 1, level: 64
Profile: 1, level: 128
Profile: 1, level: 256
Profile: 1, level: 512
Profile: 1, level: 1024
Profile: 1, level: 2048
Profile: 1, level: 4096
Profile: 1, level: 8192
Profile: 1, level: 16384
Profile: 1, level: 32768
Profile: 1, level: 65536
Profile: 2, level: 16
Profile: 2, level: 64
Profile: 2, level: 256
Profile: 2, level: 1024
Profile: 2, level: 4096
Profile: 2, level: 16384
Profile: 2, level: 65536
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 128 - 4096
Height range: 128 - 2304
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.676 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.hevc.secure Type: video/hevc Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 1, level: 1
Profile: 1, level: 2
Profile: 1, level: 4
Profile: 1, level: 8
Profile: 1, level: 16
Profile: 1, level: 32
Profile: 1, level: 64
Profile: 1, level: 128
Profile: 1, level: 256
Profile: 1, level: 512
Profile: 1, level: 1024
Profile: 1, level: 2048
Profile: 1, level: 4096
Profile: 1, level: 8192
Profile: 1, level: 16384
Profile: 1, level: 32768
Profile: 1, level: 65536
Profile: 2, level: 16
Profile: 2, level: 64
Profile: 2, level: 256
Profile: 2, level: 1024
Profile: 2, level: 4096
Profile: 2, level: 16384
Profile: 2, level: 65536
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 128 - 4096
Height range: 128 - 2304
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.676 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.mpeg Type: video/mpeg Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 0, level: 0
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 64 - 1920
Height range: 64 - 1088
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.676 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.mpeg.secure Type: video/mpeg Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 0, level: 0
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 64 - 1920
Height range: 64 - 1088
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.676 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.mpeg2 Type: video/mpeg2 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 0, level: 0
Profile: 0, level: 1
Profile: 0, level: 2
Profile: 0, level: 3
Profile: 1, level: 0
Profile: 1, level: 1
Profile: 1, level: 2
Profile: 1, level: 3
Profile: 5, level: 0
Profile: 5, level: 1
Profile: 5, level: 2
Profile: 5, level: 3
Bitrate range: 1 - 83886080
Frame rate range: 12 - 60
Width range: 128 - 1920
Height range: 128 - 1088
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.676 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.mpeg2.secure Type: video/mpeg2 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 0, level: 0
Profile: 0, level: 1
Profile: 0, level: 2
Profile: 0, level: 3
Profile: 1, level: 0
Profile: 1, level: 1
Profile: 1, level: 2
Profile: 1, level: 3
Profile: 5, level: 0
Profile: 5, level: 1
Profile: 5, level: 2
Profile: 5, level: 3
Bitrate range: 1 - 83886080
Frame rate range: 12 - 60
Width range: 128 - 1920
Height range: 128 - 1088
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.676 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.mpeg4 Type: video/mp4v-es Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 1, level: 1
Profile: 1, level: 2
Profile: 1, level: 4
Profile: 1, level: 8
Profile: 1, level: 16
Profile: 1, level: 32
Profile: 1, level: 64
Profile: 1, level: 128
Profile: 32768, level: 1
Profile: 32768, level: 2
Profile: 32768, level: 4
Profile: 32768, level: 8
Profile: 32768, level: 16
Profile: 32768, level: 32
Profile: 32768, level: 64
Profile: 32768, level: 128
Bitrate range: 1 - 8000000
Frame rate range: 12 - 60
Width range: 128 - 896
Height range: 128 - 896
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.676 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.mpeg4.secure Type: video/mp4v-es Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 1, level: 1
Profile: 1, level: 2
Profile: 1, level: 4
Profile: 1, level: 8
Profile: 1, level: 16
Profile: 1, level: 32
Profile: 1, level: 64
Profile: 1, level: 128
Profile: 32768, level: 1
Profile: 32768, level: 2
Profile: 32768, level: 4
Profile: 32768, level: 8
Profile: 32768, level: 16
Profile: 32768, level: 32
Profile: 32768, level: 64
Profile: 32768, level: 128
Bitrate range: 1 - 8000000
Frame rate range: 12 - 60
Width range: 128 - 896
Height range: 128 - 896
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.676 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.vc1 Type: video/vc1 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 1, level: 1
Profile: 1, level: 2
Profile: 1, level: 3
Profile: 1, level: 4
Profile: 1, level: 5
Profile: 1, level: 6
Profile: 1, level: 7
Profile: 1, level: 8
Profile: 2, level: 1
Profile: 2, level: 2
Profile: 2, level: 3
Profile: 2, level: 4
Profile: 2, level: 5
Profile: 2, level: 6
Profile: 2, level: 7
Profile: 2, level: 8
Profile: 3, level: 1
Profile: 3, level: 2
Profile: 3, level: 3
Profile: 3, level: 4
Profile: 3, level: 5
Profile: 3, level: 6
Profile: 3, level: 7
Profile: 3, level: 8
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 64 - 1920
Height range: 64 - 1088
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.676 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.vc1.secure Type: video/vc1 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 1, level: 1
Profile: 1, level: 2
Profile: 1, level: 3
Profile: 1, level: 4
Profile: 1, level: 5
Profile: 1, level: 6
Profile: 1, level: 7
Profile: 1, level: 8
Profile: 2, level: 1
Profile: 2, level: 2
Profile: 2, level: 3
Profile: 2, level: 4
Profile: 2, level: 5
Profile: 2, level: 6
Profile: 2, level: 7
Profile: 2, level: 8
Profile: 3, level: 1
Profile: 3, level: 2
Profile: 3, level: 3
Profile: 3, level: 4
Profile: 3, level: 5
Profile: 3, level: 6
Profile: 3, level: 7
Profile: 3, level: 8
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 64 - 1920
Height range: 64 - 1088
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.676 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.vp6 Type: video/x-vnd.on2.vp6 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 0, level: 0
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 128 - 1920
Height range: 128 - 1088
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.676 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.vp6.secure Type: video/x-vnd.on2.vp6 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 0, level: 0
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 128 - 1920
Height range: 128 - 1088
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.676 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.vp8 Type: video/x-vnd.on2.vp8 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 1, level: 1
Profile: 1, level: 2
Profile: 1, level: 4
Profile: 1, level: 8
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 128 - 1920
Height range: 128 - 1088
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.676 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.vp8.secure Type: video/x-vnd.on2.vp8 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 1, level: 1
Profile: 1, level: 2
Profile: 1, level: 4
Profile: 1, level: 8
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 128 - 1920
Height range: 128 - 1088
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.677 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.vp9 Type: video/x-vnd.on2.vp9 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 1, level: 1
Profile: 1, level: 2
Profile: 1, level: 4
Profile: 1, level: 8
Profile: 1, level: 16
Profile: 1, level: 32
Profile: 1, level: 64
Profile: 1, level: 128
Profile: 1, level: 256
Profile: 1, level: 512
Bitrate range: 1 - 104857600
Frame rate range: 0 - 960
Width range: 128 - 4096
Height range: 128 - 2160
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.677 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.decoder.vp9.secure Type: video/x-vnd.on2.vp9 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
21
Profile: 1, level: 1
Profile: 1, level: 2
Profile: 1, level: 4
Profile: 1, level: 8
Profile: 1, level: 16
Profile: 1, level: 32
Profile: 1, level: 64
Profile: 1, level: 128
Profile: 1, level: 256
Profile: 1, level: 512
Bitrate range: 1 - 52428800
Frame rate range: 0 - 960
Width range: 128 - 4096
Height range: 128 - 2160
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.677 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.encoder.avc Type: video/avc Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: false VBR supported: true CQ supported: false


----- Video info -----
Supported colors: 
2135033992
21
19
25
26
27
24
2141391872
16
15
2130708361
Profile: 1, level: 1
Profile: 2, level: 1
Profile: 8, level: 1
Profile: 1, level: 32
Profile: 2, level: 32
Profile: 8, level: 32
Profile: 1, level: 64
Profile: 2, level: 64
Profile: 8, level: 64
Profile: 1, level: 256
Profile: 2, level: 256
Profile: 8, level: 256
Profile: 1, level: 512
Profile: 2, level: 512
Profile: 8, level: 512
Profile: 1, level: 1024
Profile: 2, level: 1024
Profile: 8, level: 1024
Profile: 1, level: 4096
Profile: 2, level: 4096
Profile: 8, level: 4096
Bitrate range: 32768 - 52428800
Frame rate range: 0 - 960
Width range: 176 - 4096
Height range: 144 - 4096
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.677 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.uapi.video.encoder.hevc Type: video/hevc Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: false VBR supported: true CQ supported: false


----- Video info -----
Supported colors: 
2135033992
21
19
25
26
27
24
2141391872
16
15
2130708361
Bitrate range: 32768 - 128000
Frame rate range: 1 - 15
Width range: 176 - 192
Height range: 144 - 192
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.677 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.av1.decoder Type: video/av01 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
Profile: 1, level: 32768
Profile: 4096, level: 32768
Profile: 8192, level: 32768
Bitrate range: 1 - 60000000
Frame rate range: 0 - 960
Width range: 2 - 2048
Height range: 2 - 2048
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.677 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.avc.decoder Type: video/avc Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
Profile: 65536, level: 65536
Profile: 1, level: 65536
Profile: 2, level: 65536
Profile: 524288, level: 65536
Profile: 8, level: 65536
Bitrate range: 1 - 48000000
Frame rate range: 0 - 960
Width range: 2 - 4080
Height range: 2 - 4080
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.677 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.h264.decoder Type: video/avc Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
Profile: 65536, level: 65536
Profile: 1, level: 65536
Profile: 2, level: 65536
Profile: 524288, level: 65536
Profile: 8, level: 65536
Bitrate range: 1 - 48000000
Frame rate range: 0 - 960
Width range: 2 - 4080
Height range: 2 - 4080
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.677 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.avc.encoder Type: video/avc Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: false VBR supported: true CQ supported: false


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
2130708361
Profile: 1, level: 16384
Profile: 65536, level: 16384
Profile: 2, level: 16384
Bitrate range: 1 - 12000000
Frame rate range: 0 - 960
Width range: 16 - 2048
Height range: 16 - 2048
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.678 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.h264.encoder Type: video/avc Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: false VBR supported: true CQ supported: false


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
2130708361
Profile: 1, level: 16384
Profile: 65536, level: 16384
Profile: 2, level: 16384
Bitrate range: 1 - 12000000
Frame rate range: 0 - 960
Width range: 16 - 2048
Height range: 16 - 2048
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.678 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.h263.decoder Type: video/3gpp Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
Profile: 1, level: 16
Profile: 1, level: 8
Profile: 8, level: 16
Profile: 8, level: 8
Bitrate range: 1 - 384000
Frame rate range: 1 - 30
Width range: 4 - 352
Height range: 4 - 288
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.678 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.h263.decoder Type: video/3gpp Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
Profile: 1, level: 16
Profile: 1, level: 8
Profile: 8, level: 16
Profile: 8, level: 8
Bitrate range: 1 - 384000
Frame rate range: 1 - 30
Width range: 4 - 352
Height range: 4 - 288
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.678 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.h263.encoder Type: video/3gpp Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: false VBR supported: true CQ supported: false


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
2130708361
Profile: 1, level: 16
Profile: 1, level: 8
Bitrate range: 1 - 128000
Frame rate range: 1 - 30
Width range: 176 - 176
Height range: 144 - 144
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.678 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.h263.encoder Type: video/3gpp Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: false VBR supported: true CQ supported: false


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
2130708361
Profile: 1, level: 16
Profile: 1, level: 8
Bitrate range: 1 - 128000
Frame rate range: 1 - 30
Width range: 176 - 176
Height range: 144 - 144
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.678 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.hevc.decoder Type: video/hevc Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
Profile: 1, level: 524288
Profile: 4, level: 524288
Bitrate range: 1 - 10000000
Frame rate range: 0 - 960
Width range: 2 - 4096
Height range: 2 - 4096
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.678 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.hevc.decoder Type: video/hevc Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
Profile: 1, level: 524288
Profile: 4, level: 524288
Bitrate range: 1 - 10000000
Frame rate range: 0 - 960
Width range: 2 - 4096
Height range: 2 - 4096
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.678 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.hevc.encoder Type: video/hevc Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 10 Quality range: 0 - 100 CBR supported: true VBR supported: true CQ supported: true


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
2130708361
Profile: 1, level: 262144
Profile: 4, level: 262144
Bitrate range: 1 - 10000000
Frame rate range: 1 - 120
Width range: 2 - 512
Height range: 2 - 512
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.678 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.mpeg4.decoder Type: video/mp4v-es Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
Profile: 1, level: 256
Bitrate range: 1 - 384000
Frame rate range: 12 - 60
Width range: 2 - 352
Height range: 2 - 288
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.678 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.mpeg4.decoder Type: video/mp4v-es Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
Profile: 1, level: 256
Bitrate range: 1 - 384000
Frame rate range: 12 - 60
Width range: 2 - 352
Height range: 2 - 288
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.678 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.mpeg4.encoder Type: video/mp4v-es Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: false VBR supported: true CQ supported: false


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
2130708361
Profile: 1, level: 8
Bitrate range: 1 - 64000
Frame rate range: 12 - 60
Width range: 16 - 176
Height range: 16 - 144
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.678 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.mpeg4.encoder Type: video/mp4v-es Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: false VBR supported: true CQ supported: false


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
2130708361
Profile: 1, level: 8
Bitrate range: 1 - 64000
Frame rate range: 12 - 60
Width range: 16 - 176
Height range: 16 - 144
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.678 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.vp8.decoder Type: video/x-vnd.on2.vp8 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
Profile: 1, level: 1
Bitrate range: 1 - 40000000
Frame rate range: 0 - 960
Width range: 2 - 2048
Height range: 2 - 2048
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.678 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.vp8.decoder Type: video/x-vnd.on2.vp8 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
Profile: 1, level: 1
Bitrate range: 1 - 40000000
Frame rate range: 0 - 960
Width range: 2 - 2048
Height range: 2 - 2048
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.679 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.vp8.encoder Type: video/x-vnd.on2.vp8 Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: true VBR supported: true CQ supported: false


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
2130708361
Profile: 1, level: 1
Bitrate range: 1 - 40000000
Frame rate range: 0 - 960
Width range: 2 - 2048
Height range: 2 - 2048
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.679 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.vp8.encoder Type: video/x-vnd.on2.vp8 Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: true VBR supported: true CQ supported: false


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
2130708361
Profile: 1, level: 1
Bitrate range: 1 - 40000000
Frame rate range: 0 - 960
Width range: 2 - 2048
Height range: 2 - 2048
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.679 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.vp9.decoder Type: video/x-vnd.on2.vp9 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
Profile: 1, level: 256
Profile: 4, level: 256
Profile: 4096, level: 256
Profile: 16384, level: 256
Bitrate range: 1 - 40000000
Frame rate range: 0 - 960
Width range: 2 - 2048
Height range: 2 - 2048
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.679 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.vp9.decoder Type: video/x-vnd.on2.vp9 Max instances: 32 ----- Decoder info -----


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
Profile: 1, level: 256
Profile: 4, level: 256
Profile: 4096, level: 256
Profile: 16384, level: 256
Bitrate range: 1 - 40000000
Frame rate range: 0 - 960
Width range: 2 - 2048
Height range: 2 - 2048
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.679 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: c2.android.vp9.encoder Type: video/x-vnd.on2.vp9 Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: true VBR supported: true CQ supported: false


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
2130708361
Profile: 1, level: 128
Bitrate range: 1 - 30000000
Frame rate range: 0 - 960
Width range: 2 - 2048
Height range: 2 - 2048
----- -----
Max instances: 32
----------------

2023-11-08 18:44:02.679 10467-10467/com.pedro.streamer E/Pedro: ---------------- Name: OMX.google.vp9.encoder Type: video/x-vnd.on2.vp9 Max instances: 32 ----- Encoder info ----- Complexity range: 0 - 0 Quality range: 0 - 0 CBR supported: true VBR supported: true CQ supported: false


----- Video info -----
Supported colors: 
2135033992
19
21
20
39
2130708361
Profile: 1, level: 128
Bitrate range: 1 - 30000000
Frame rate range: 0 - 960
Width range: 2 - 2048
Height range: 2 - 2048
----- -----
Max instances: 32
----------------
pedroSG94 commented 1 year ago

Hello,

Since your encoder support that resolution I think that it is an error in the encoder implementation normally related with an unsupported configuration. For now, we can try replace this line: https://github.com/pedroSG94/RootEncoder/blob/master/encoder/src/main/java/com/pedro/encoder/video/VideoEncoder.java#L129 To this:

videoFormat.setInteger(MediaFormat.KEY_MAX_INPUT_SIZE, width * height);

Also, I need to know device model and Android API to investigate a bit more

zhouqunhuang commented 1 year ago

I just added the code you sent and it still doesn't work. The same error will still appear before. My device model is XBHG6780, and the system is Android 11. What you gave me before is the resolution acquisition of the front and rear cameras, and there is no resolution acquisition of the external usb camera. I built it on LCD TVS, not Android devices.However, when I use rtmpCamera1 for LCD TV equipment with the same resolution of 19201080, and the camera can push the stream normally, when I use camera2 for 38402160 resolution, an error will flash back.

pedroSG94 commented 1 year ago

Hello,

If you can open preview with 3840x2160 the problem is not related with camera2 (using startPreview without startStream). This seem a limitation in your device codecs. I'm not sure why but your device doesn't support 4k encoding correctly even if the debug indicate it but since I can't reproduce your case I can fix it easily.

I added a method to get resolutions of a camera by cameraId using camera2: https://github.com/pedroSG94/RootEncoder/commit/03f4405dbf9d2b64be9ae2af61da213f718fc790 I will try to add a method for camera1 soon

zhouqunhuang commented 1 year ago

Thank you very much! Are you saying my device doesn't support 4k streaming? I will try to replace other LCD devices to see if this problem will not occur.

pedroSG94 commented 1 year ago

If your encoder is working using 1920x1080 and crash using the same configuration but with 4k resolution. I think we have 2 options:

zhouqunhuang commented 1 year ago

When I used rtmpCamera2, I set 1920*1080 to push the stream, but failed to prompt: "Error preparing stream, This device cant do it", I changed it to "rtmpCamera1", but I can successfully push the stream from the same device with the same resolution. What this problem is willing to cause and how I can solve it.

E/OMX_VENC: ext_rc_load_lib(62): ext rc already loaded! 2023-11-13 09:47:58.193 7202-7202/? E/VideoEncoder: Create VideoEncoder failed. java.lang.IllegalArgumentException at android.media.MediaCodec.native_configure(Native Method) at android.media.MediaCodec.configure(MediaCodec.java:2176) at android.media.MediaCodec.configure(MediaCodec.java:2092) at com.pedro.encoder.video.VideoEncoder.prepareVideoEncoder(VideoEncoder.java:155) at com.pedro.library.base.Camera2Base.prepareVideo(Camera2Base.java:322) at com.pedro.library.base.Camera2Base.prepareVideo(Camera2Base.java:330) at com.pedro.library.base.Camera2Base.prepareVideo(Camera2Base.java:342) at com.pedro.streamer.surfacemodeexample.SurfaceModeRtmpActivity.onClick(SurfaceModeRtmpActivity.java:185) at android.view.View.performClick(View.java:7447) at android.view.View.performClickInternal(View.java:7424) at android.view.View.access$3700(View.java:841) at android.view.View$PerformClick.run(View.java:28728) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7869) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1068) 2023-11-13 09:47:58.197 2641-2689/? E/OMX_VENC: ext_rc_unload_lib(95): g_ext_rc_handle = NULL error

pedroSG94 commented 1 year ago

Hello,

If you are using exactly the same configuration that means that your device codec doesn't support surface mode encoding necessary for camera2. Try to use OpenGl example with camera2 to make sure about it but the error should be the same. You can try to force software encoder like this:

rtmpCamera2.setForce(CodecUtil.Force.SOFTWARE, CodecUtil.Force.FIRST_COMPATIBLE_FOUND);
zhouqunhuang commented 1 year ago

image image I used OpenGlView and added the code you sent me, but when I used camera2 I couldn't push the stream "Create VideoEncoder failed" as before.

pedroSG94 commented 1 year ago

Hello,

It is not correctly used. You must set it before prepareVideo

zhouqunhuang commented 1 year ago

I changed the position and now I'm not reporting that error, but when you push the stream with OpenGlView it gets stuck. What's the reason? There's no error from the console.

pedroSG94 commented 1 year ago

Which library version are you using?

zhouqunhuang commented 1 year ago

When I was your cloning project's implementation 'com. Making. PedroSG94. RootEncoder: library: 2.2.8'

pedroSG94 commented 1 year ago

Try with the last version:

implementation 'com.github.pedroSG94.RootEncoder:library:2.3.1'

Also, make sure that you have startPreview with the same resolution than prepareVideo If the problem persist, compile my project in master branch and let me know if OpenGl example produce the same problem

zhouqunhuang commented 12 months ago

hello! After I use the 2.3.1 version, camera2 can implement the stream push, but only the stream below 2k can be pushed if the resolution is set to 4k. Also if you have this library there is no microphone selection method. I want to control how the microphone selection should be implemented.

pedroSG94 commented 12 months ago

Hello,

About 4k resolution. You should check resolution supported by your camera with this methods:

rtmpCamera2.getResolutionsFront();
rtmpCamera2.getResolutionsBack();

But I think that you had the codec bugged so no matter the library version if the codec is bugged. Also, you can control the microphone selected with this method: https://github.com/pedroSG94/RootEncoder/blob/master/library/src/main/java/com/pedro/library/base/Camera2Base.java#L361 where audioSource is the microphone selected (by default MediaRecorder.AudioSource.DEFAULT is used)

zhouqunhuang commented 12 months ago

thanks! My camera supports 4K because I can preview it in 4K, but prepareVideo will return false when I set up a 4K push stream, and it will work normally when I preview it in 4K and push it in 2K. How do I know if it's an encoder problem.

pedroSG94 commented 12 months ago

but prepareVideo will return false when I set up a 4K push stream, and it will work normally when I preview it in 4K and push it in 2K

This confirm that you have a problem with your encoder. startPreview never configure the encoder, only open the camera. If you call prepareVideo with a configuration and return false. It is because your configuration is not supported by your encoder. You can play with prepareVideo values to check if you can fix it but that is all. Try to test using a resolution between 2k and 4k to confirm that you are not limited to 1080p, low fps (15 for example), low bitrate, etc. Maybe you can find the reason this way

zhouqunhuang commented 11 months ago

hello! If I want to get a certain frame to use as a freeze screen or a screenshot when I'm pushing, how do I get this data?

pedroSG94 commented 11 months ago

Hello,

If you are using OpenGlView you can use this method:

rtmpCamera1.getGlInterface().takePhoto(new TakePhotoCallback() {
            @Override
            public void onTakePhoto(Bitmap bitmap) {
              //you have the image here
            }
});

And you can use the image as a filter like here: https://github.com/pedroSG94/RootEncoder/blob/master/app/src/main/java/com/pedro/streamer/openglexample/OpenGlRtmpActivity.java#L326 Remember adapt your scale and position as you want

pedroSG94 commented 9 months ago

Closing as inactive.