diff --git a/README.md b/README.md index 4071703..1eee14b 100644 --- a/README.md +++ b/README.md @@ -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": To experiment how a RTP/RTCP receiver can tolerate packet loss, there are three API requests: diff --git a/janus_rtpforward.c b/janus_rtpforward.c index afb203c..e583660 100644 --- a/janus_rtpforward.c +++ b/janus_rtpforward.c @@ -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