Skip to content

Commit

Permalink
Release v5.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Nov 19, 2023
1 parent 2c4d80b commit 6afcd3d
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ The following are the update records for the SRS Stack server.
* v5.12
* Refine local variable name conf to config. v5.12.1
* Add forced exit on timeout for program termination. v5.12.1
* Transcript: Support convert live speech to text by whisper. v5.12.2
* Transcript: Support convert live speech to text by whisper. [v5.12.2](https://github.com/ossrs/srs-stack/releases/tag/v5.12.2)
* v5.11
* VLive: Decrease the latency for virtual live. v5.11.1
* Live: Refine multiple language. v5.11.2
Expand Down
2 changes: 1 addition & 1 deletion platform/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
package main

// The version for platform.
const version = "v5.11.17"
const version = "v5.12.2"
2 changes: 1 addition & 1 deletion scripts/setup-aapanel/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "SRS Stack",
"name": "srs_stack",
"ps": "SRS Stack is an all-in-one, out-of-the-box, and open-source video solution for creating online video services, including live streaming and WebRTC, on the cloud or through self-hosting. Built with SRS, FFmpeg, and WebRTC, it supports various protocols and offers features like authentication, multi-platform streaming, recording, transcoding, virtual live events, automatic HTTPS, and HTTP Open API.",
"versions": "5.11.17",
"versions": "5.12.2",
"checks": "/www/server/panel/plugin/srs_stack",
"author": "Winlin",
"home": "https://github.com/ossrs/srs-stack"
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup-bt/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "SRS音视频服务器",
"name": "srs_stack",
"ps": "SRS Stack让你一键拥有自己的视频云解决方案,可以在云上或私有化部署,支持丰富的音视频协议,提供鉴权、私人直播间、多平台转播、录制、转码、虚拟直播、自动HTTPS、开放API等丰富功能,基于SRS、FFmpeg和WebRTC构建。",
"versions": "5.11.17",
"versions": "5.12.2",
"checks": "/www/server/panel/plugin/srs_stack",
"author": "Winlin",
"home": "https://github.com/ossrs/srs-stack"
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup-droplet/srs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"do_token": "{{env `DIGITALOCEAN_TOKEN`}}",
"image_name": "srs-5-snapshot-{{timestamp}}",
"application_name": "SRS",
"application_version": "5.11.17"
"application_version": "5.12.2"
},
"sensitive-variables": ["do_token"],
"builders": [
Expand Down
8 changes: 3 additions & 5 deletions ui/src/pages/ScenarioTranscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ import React from "react";
import {Accordion, Button, Form, Spinner, Table} from "react-bootstrap";
import {useSrsLanguage} from "../components/LanguageSwitch";
import {useTranslation} from "react-i18next";
import {StreamURL, Token} from "../utils";
import {Token} from "../utils";
import axios from "axios";
import {useErrorHandler} from "react-error-boundary";
import moment from "moment";
import {buildUrls} from "../components/UrlGenerator";

export default function ScenarioTranscript(props) {
const handleError = useErrorHandler();
Expand Down Expand Up @@ -86,7 +84,7 @@ function ScenarioTranscriptImpl({activeKey, defaultEnabled, defaultConf, default
console.log(`Transcript: Apply config ok.`);
success && success();
}).catch(handleError);
}, [handleError, secretKey, baseURL, targetLanguage]);
}, [t, handleError, secretKey, baseURL, targetLanguage]);

const resetTask = React.useCallback(() => {
setOperating(true);
Expand All @@ -100,7 +98,7 @@ function ScenarioTranscriptImpl({activeKey, defaultEnabled, defaultConf, default
setUuid(data.uuid);
console.log(`Transcript: Reset task ${uuid} ok: ${JSON.stringify(data)}`);
}).catch(handleError).finally(setOperating);
}, [handleError, uuid, setUuid, setOperating]);
}, [t, handleError, uuid, setUuid, setOperating]);

React.useEffect(() => {
const refreshLiveQueueTask = () => {
Expand Down
4 changes: 2 additions & 2 deletions ui/src/resources/locale.json
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@
"fix": "人工校正队列",
"nofix": "暂无人工校正任务",
"asrc": "ASR任务耗时",
"overlay": "叠加字幕任务",
"overlay": "叠加字幕队列",
"nooverlay": "暂无叠加字幕任务",
"olc": "叠加字幕耗时",
"ops": "直播流管理操作",
Expand All @@ -392,7 +392,7 @@
"ops": "Stream Operations",
"olc": "Overlay Subtitle Cost",
"nooverlay": "No overlay subtitle task",
"overlay": "Overlay Subtitle Task",
"overlay": "Overlay Subtitle Queue",
"asrc": "ASR Cost",
"nofix": "No manually fix task",
"fix": "Manually Fix Queue",
Expand Down

0 comments on commit 6afcd3d

Please sign in to comment.