Remove rtsp_options from output/rtsp
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user