aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-09-13 16:44:13 +0800
committerMistivia <i@mistivia.com>2025-09-13 16:44:13 +0800
commitf3eeea1d7092f3ca98836035bf75b941d14c2067 (patch)
tree694dcda14f42c48959340e086ae94b021f9d18f8 /main.c
parent7540ded75ee07b026950486172aca08cd0686a4e (diff)
write m3u8
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 9839ad5..f7ab273 100644
--- a/main.c
+++ b/main.c
@@ -55,6 +55,7 @@ void on_rtmp_audio(void *ctx, int64_t timestamp, char *buf, size_t size) {
}
int main() {
+ srand((unsigned) time(NULL));
MainCtx main_ctx;
RtmpCallbacks rtmp_cbs = {
.on_audio = &on_rtmp_audio,