This PR is extracted by AI from #3949 to support RTMPS server in SRS. Run SRS with RTMPS support: ```bash ./objs/srs -c conf/rtmps.conf ``` Publish RTMPS stream by FFmpeg: ```bash ffmpeg -re -i doc/source.flv -c copy -f flv rtmps://localhost:1443/live/livetream ``` Play RTMPS stream by ffplay: ```bash ffplay rtmps://localhost:1443/live/livetream ``` Below work is done by AI: * [AI: Extract RTMP transport for RTMPS.](7948111464) * [AI: Extract RTMPS transport.](a669cbba89) --------- Co-authored-by: john <hondaxiao@tencent.com> Co-authored-by: OSSRS-AI <winlinam@gmail.com>
13 lines
271 B
Plaintext
13 lines
271 B
Plaintext
listen 1935;
|
|
max_connections 1000;
|
|
daemon off;
|
|
srs_log_tank console;
|
|
rtmps {
|
|
enabled on;
|
|
listen 1443;
|
|
key ./conf/server.key;
|
|
cert ./conf/server.crt;
|
|
}
|
|
vhost __defaultVhost__ {
|
|
}
|