Fix not using custom set stream name (#5134)

This commit is contained in:
Nicolas Mowen 2023-01-17 21:36:52 -07:00 committed by GitHub
parent ef9338f5af
commit 2631a4c35b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ export default function Camera({ camera }) {
player = (
<Fragment>
<div className="max-w-5xl">
<MsePlayer camera={camera} />
<MsePlayer camera={cameraConfig.live.stream_name} />
</div>
</Fragment>
);
@ -129,7 +129,7 @@ export default function Camera({ camera }) {
player = (
<Fragment>
<div className="max-w-5xl">
<WebRtcPlayer camera={camera} />
<WebRtcPlayer camera={cameraConfig.live.stream_name} />
</div>
</Fragment>
);