OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 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 22 matching lines...) Expand all Loading... |
33 #include <set> | 33 #include <set> |
34 #include <utility> | 34 #include <utility> |
35 #include <vector> | 35 #include <vector> |
36 | 36 |
37 #include "talk/app/webrtc/jsepicecandidate.h" | 37 #include "talk/app/webrtc/jsepicecandidate.h" |
38 #include "talk/app/webrtc/jsepsessiondescription.h" | 38 #include "talk/app/webrtc/jsepsessiondescription.h" |
39 #include "talk/app/webrtc/mediaconstraintsinterface.h" | 39 #include "talk/app/webrtc/mediaconstraintsinterface.h" |
40 #include "talk/app/webrtc/peerconnectioninterface.h" | 40 #include "talk/app/webrtc/peerconnectioninterface.h" |
41 #include "talk/app/webrtc/sctputils.h" | 41 #include "talk/app/webrtc/sctputils.h" |
42 #include "talk/app/webrtc/webrtcsessiondescriptionfactory.h" | 42 #include "talk/app/webrtc/webrtcsessiondescriptionfactory.h" |
43 #include "talk/media/base/constants.h" | |
44 #include "talk/media/base/videocapturer.h" | |
45 #include "talk/session/media/channel.h" | 43 #include "talk/session/media/channel.h" |
46 #include "talk/session/media/channelmanager.h" | 44 #include "talk/session/media/channelmanager.h" |
47 #include "talk/session/media/mediasession.h" | 45 #include "talk/session/media/mediasession.h" |
48 #include "webrtc/audio/audio_sink.h" | 46 #include "webrtc/audio/audio_sink.h" |
49 #include "webrtc/base/basictypes.h" | 47 #include "webrtc/base/basictypes.h" |
50 #include "webrtc/base/checks.h" | 48 #include "webrtc/base/checks.h" |
51 #include "webrtc/base/helpers.h" | 49 #include "webrtc/base/helpers.h" |
52 #include "webrtc/base/logging.h" | 50 #include "webrtc/base/logging.h" |
53 #include "webrtc/base/stringencode.h" | 51 #include "webrtc/base/stringencode.h" |
54 #include "webrtc/base/stringutils.h" | 52 #include "webrtc/base/stringutils.h" |
55 #include "webrtc/call.h" | 53 #include "webrtc/call.h" |
| 54 #include "webrtc/media/base/constants.h" |
| 55 #include "webrtc/media/base/videocapturer.h" |
56 #include "webrtc/p2p/base/portallocator.h" | 56 #include "webrtc/p2p/base/portallocator.h" |
57 #include "webrtc/p2p/base/transportchannel.h" | 57 #include "webrtc/p2p/base/transportchannel.h" |
58 | 58 |
59 using cricket::ContentInfo; | 59 using cricket::ContentInfo; |
60 using cricket::ContentInfos; | 60 using cricket::ContentInfos; |
61 using cricket::MediaContentDescription; | 61 using cricket::MediaContentDescription; |
62 using cricket::SessionDescription; | 62 using cricket::SessionDescription; |
63 using cricket::TransportInfo; | 63 using cricket::TransportInfo; |
64 | 64 |
65 using cricket::LOCAL_PORT_TYPE; | 65 using cricket::LOCAL_PORT_TYPE; |
(...skipping 2111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2177 } | 2177 } |
2178 } | 2178 } |
2179 | 2179 |
2180 void WebRtcSession::OnSentPacket_w(cricket::TransportChannel* channel, | 2180 void WebRtcSession::OnSentPacket_w(cricket::TransportChannel* channel, |
2181 const rtc::SentPacket& sent_packet) { | 2181 const rtc::SentPacket& sent_packet) { |
2182 RTC_DCHECK(worker_thread()->IsCurrent()); | 2182 RTC_DCHECK(worker_thread()->IsCurrent()); |
2183 media_controller_->call_w()->OnSentPacket(sent_packet); | 2183 media_controller_->call_w()->OnSentPacket(sent_packet); |
2184 } | 2184 } |
2185 | 2185 |
2186 } // namespace webrtc | 2186 } // namespace webrtc |
OLD | NEW |