Skip to content

Commit

Permalink
Fix test fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Oct 24, 2023
1 parent 248b67a commit f0b8807
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/pages/ScenarioLive.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function ScenarioLiveImpl({copyToClipboard, urls}) {
const {t} = useTranslation();
const {
flvPlayer, rtmpServer, flvUrl, rtmpStreamKey, hlsPlayer, m3u8Url, rtcUrl, rtcPlayer, cnConsole, enConsole, rtcPublisher,
srtPublishUrl, srtPlayUrl, flvPlayer2, flvUrl2, hlsPlayer2, m3u8Url2, rtcPlayer2, rtcPublishUrl, updateStreamName,
srtPublishUrl, srtPlayUrl, rtcPublishUrl, updateStreamName,
} = urls;

const rtmpPublishUrl = `${rtmpServer}${rtmpStreamKey}`;
Expand Down
2 changes: 1 addition & 1 deletion ui/src/pages/ScenarioTranscode.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function ScenarioTranscodeImpl({activeKey, urls, defaultEnabled, defaultConf}) {
console.log(`Transcode: Apply patterns ok, all=${enabled}, vbitrate=${vbitrate}, abitrate=${abitrate}, vcodec=${vcodec}, vprofile=${vprofile}, vpreset=${vpreset}, acodec=${acodec}, server=${server}, secret=${secret}`);
success && success();
}).catch(handleError);
}, [handleError, vbitrate, abitrate, achannels, vcodec, vprofile, vpreset, acodec, server, secret]);
}, [handleError, t, vbitrate, abitrate, achannels, vcodec, vprofile, vpreset, acodec, server, secret]);

return (
<Accordion defaultActiveKey={[activeKey]} alwaysOpen>
Expand Down

0 comments on commit f0b8807

Please sign in to comment.