Riduce reload MediaMTX in live e allinea ingest mobile al preset qualità.
Evita patch recording ripetute che distruggevano i muxer HLS (500 ops) e fa encoderare 1080p/720p con codec e bitrate coerenti al wizard. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -505,13 +505,9 @@ struct BroadcastScreen: View {
|
||||
}
|
||||
|
||||
private func broadcastConfig(for loaded: StreamSession, rtmpUrl: String) -> BroadcastConfig {
|
||||
BroadcastConfig(
|
||||
rtmpUrl: RtmpIngestUrl.resolveForDevice(rtmpUrl),
|
||||
width: 1280,
|
||||
height: 720,
|
||||
videoBitrate: loaded.targetBitrate,
|
||||
audioBitrate: 128_000,
|
||||
fps: loaded.targetFps
|
||||
StreamVideoPreset.broadcastConfig(
|
||||
for: loaded,
|
||||
rtmpUrl: RtmpIngestUrl.resolveForDevice(rtmpUrl)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user