Remove rtsp_options from output/rtsp

This commit is contained in:
Kamil Trzcinski
2022-09-03 10:20:17 +02:00
parent df67c0272e
commit 328198745b
3 changed files with 6 additions and 7 deletions

View File

@ -12,6 +12,7 @@ extern option_t all_options[];
extern camera_options_t camera_options;
extern http_server_options_t http_options;
extern http_method_t http_methods[];
extern rtsp_options_t rtsp_options;
camera_t *camera;
@ -41,7 +42,7 @@ int main(int argc, char *argv[])
goto error;
}
if (rtsp_options.port > 0 && rtsp_server() < 0) {
if (rtsp_options.port > 0 && rtsp_server(&rtsp_options) < 0) {
goto error;
}