diff --git a/plugins/obs-outputs/librtmp/rtmp.c b/plugins/obs-outputs/librtmp/rtmp.c index e9d9c80bc2461ff9645d4a3743d8fc0815e5cfd7..dccad0e74b96012ec06a6462c1d5ed2d3f87383a 100644 --- a/plugins/obs-outputs/librtmp/rtmp.c +++ b/plugins/obs-outputs/librtmp/rtmp.c @@ -729,6 +729,8 @@ add_addr_info(struct sockaddr_storage *service, socklen_t *addrlen, AVal *host, // since we're handling multiple addresses internally, fake the correct error response #ifdef _WIN32 *socket_error = WSANO_DATA; +#elif __FreeBSD__ + *socket_error = ENOATTR; #else *socket_error = ENODATA; #endif