Skip to content

Commit

Permalink
rename of request 'bitrate' to 'remb'
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Franzl committed Jan 12, 2018
1 parent 6917973 commit 97eadad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ To send to the browser a Full Intraframe request packet (FIR), send the followin

To send to the browser a Receiver Estimated Maximum Bitrate packet (REMB), send the following API request (note that depending on the video codec used, Firefox can currently go only as low as 200000, and Chrome can go as low as 50000):

"request": "bitrate",
"request": "remb",
"bitrate": <integer in bits per second>

To experiment how a RTP/RTCP receiver can tolerate packet loss, there are three API requests:
Expand Down
2 changes: 1 addition & 1 deletion janus_rtpforward.c
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ struct janus_plugin_result *rtpforward_handle_message(janus_plugin_session *hand
goto respond;


} else if (!strcmp(request_text, "bitrate")) {
} else if (!strcmp(request_text, "remb")) {
uint32_t bitrate = (uint32_t)json_integer_value(json_object_get(body, "bitrate"));
if (bitrate) {
char buf[32]; // more than needed
Expand Down

0 comments on commit 97eadad

Please sign in to comment.