mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-09-26 19:51:26 +08:00
record: prevent recordDeleteAfter from deleting current segment (#4331)
This commit is contained in:
@@ -553,7 +553,7 @@ This web page can be embedded into another web page by using an iframe:
|
||||
<iframe src="http://mediamtx-ip:8889/mystream/publish" scrolling="no"></iframe>
|
||||
```
|
||||
|
||||
For more advanced setups, you can create and serve a custom web page by starting from the [source code of the WebRTC publish page](internal/servers/webrtc/publish_index.html).
|
||||
For more advanced setups, you can create and serve a custom web page by starting from the [source code of the WebRTC publish page](internal/servers/webrtc/publish_index.html). In particular, there's a ready-to-use, standalone JavaScript class for publishing streams with WebRTC, available in [publisher.js](internal/servers/webrtc/publisher.js).
|
||||
|
||||
### By device
|
||||
|
||||
@@ -1104,7 +1104,7 @@ This web page can be embedded into another web page by using an iframe:
|
||||
<iframe src="http://mediamtx-ip:8889/mystream" scrolling="no"></iframe>
|
||||
```
|
||||
|
||||
For more advanced setups, you can create and serve a custom web page by starting from the [source code of the WebRTC read page](internal/servers/webrtc/read_index.html).
|
||||
For more advanced setups, you can create and serve a custom web page by starting from the [source code of the WebRTC read page](internal/servers/webrtc/read_index.html). In particular, there's a ready-to-use, standalone JavaScript class for reading streams with WebRTC, available in [reader.js](internal/servers/webrtc/reader.js).
|
||||
|
||||
Web browsers can also read a stream with the [HLS protocol](#hls). Latency is higher but there are less problems related to connectivity between server and clients, furthermore the server load can be balanced by using a common HTTP CDN (like CloudFront or Cloudflare), and this allows to handle readers in the order of millions. Visit the web page:
|
||||
|
||||
|
Reference in New Issue
Block a user