当方、RasPi3で環境が違うので、同じではないと思いますが、それぞれ以下の内容で(音声付き)ライブストリーミングできています。ご参考まで。
$ uname -a
Linux raspberrypi3 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
起動コマンド
ffmpeg -hide_banner -f alsa -ac 1 -thread_queue_size 8192 -i hw:1 -f v4l2 -thread_queue_size 8192 -input_format yuyv422 -video_size 1280x720 -framerate 8 -i /dev/video0 -c:v h264_omx -b:v 768k -bufsize 768k -vsync 1 -g 10 -vf drawtext="fontfile=monofonto.ttf: fontsize=24: box=1: boxcolor=black@0.75: boxborderw=5: fontcolor=white: x=(w-text_w)/2: y=(10): text='%{localtime}'" -c:a aac -b:a 96k -ar 44100 -af "volume=30dB" -f flv rtmp://localhost/live/stream
index.html
<head>
<link href="https://vjs.zencdn.net/7.6.6/video-js.css" rel="stylesheet" />
</head>
<body>
<video-js
id="my-video"
controls
liveui="true"
preload="auto"
width="1280"
height="720"
data-setup="{responsive: true}">
<source
src="/live/stream.m3u8"
type="application/x-mpegURL" />
<p class="vjs-no-js">
To view this video please enable JavaScript, and consider upgrading to a
web browser that
<a href="https://videojs.com/html5-video-support/" target="_blank">
supports HTML5 video</a>
</p>
</video-js>
<script src="https://vjs.zencdn.net/7.6.6/video.js"></script>
</body>
スマホやPCのブラウザからraspberrypi3.local
にアクセスすると、下記画面が出てきて、左上の再生ボタンをタップすると、ライブ再生を開始します。
Like!