fix: use port 1936 for RTMP (1935 taken by existing streaming-server)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c9a1084b58
commit
9416ddfb23
|
|
@ -132,7 +132,7 @@ export default function LivePage() {
|
||||||
<ol className="text-slate-400 space-y-2 list-decimal list-inside">
|
<ol className="text-slate-400 space-y-2 list-decimal list-inside">
|
||||||
<li>Open <strong>Settings → Stream</strong></li>
|
<li>Open <strong>Settings → Stream</strong></li>
|
||||||
<li>Set Service to <strong>Custom</strong></li>
|
<li>Set Service to <strong>Custom</strong></li>
|
||||||
<li>Server: <code className="bg-black/30 px-2 py-0.5 rounded text-slate-300">rtmp://rtube.online/live</code></li>
|
<li>Server: <code className="bg-black/30 px-2 py-0.5 rounded text-slate-300">rtmp://rtube.online:1936/live</code></li>
|
||||||
<li>Stream Key: choose any key (e.g. <code className="bg-black/30 px-2 py-0.5 rounded text-slate-300">community-meeting</code>)</li>
|
<li>Stream Key: choose any key (e.g. <code className="bg-black/30 px-2 py-0.5 rounded text-slate-300">community-meeting</code>)</li>
|
||||||
<li>Click <strong>Start Streaming</strong></li>
|
<li>Click <strong>Start Streaming</strong></li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
@ -140,7 +140,7 @@ export default function LivePage() {
|
||||||
<div>
|
<div>
|
||||||
<h3 className="font-medium text-red-400 mb-2">FFmpeg</h3>
|
<h3 className="font-medium text-red-400 mb-2">FFmpeg</h3>
|
||||||
<code className="block bg-black/30 p-3 rounded-lg text-slate-300 text-xs overflow-x-auto">
|
<code className="block bg-black/30 p-3 rounded-lg text-slate-300 text-xs overflow-x-auto">
|
||||||
ffmpeg -i input.mp4 -c:v libx264 -preset veryfast -c:a aac -f flv rtmp://rtube.online/live/your-key
|
ffmpeg -i input.mp4 -c:v libx264 -preset veryfast -c:a aac -f flv rtmp://rtube.online:1936/live/your-key
|
||||||
</code>
|
</code>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ services:
|
||||||
container_name: rtube-rtmp
|
container_name: rtube-rtmp
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "1935:1935"
|
- "1936:1935"
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx-rtmp/nginx.conf:/etc/nginx/nginx.conf:ro
|
- ./nginx-rtmp/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||||
- rtmp-recordings:/recordings
|
- rtmp-recordings:/recordings
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue