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 30 matching lines...) Expand all Loading... |
41 #include "talk/app/webrtc/mediastreamobserver.h" | 41 #include "talk/app/webrtc/mediastreamobserver.h" |
42 #include "talk/app/webrtc/mediastreamproxy.h" | 42 #include "talk/app/webrtc/mediastreamproxy.h" |
43 #include "talk/app/webrtc/mediastreamtrackproxy.h" | 43 #include "talk/app/webrtc/mediastreamtrackproxy.h" |
44 #include "talk/app/webrtc/remoteaudiosource.h" | 44 #include "talk/app/webrtc/remoteaudiosource.h" |
45 #include "talk/app/webrtc/remotevideocapturer.h" | 45 #include "talk/app/webrtc/remotevideocapturer.h" |
46 #include "talk/app/webrtc/rtpreceiver.h" | 46 #include "talk/app/webrtc/rtpreceiver.h" |
47 #include "talk/app/webrtc/rtpsender.h" | 47 #include "talk/app/webrtc/rtpsender.h" |
48 #include "talk/app/webrtc/streamcollection.h" | 48 #include "talk/app/webrtc/streamcollection.h" |
49 #include "talk/app/webrtc/videosource.h" | 49 #include "talk/app/webrtc/videosource.h" |
50 #include "talk/app/webrtc/videotrack.h" | 50 #include "talk/app/webrtc/videotrack.h" |
51 #include "talk/media/sctp/sctpdataengine.h" | |
52 #include "talk/session/media/channelmanager.h" | 51 #include "talk/session/media/channelmanager.h" |
53 #include "webrtc/base/arraysize.h" | 52 #include "webrtc/base/arraysize.h" |
54 #include "webrtc/base/logging.h" | 53 #include "webrtc/base/logging.h" |
55 #include "webrtc/base/stringencode.h" | 54 #include "webrtc/base/stringencode.h" |
56 #include "webrtc/base/stringutils.h" | 55 #include "webrtc/base/stringutils.h" |
57 #include "webrtc/base/trace_event.h" | 56 #include "webrtc/base/trace_event.h" |
| 57 #include "webrtc/media/sctp/sctpdataengine.h" |
58 #include "webrtc/p2p/client/basicportallocator.h" | 58 #include "webrtc/p2p/client/basicportallocator.h" |
59 #include "webrtc/system_wrappers/include/field_trial.h" | 59 #include "webrtc/system_wrappers/include/field_trial.h" |
60 | 60 |
61 namespace { | 61 namespace { |
62 | 62 |
63 using webrtc::DataChannel; | 63 using webrtc::DataChannel; |
64 using webrtc::MediaConstraintsInterface; | 64 using webrtc::MediaConstraintsInterface; |
65 using webrtc::MediaStreamInterface; | 65 using webrtc::MediaStreamInterface; |
66 using webrtc::PeerConnectionInterface; | 66 using webrtc::PeerConnectionInterface; |
67 using webrtc::RtpSenderInterface; | 67 using webrtc::RtpSenderInterface; |
(...skipping 2020 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2088 DataChannel* PeerConnection::FindDataChannelBySid(int sid) const { | 2088 DataChannel* PeerConnection::FindDataChannelBySid(int sid) const { |
2089 for (const auto& channel : sctp_data_channels_) { | 2089 for (const auto& channel : sctp_data_channels_) { |
2090 if (channel->id() == sid) { | 2090 if (channel->id() == sid) { |
2091 return channel; | 2091 return channel; |
2092 } | 2092 } |
2093 } | 2093 } |
2094 return nullptr; | 2094 return nullptr; |
2095 } | 2095 } |
2096 | 2096 |
2097 } // namespace webrtc | 2097 } // namespace webrtc |
OLD | NEW |