AirenSoft / OvenMediaEngine

OvenMediaEngine (OME) is a Sub-Second Latency Live Streaming Server with Large-Scale and High-Definition. #WebRTC #LLHLS
https://airensoft.com/ome.html
GNU Affero General Public License v3.0
2.61k stars 1.06k forks source link

Bitrate via API isn't updated when bitrate changes without stopping stream #1578

Closed irlkitcom closed 8 months ago

irlkitcom commented 8 months ago

Describe the bug The bitrate reported from the API does not change if the bitrate is changed without stopping the stream.

To Reproduce Steps to reproduce the behavior:

  1. Start your stream in OBS at 7000kbps
  2. Check API and verify that bitrate is shown as 7000000
  3. In OBS, Open Settings -> Output and adjust bitrate to 10000kbps
  4. Check API and verify that bitrate is still shown as 7000000 instead of 10000000

Expected behavior The API should report the correct bitrate, even if it's delayed. We want to limit the incoming bitrate and block clients who push over a certain amount.

irlkitcom commented 8 months ago

Was not aware of Alert before this, was planning on polling the API to check for users who use more bitrate than we want but this is not necessary with Alert: https://airensoft.gitbook.io/ovenmediaengine/alert