stream_mux_header.append((char *)buf, buf_size);
httpd->set_header(stream_mux_header);
} else {
- httpd->add_data((char *)buf, buf_size, type == AVIO_DATA_MARKER_SYNC_POINT);
+ httpd->add_data((char *)buf, buf_size, type == AVIO_DATA_MARKER_SYNC_POINT, time, AVRational{ AV_TIME_BASE, 1 });
}
return buf_size;
}
BasicStats basic_stats(/*verbose=*/false);
global_basic_stats = &basic_stats;
- httpd.start(9095);
+ httpd.start(global_flags.http_port);
signal(SIGUSR1, adjust_bitrate);
signal(SIGUSR2, adjust_bitrate);