There is a build error on freebsd:
error: invalid application of 'sizeof' to an incomplete type
'struct sockaddr_in'
Include proper header file to solve this.
Ref:
https://www.freebsd.org/doc/en/books/developers-handbook/sockets-essential-functions.html
|
||
|---|---|---|
| .. | ||
| data/locale | ||
| librtmp | ||
| CMakeLists.txt | ||
| flv-mux.c | ||
| flv-mux.h | ||
| flv-output.c | ||
| net-if.c | ||
| net-if.h | ||
| obs-output-ver.h | ||
| obs-outputs.c | ||
| rtmp-helpers.h | ||
| rtmp-stream.c | ||