nareix / joy4

Golang audio/video library and streaming server
MIT License
2.66k stars 501 forks source link

RTMP Error: h264 seqhdr invalid #29

Closed ericxtang closed 7 years ago

ericxtang commented 7 years ago

Using ffmpeg 3.3, ffmpeg -f avfoundation -framerate 30 -i "0:0" -video_size vga -f flv "rtmp://localhost:1935/stream/live"

Got error: flv: h264 seqhdr invalid. This happens during RTMP handshake.

ericxtang commented 7 years ago

Turns out my ffmpeg command is faulty.