Skip to content

Instantly share code, notes, and snippets.

@dneprDroid
Created April 15, 2020 19:22
Show Gist options
  • Select an option

  • Save dneprDroid/5d69743eba14ff8310d1d3840f2334ea to your computer and use it in GitHub Desktop.

Select an option

Save dneprDroid/5d69743eba14ff8310d1d3840f2334ea to your computer and use it in GitHub Desktop.
RTCError PeerConnection::SetBitrate(const BitrateSettings& bitrate) {
if (!worker_thread()->IsCurrent()) {
return worker_thread()->Invoke<RTCError>(
RTC_FROM_HERE, [&]() { return SetBitrate(bitrate); });
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment