| Index: content/browser/media/webrtc_browsertest.cc
|
| diff --git a/content/browser/media/webrtc_browsertest.cc b/content/browser/media/webrtc_browsertest.cc
|
| index fe5230771a826bc8b6ab367407fe344c1e3a91c6..8838dff6df5751c9140d0d2da4971644b9c66f82 100644
|
| --- a/content/browser/media/webrtc_browsertest.cc
|
| +++ b/content/browser/media/webrtc_browsertest.cc
|
| @@ -167,5 +167,20 @@ IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, CallWithNewVideoMediaStream) {
|
| ExpectTitle("OK");
|
| }
|
|
|
| +// This test will make a PeerConnection-based call and send a new Video
|
| +// MediaStream that has been created based on a MediaStream created with
|
| +// getUserMedia. When video is flowing, the VideoTrack is removed and an
|
| +// AudioTrack is added instead.
|
| +// TODO(phoglund): This test is manual since not all buildbots has an audio
|
| +// input.
|
| +IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, MANUAL_CallAndModifyStream) {
|
| + GURL url(test_server()->GetURL("files/media/peerconnection-call.html"));
|
| + NavigateToURL(shell(), url);
|
| +
|
| + EXPECT_TRUE(
|
| + ExecuteJavascript("callWithNewVideoMediaStreamLaterSwitchToAudio();"));
|
| + ExpectTitle("OK");
|
| +}
|
| +
|
| } // namespace content
|
|
|
|
|