Skip to content

Commit

Permalink
Update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Dec 10, 2023
1 parent e216374 commit be84260
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
13 changes: 13 additions & 0 deletions i18n/zh-cn/docusaurus-plugin-content-pages/faq-srs-stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* [如何录制到本地磁盘](#record): 如何录制到SRS Stack的本地磁盘。
* [云录制和云点播的区别](#cos-vs-vod): 录制是用云录制还是云点播,有何区别。
* [如何录制到云存储](#dvr-cloud-storage): 录制到COS、OSS或S3等云存储。
* [停止推流时录制没有停止](#dvr-continue-when-unpublish): 为何不能在停止推流时停止录制,而是等待一定时间才停止。
* [安装后无法访问](#unavailable): 安装后提示错误,或者Redis没准备好。
* [SRS转推和OBS转推的区别](#restream-vs-obs): SRS的多平台转推,和OBS转推插件的区别。
* [SRS如何转推自定义平台](#restream-custom): SRS的多平台转推,如何推到自定义的直播平台。
Expand Down Expand Up @@ -373,6 +374,18 @@ SRS Stack也可以录制到其他云存储,比如阿里云OSS或AWS S3,可

> Note: 修改本地录制的路径,可以在`本地录制/录制文件夹`中,把录制的路径软链到云存储的路径就可以。
<a name="dvr-continue-when-unpublish"></a><br/><br/><br/>

## 停止推流时录制没有停止

为何不能在停止推流时停止录制,而是等待一定时间才停止。

有些主播推流只推一次,中间不会中断。所以在这种情况下,如果停止推流停止录制,这个是没有问题的,只会生成一个文件。

但是有些主播,他推流时中间是有中断的,比如推流推了5分钟时间,中间中断等了可能30秒。那如果在停止推流就录制一个文件出来,就会有两个文件,所以这种情况下就是有问题的。

因此在停止推流时若停止录制,中间可能会导致录制会有多个文件,满足不了真实的场景的需要。

<a name="unavailable"></a><br/><br/><br/>

## 安装后无法访问
Expand Down
15 changes: 15 additions & 0 deletions src/pages/faq-srs-stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Quick Content
* [How to record to local disk](#record): How to record to the local disk of SRS Stack.
* [Difference between cloud recording and cloud on-demand](#cos-vs-vod): Whether to use cloud recording or cloud on-demand, and what are the differences.
* [How to record to cloud storage](#dvr-cloud-storage): Record to COS, OSS, or S3, etc. cloud storage.
* [Recording doesn't stop when the stream is stopped](#dvr-continue-when-unpublish): Why the recording doesn't stop immediately when the stream is stopped, but instead waits for a certain period before stopping.
* [Unavailable after installation](#unavailable): Error prompt after installation, or Redis not ready.
* [Difference between SRS re-streaming and OBS re-streaming](#restream-vs-obs): The difference between SRS multi-platform re-streaming and OBS re-streaming plugin.
* [How SRS re-streams to custom platforms](#restream-custom): How SRS multi-platform re-streaming pushes to custom live platforms.
Expand Down Expand Up @@ -425,6 +426,20 @@ configure the local storage path, so that you can write files to cloud storage.
> Note: To modify the local recording path, you can go to `Local Recording/Recording Folder`, and soft
> link the recording path to the cloud storage path.
<a name="dvr-continue-when-unpublish"></a><br/><br/><br/>

## Recording doesn't stop when the stream is stopped

Why the recording doesn't stop immediately when the stream is stopped, but instead waits for a certain
period before stopping.

Some live streams only push the content once without any interruptions. In this case, if the stream stops
recording, it's okay to stop the recording as well. This will only generate one file.

Some broadcasters experience interruptions during live streaming. For instance, if there's a 30-second pause
in between a 5-minute stream, stopping the recording at the pause will create multiple files. This situation
poses a problem.

<a name="unavailable"></a><br/><br/><br/>

## Unable to access after installation
Expand Down

0 comments on commit be84260

Please sign in to comment.