DEFAULT_AUDIO_OUTPUT_BIT_RATE / 1000);
fprintf(stderr, " --http-port=PORT which port to use for the built-in HTTP server\n");
fprintf(stderr, " (default is %d)\n", DEFAULT_HTTPD_PORT);
DEFAULT_AUDIO_OUTPUT_BIT_RATE / 1000);
fprintf(stderr, " --http-port=PORT which port to use for the built-in HTTP server\n");
fprintf(stderr, " (default is %d)\n", DEFAULT_HTTPD_PORT);
fprintf(stderr, " --srt-port=PORT which port to use for receiving SRT streams\n");
fprintf(stderr, " (default is %d)\n", DEFAULT_SRT_PORT);
fprintf(stderr, " --no-srt disable receiving SRT streams\n");
fprintf(stderr, " --srt-port=PORT which port to use for receiving SRT streams\n");
fprintf(stderr, " (default is %d)\n", DEFAULT_SRT_PORT);
fprintf(stderr, " --no-srt disable receiving SRT streams\n");
if (program == PROGRAM_KAERU) {
fprintf(stderr, " --no-transcode-video copy encoded video raw from the source stream\n");
fprintf(stderr, " (experimental, must be H.264)\n");
if (program == PROGRAM_KAERU) {
fprintf(stderr, " --no-transcode-video copy encoded video raw from the source stream\n");
fprintf(stderr, " (experimental, must be H.264)\n");
{ "http-audio-codec", required_argument, 0, OPTION_HTTP_AUDIO_CODEC },
{ "http-audio-bitrate", required_argument, 0, OPTION_HTTP_AUDIO_BITRATE },
{ "http-port", required_argument, 0, OPTION_HTTP_PORT },
{ "http-audio-codec", required_argument, 0, OPTION_HTTP_AUDIO_CODEC },
{ "http-audio-bitrate", required_argument, 0, OPTION_HTTP_AUDIO_BITRATE },
{ "http-port", required_argument, 0, OPTION_HTTP_PORT },
{ "srt-port", required_argument, 0, OPTION_SRT_PORT },
{ "srt-port", required_argument, 0, OPTION_SRT_PORT },
- { "no-srt", no_argument, 0, OPTION_NO_SRT },
+#endif
+ { "no-srt", no_argument, 0, OPTION_NO_SRT }, // We silently allow this even without HAVE_SRT.
{ "no-transcode-video", no_argument, 0, OPTION_NO_TRANSCODE_VIDEO },
{ "no-transcode-audio", no_argument, 0, OPTION_NO_TRANSCODE_AUDIO },
{ "disable-audio", no_argument, 0, OPTION_DISABLE_AUDIO },
{ "no-transcode-video", no_argument, 0, OPTION_NO_TRANSCODE_VIDEO },
{ "no-transcode-audio", no_argument, 0, OPTION_NO_TRANSCODE_AUDIO },
{ "disable-audio", no_argument, 0, OPTION_DISABLE_AUDIO },