Index: webrtc/api/webrtcsession_unittest.cc |
diff --git a/webrtc/api/webrtcsession_unittest.cc b/webrtc/api/webrtcsession_unittest.cc |
index 34d82582c61ad54df6aa99641ae819e18dd74e6d..87481a87958ebd09d9f5aac39833d69eaa65c3e7 100644 |
--- a/webrtc/api/webrtcsession_unittest.cc |
+++ b/webrtc/api/webrtcsession_unittest.cc |
@@ -1316,6 +1316,8 @@ class WebRtcSessionTest |
SetupLoopbackCall(); |
+ // Wait for channel to be ready for sending. |
+ EXPECT_TRUE_WAIT(media_engine_->GetVideoChannel(0)->sending(), 100); |
uint8_t test_packet[15] = {0}; |
rtc::PacketOptions options; |
options.packet_id = 10; |