Stop transport in test SuspendBelowMinBitrate.
Avoids race when packets are still left in the network while the Call is being destroyed. R=mflodman@webrtc.org BUG= Review URL: https://webrtc-codereview.appspot.com/6009004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5307 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
e6b871bb29
commit
052fa6243a
@ -802,7 +802,7 @@ TEST_F(VideoSendStreamTest, SuspendBelowMinBitrate) {
|
|||||||
|
|
||||||
void set_high_remb_bps(int value) { high_remb_bps_ = value; }
|
void set_high_remb_bps(int value) { high_remb_bps_ = value; }
|
||||||
|
|
||||||
virtual void Stop() { transport_.StopSending(); }
|
void Stop() { transport_.StopSending(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
enum TestState {
|
enum TestState {
|
||||||
@ -857,6 +857,7 @@ TEST_F(VideoSendStreamTest, SuspendBelowMinBitrate) {
|
|||||||
observer.set_high_remb_bps(min_bitrate_bps + threshold_window + 5000);
|
observer.set_high_remb_bps(min_bitrate_bps + threshold_window + 5000);
|
||||||
|
|
||||||
RunSendTest(call.get(), send_config, &observer);
|
RunSendTest(call.get(), send_config, &observer);
|
||||||
|
observer.Stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(VideoSendStreamTest, NoPaddingWhenVideoIsMuted) {
|
TEST_F(VideoSendStreamTest, NoPaddingWhenVideoIsMuted) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user