OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2014 Google Inc. | 3 * Copyright 2014 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include <stdio.h> | 28 #include <stdio.h> |
29 | 29 |
30 #include <algorithm> | 30 #include <algorithm> |
31 | 31 |
32 #include "talk/app/webrtc/statscollector.h" | 32 #include "talk/app/webrtc/statscollector.h" |
33 | 33 |
34 #include "talk/app/webrtc/peerconnection.h" | 34 #include "talk/app/webrtc/peerconnection.h" |
35 #include "talk/app/webrtc/peerconnectionfactory.h" | 35 #include "talk/app/webrtc/peerconnectionfactory.h" |
36 #include "talk/app/webrtc/mediastream.h" | 36 #include "talk/app/webrtc/mediastream.h" |
37 #include "talk/app/webrtc/mediastreaminterface.h" | 37 #include "talk/app/webrtc/mediastreaminterface.h" |
38 #include "talk/app/webrtc/mediastreamsignaling.h" | |
39 #include "talk/app/webrtc/mediastreamtrack.h" | 38 #include "talk/app/webrtc/mediastreamtrack.h" |
40 #include "talk/app/webrtc/test/fakedatachannelprovider.h" | 39 #include "talk/app/webrtc/test/fakedatachannelprovider.h" |
41 #include "talk/app/webrtc/videotrack.h" | 40 #include "talk/app/webrtc/videotrack.h" |
42 #include "talk/media/base/fakemediaengine.h" | 41 #include "talk/media/base/fakemediaengine.h" |
43 #include "talk/session/media/channelmanager.h" | 42 #include "talk/session/media/channelmanager.h" |
44 #include "testing/gmock/include/gmock/gmock.h" | 43 #include "testing/gmock/include/gmock/gmock.h" |
45 #include "testing/gtest/include/gtest/gtest.h" | 44 #include "testing/gtest/include/gtest/gtest.h" |
46 #include "webrtc/base/base64.h" | 45 #include "webrtc/base/base64.h" |
47 #include "webrtc/base/fakesslidentity.h" | 46 #include "webrtc/base/fakesslidentity.h" |
48 #include "webrtc/base/gunit.h" | 47 #include "webrtc/base/gunit.h" |
(...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1741 cricket::VoiceSenderInfo new_voice_sender_info; | 1740 cricket::VoiceSenderInfo new_voice_sender_info; |
1742 InitVoiceSenderInfo(&new_voice_sender_info); | 1741 InitVoiceSenderInfo(&new_voice_sender_info); |
1743 cricket::VoiceMediaInfo new_stats_read; | 1742 cricket::VoiceMediaInfo new_stats_read; |
1744 reports.clear(); | 1743 reports.clear(); |
1745 SetupAndVerifyAudioTrackStats( | 1744 SetupAndVerifyAudioTrackStats( |
1746 new_audio_track.get(), stream_.get(), &stats, &voice_channel, kVcName, | 1745 new_audio_track.get(), stream_.get(), &stats, &voice_channel, kVcName, |
1747 media_channel, &new_voice_sender_info, NULL, &new_stats_read, &reports); | 1746 media_channel, &new_voice_sender_info, NULL, &new_stats_read, &reports); |
1748 } | 1747 } |
1749 | 1748 |
1750 } // namespace webrtc | 1749 } // namespace webrtc |
OLD | NEW |