diff options
| author | Mistivia <i@mistivia.com> | 2025-09-13 16:44:13 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-09-13 16:44:13 +0800 |
| commit | f3eeea1d7092f3ca98836035bf75b941d14c2067 (patch) | |
| tree | 694dcda14f42c48959340e086ae94b021f9d18f8 /main.c | |
| parent | 7540ded75ee07b026950486172aca08cd0686a4e (diff) | |
write m3u8
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |
