ossrs / srs

SRS is a simple, high-efficiency, real-time media server supporting RTMP, WebRTC, HLS, HTTP-FLV, HTTP-TS, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
25.47k stars 5.35k forks source link

why exposing streamKey? #3786

Closed hofarah closed 1 year ago

hofarah commented 1 year ago

Description

In Readme example, your stream key must be in URL to receive stream. I don't want to expose my stream key. for example my final URL for receive stream include hash of my stream key

Normal Senario

push configs

stream configs

play an RTMP stream with URL `rtmp://localhost/live/livestream so If someone see my stream key , they can display anything they want to users.

Expect

push configs

stream configs

play an RTMP stream with URL rtmp://localhost/live/{{hash of "livestream"}}