zf8848 / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

Bandwidth control in v0.5.1 #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I cannot find any bandwidth control in the soure code(filemediaengine.cc).
Did it really be implemented?

Original issue reported on code.google.com by mrh...@gmail.com on 9 Nov 2010 at 7:35

GoogleCodeExporter commented 9 years ago
In Class FileVoiceChannel and FileAudioChannel, the function:
virtual bool SetSendBandwidth(bool autobw, int bps)
do nothing but just return true

Original comment by mrh...@gmail.com on 9 Nov 2010 at 7:37

GoogleCodeExporter commented 9 years ago
Please use CallOptions to set bandwidth.

The CallOptions is defined in the "mediasessionclient.h" file:
struct CallOptions {
  CallOptions() :
      is_video(false),
      is_muc(false),
      video_bandwidth(kAutoBandwidth) {
  }

  bool is_video;
  bool is_muc;
  // bps. -1 == auto.
  int video_bandwidth;
};

Original comment by jun...@google.com on 10 Nov 2010 at 4:33