ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.29k stars 636 forks source link

Broadcast Lock #6541

Open lastpeony opened 3 months ago

lastpeony commented 3 months ago

Add a new field "locked" to broadcast object.

If broadcast locked is true, it should not accept any publish request. If its false it should be publishable.

A simple and useful security feature. Combine this with random streamIds, not accepting undefined streams and it covers lots of cases.

lastpeony commented 3 months ago

Actually when i checked the source code, there is a boolean field in broadcast object called "publish" But this field is not utilized anywhere in source code as far as i see.

mekya commented 3 months ago

Hi @lastpeony,

Could you please tell me which user problem it will resolve? And any user having the problem?

lastpeony commented 2 months ago

No user is having a problem. This is just an easy to use security feature.

burak-58 commented 2 months ago

Lets keep it in ice box. We may consider implementing such a feature when we get requests from more user.