open-webrtc-toolkit / owt-server

General server (streaming/conference/transcoding/anayltics) for OWT. (A.k.a. MediaServer)
https://01.org/open-webrtc-toolkit
Apache License 2.0
1.13k stars 368 forks source link

issue on bitrate #1338

Open dvdcam opened 11 months ago

dvdcam commented 11 months ago

Hi, I'm using owt 4.3.1 When I publish a stream audio/video, the targetstream of webrtc protocol is very low ( only 28 kbits - monitoring with chrome://webrtc-internals). Otherwise if i publish an only video stream(without audio channel), the bitrate is correctly set with "maxbitrate" parameters of "M.conference.publish".

This is the JSON I set: {\"video\":[{\"codec\":{\"name\":\"vp8\"},\"maxBitrate\":750}],\"audio\":[{\"codec\":{\"name\":\"opus\"},\"maxBitrate\":100}] }

Can you help me to fix this problem?

starwarfan commented 11 months ago

Hi, the issue should be fixed on 4.3.x branch (https://github.com/open-webrtc-toolkit/owt-server/commit/74e969c664c12f9c31297e7e67feec42724c0940). You can try to apply this change to 4.3.1.