Questions tagged [simple-realtime-server]
25 questions
7
votes
1 answer
How to generate multiple resolutions HLS using FFmpeg for live streaming
Note that SRS supports generating individual m3u8 file for a specific resolution. Does SRS also support generating an additional master m3u8 file for the multiple resolutions and bitrate scenario?
Desired master m3u8…

gforce07
- 83
- 1
- 5
4
votes
3 answers
How to convert MP4 frame rate like 14.939948fps to 15fps
Description
I pushed a USB camera stream by ffmpeg to a RTMP stream server which is called SRS.
The SRS had saved a MP4 file for me. The frame rate is not a common value in VLC - it's 14.939948. I've checked it out - It seems to be the 'ntsc'…

Bling Bling Bytes
- 41
- 4
4
votes
2 answers
SRS (RTMP) authentification with PHP error
So I recently started to work with SRS (https://github.com/ossrs/srs) and I already had a lot of issues figuring out how to make FFMpeg work.
But now it's different I need to do basic authentification…

Poli
- 113
- 14
3
votes
1 answer
How to configure the coworkers when there is thousands of SRS instance
From the wiki, the coworkers means "The HTTP APIs of other origin servers in the cluster". In our origin cluster, I config it like this:
vhost __defaultVhost__ {
# The config for cluster.
cluster {
# The cluster mode, local or…

matthew6868
- 55
- 5
2
votes
1 answer
How to ensure access the right backend M3U8 file in origin cluster mode
From SRS how to transmux HLS wiki, we know SRS generate the corresponding M3U8 playlist in hls_path, here is my config file:
http_server {
enabled on;
listen 8080;
dir ./objs/nginx/html;
}
vhost…

matthew6868
- 55
- 5
2
votes
1 answer
SRS how enable HTTPS for HLS stream?
I use Ubuntu 16 server with apache and let's encrypt certificates. I have compiled SRS today directly from Git, so I have the latest version. I'm trying to enable HTTPS on all site, I have a player which load HSL stream passed by RTMP. How can I…

user6634742
- 23
- 1
- 6
1
vote
0 answers
Why does SRS not recognize the audio format correctly in an RTMP stream?
SRS did not recognize the audio format correctly, the pushed RTMP stream is mono, but it is displayed as stereo on the webpage.
Using ffmpeg (version 4.4) to re-encode and forward an RTMP stream. The original stream is in speex format, mono, and…

Zhufeng Tang
- 11
- 2
1
vote
2 answers
webrtc getUserMedia : how to get a stream from getUserMedia and publish it to SRS?
How to get a stream using html5 getUserMedia and publish that to SRS ?
I want to get a stream directly from browser and not using OBS or ffmpeg.
Any sample available ?

yarek
- 11,278
- 30
- 120
- 219
1
vote
1 answer
Real time livestreaming - RPI FFmpeg and H5 Player
I work at a telehealth company and we are using connected medical devices in order to provide the doctor with real time information from these equipements, the equipements are used by a trained health Professional.
Those devices work with video and…

Victor
- 11
- 1
1
vote
1 answer
Can Simple Realtime Server output a VOD of the user's video?
I'm currently learning how to use SRS and I believe it will mostly fit my needs. However, I need to be able to create a VOD (video on demand) of the user's live video. How would I accomplish this?
Thanks!
AJ

AJ Keresztes
- 13
- 5
1
vote
1 answer
How to switch streams in live streaming for fault tolerance
When live streaming in outdoor with weak network conditions, there are some devices to aggregate networks like MPTCP router. But packet loss in MPTCP, will cause the live streaming problem, like stream interruption.
So if publish multiple live…

四丿季
- 11
- 3
1
vote
1 answer
fmp4 for hevc in hls - SRS server
When using the feature/h265 branch of SRS server, the segment files of HLS is always mpegts, whatever publishing by RTMP or SRT.
It works for VLC, but fail for Apple Safari, because Safari requires fMP4 segment file of HLS. But Safari is the premier…

user17763762
- 11
- 1
1
vote
1 answer
How to compile/install/configure simple-realtime-server (SRS) on Windows
I have searched just about everywhere, and all the guides I can find in regards to SRS point to how you set it up using Linux.
According to the tags I have seens SRS also supports Windows.
Can anyone do a complete guide for it for…

SnowmanDK
- 13
- 3
1
vote
1 answer
What does 'PLA time' and 'CPB time' mean in SRS
I use RTMP server of sys (https://github.com/smartdu/srs)
The log print like this:
[2016-06-26 10:27:00.025][trace][8812][6523] -> PLA time=3687059, msgs=22, okbps=1612,1608,1608, ikbps=0,0,0, mw=350
[2016-06-26 10:27:09.906][trace][8812][6523] ->…

guanshan
- 83
- 8
0
votes
1 answer
The m3u8 files created by SRS won't play in only iOS safari, but other m3u8 files work in iOS, Android and Web
I've been building live streaming app for all platforms including iOS, Android and web.
Simple Realtime Server is used to publish video streaming for my project, it makes m3u8 files.
The video streaming files made by SRS are playing well for Web and…

persec10000
- 820
- 2
- 10
- 17