OpenIPC / firmware

Alternative IP Camera firmware from an open community
https://openipc.org
MIT License
1.13k stars 222 forks source link

RTMP streaming problem #1436

Open Egho9 opened 1 month ago

Egho9 commented 1 month ago

Hi everyone. RTMP stream dont work with my server. Through wireshark packet capture analysis, I found several problems with rtmp stream.After the rtmp push status is established, the device does not send setDataFrame to the server and in subsequent media data streams, only have aac data,no video data.The RTMP device does not have an AVC sequence header in the stream, so the encoding parameters of the video cannot be determined. I check and maybe problem in AV_CODEC_FLAG_GLOBAL_HEADER .Find some info how slove it here https://stackoverflow.com/questions/77535076/problems-with-outputting-stream-format-as-rtmp-via-ffmpeg-c-api

widgetii commented 1 month ago

What software is installed on your RTMP server?

Egho9 commented 1 month ago

we use this https://github.com/nareix/joy4 ,many ip camera rtmp streamer can work on it , but your has that problems