MichHighlander

Results 10 comments of MichHighlander

Hey pedro i will try to explain the steps i use to stream my video: 1. I am using the Dji UX SDK to get a Bitmap from their FpvWidget...

Hey Pedro thanks for the quick response, i was at version 2.0.2 so i upgraded to 2.1.5, i don't see an RtmpClient class, i only see RtmpCamera1 and RtmpCamera2, when...

i am importing using: implementation 'com.github.pedroSG94.rtmp-rtsp-stream-client-java:rtplibrary:2.1.6' in my gradle file. I think its only as README if i implement it from the gradle.

I tried it, it also doesn't work. My project is written in Java, maybe thats the problem?

i see so maybe its a Cacheing issue, ill try fixing it and implement the RtmpCliet class and see if it still crashes. Again thanks for the quick responses!

Alright so i managed to fix the problem, Android studio caching... Now i implemented the RtmpClient and i get an error: "Unable to convey fps info to driver, performance might...

Hey pedro sorry for the delay, here are the logs: 2022-02-01 10:40:47.246 4471-4936/com.dji.ux.execution I/RtmpSender: wrote Video packet, size 6306 2022-02-01 10:40:47.279 4471-4925/com.dji.ux.execution I/CommandsManager: read UserControl(type=PING_REQUEST, event=Event(data=-1267625720, bufferLength=-1), bodySize=6) 2022-02-01 10:40:47.280...

Update: i debugged your code a bit, i looks like in the RtmpSender.kt class after a while it doesn't continue after the "size = commandsManager.sendVideoPacket(flvPacket, output)" line. Maybe its something...

This message doesn't always show before the error. We don't get an write packet fail, it just gets stuck. edit: this are the logs when the app crashes *** ***...