#include "common.h" #include "transmuxer.h" #include #include int main(int argc, char **argv) { struct StreamerOpt opts = { .filename = "test/stream.m3u8" }; if (argc != 2) { fprintf(stderr, "usage: %s FILE\n", argv[0]); return EXIT_FAILURE; } HLSRemuxer *remuxer = hls_remuxer_init(&opts); hls_remuxer_play(remuxer, argv[1]); return EXIT_SUCCESS; }