| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 // The operations below all occur on the worker thread. | 89 // The operations below all occur on the worker thread. |
| 90 // Creates a voice channel, to be associated with the specified session. | 90 // Creates a voice channel, to be associated with the specified session. |
| 91 VoiceChannel* CreateVoiceChannel( | 91 VoiceChannel* CreateVoiceChannel( |
| 92 webrtc::MediaControllerInterface* media_controller, | 92 webrtc::MediaControllerInterface* media_controller, |
| 93 DtlsTransportInternal* rtp_transport, | 93 DtlsTransportInternal* rtp_transport, |
| 94 DtlsTransportInternal* rtcp_transport, | 94 DtlsTransportInternal* rtcp_transport, |
| 95 rtc::Thread* signaling_thread, | 95 rtc::Thread* signaling_thread, |
| 96 const std::string& content_name, | 96 const std::string& content_name, |
| 97 bool srtp_required, | 97 bool srtp_required, |
| 98 const AudioOptions& options); | 98 const AudioOptions& options); |
| 99 // Version of the above that takes PacketTransportInternal. |
| 100 VoiceChannel* CreateVoiceChannel( |
| 101 webrtc::MediaControllerInterface* media_controller, |
| 102 rtc::PacketTransportInternal* rtp_transport, |
| 103 rtc::PacketTransportInternal* rtcp_transport, |
| 104 rtc::Thread* signaling_thread, |
| 105 const std::string& content_name, |
| 106 bool srtp_required, |
| 107 const AudioOptions& options); |
| 99 // Destroys a voice channel created with the Create API. | 108 // Destroys a voice channel created with the Create API. |
| 100 void DestroyVoiceChannel(VoiceChannel* voice_channel); | 109 void DestroyVoiceChannel(VoiceChannel* voice_channel); |
| 101 // Creates a video channel, synced with the specified voice channel, and | 110 // Creates a video channel, synced with the specified voice channel, and |
| 102 // associated with the specified session. | 111 // associated with the specified session. |
| 103 VideoChannel* CreateVideoChannel( | 112 VideoChannel* CreateVideoChannel( |
| 104 webrtc::MediaControllerInterface* media_controller, | 113 webrtc::MediaControllerInterface* media_controller, |
| 105 DtlsTransportInternal* rtp_transport, | 114 DtlsTransportInternal* rtp_transport, |
| 106 DtlsTransportInternal* rtcp_transport, | 115 DtlsTransportInternal* rtcp_transport, |
| 107 rtc::Thread* signaling_thread, | 116 rtc::Thread* signaling_thread, |
| 108 const std::string& content_name, | 117 const std::string& content_name, |
| 109 bool srtp_required, | 118 bool srtp_required, |
| 110 const VideoOptions& options); | 119 const VideoOptions& options); |
| 120 // Version of the above that takes PacketTransportInternal. |
| 121 VideoChannel* CreateVideoChannel( |
| 122 webrtc::MediaControllerInterface* media_controller, |
| 123 rtc::PacketTransportInternal* rtp_transport, |
| 124 rtc::PacketTransportInternal* rtcp_transport, |
| 125 rtc::Thread* signaling_thread, |
| 126 const std::string& content_name, |
| 127 bool srtp_required, |
| 128 const VideoOptions& options); |
| 111 // Destroys a video channel created with the Create API. | 129 // Destroys a video channel created with the Create API. |
| 112 void DestroyVideoChannel(VideoChannel* video_channel); | 130 void DestroyVideoChannel(VideoChannel* video_channel); |
| 113 RtpDataChannel* CreateRtpDataChannel( | 131 RtpDataChannel* CreateRtpDataChannel( |
| 114 webrtc::MediaControllerInterface* media_controller, | 132 webrtc::MediaControllerInterface* media_controller, |
| 115 DtlsTransportInternal* rtp_transport, | 133 DtlsTransportInternal* rtp_transport, |
| 116 DtlsTransportInternal* rtcp_transport, | 134 DtlsTransportInternal* rtcp_transport, |
| 117 rtc::Thread* signaling_thread, | 135 rtc::Thread* signaling_thread, |
| 118 const std::string& content_name, | 136 const std::string& content_name, |
| 119 bool srtp_required); | 137 bool srtp_required); |
| 120 // Destroys a data channel created with the Create API. | 138 // Destroys a data channel created with the Create API. |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 void Construct(std::unique_ptr<MediaEngineInterface> me, | 172 void Construct(std::unique_ptr<MediaEngineInterface> me, |
| 155 std::unique_ptr<DataEngineInterface> dme, | 173 std::unique_ptr<DataEngineInterface> dme, |
| 156 rtc::Thread* worker_thread, | 174 rtc::Thread* worker_thread, |
| 157 rtc::Thread* network_thread); | 175 rtc::Thread* network_thread); |
| 158 bool InitMediaEngine_w(); | 176 bool InitMediaEngine_w(); |
| 159 void DestructorDeletes_w(); | 177 void DestructorDeletes_w(); |
| 160 void Terminate_w(); | 178 void Terminate_w(); |
| 161 bool SetCryptoOptions_w(const rtc::CryptoOptions& crypto_options); | 179 bool SetCryptoOptions_w(const rtc::CryptoOptions& crypto_options); |
| 162 VoiceChannel* CreateVoiceChannel_w( | 180 VoiceChannel* CreateVoiceChannel_w( |
| 163 webrtc::MediaControllerInterface* media_controller, | 181 webrtc::MediaControllerInterface* media_controller, |
| 164 DtlsTransportInternal* rtp_transport, | 182 DtlsTransportInternal* rtp_dtls_transport, |
| 165 DtlsTransportInternal* rtcp_transport, | 183 DtlsTransportInternal* rtcp_dtls_transport, |
| 184 rtc::PacketTransportInternal* rtp_packet_transport, |
| 185 rtc::PacketTransportInternal* rtcp_packet_transport, |
| 166 rtc::Thread* signaling_thread, | 186 rtc::Thread* signaling_thread, |
| 167 const std::string& content_name, | 187 const std::string& content_name, |
| 168 bool srtp_required, | 188 bool srtp_required, |
| 169 const AudioOptions& options); | 189 const AudioOptions& options); |
| 170 void DestroyVoiceChannel_w(VoiceChannel* voice_channel); | 190 void DestroyVoiceChannel_w(VoiceChannel* voice_channel); |
| 171 VideoChannel* CreateVideoChannel_w( | 191 VideoChannel* CreateVideoChannel_w( |
| 172 webrtc::MediaControllerInterface* media_controller, | 192 webrtc::MediaControllerInterface* media_controller, |
| 173 DtlsTransportInternal* rtp_transport, | 193 DtlsTransportInternal* rtp_dtls_transport, |
| 174 DtlsTransportInternal* rtcp_transport, | 194 DtlsTransportInternal* rtcp_dtls_transport, |
| 195 rtc::PacketTransportInternal* rtp_packet_transport, |
| 196 rtc::PacketTransportInternal* rtcp_packet_transport, |
| 175 rtc::Thread* signaling_thread, | 197 rtc::Thread* signaling_thread, |
| 176 const std::string& content_name, | 198 const std::string& content_name, |
| 177 bool srtp_required, | 199 bool srtp_required, |
| 178 const VideoOptions& options); | 200 const VideoOptions& options); |
| 179 void DestroyVideoChannel_w(VideoChannel* video_channel); | 201 void DestroyVideoChannel_w(VideoChannel* video_channel); |
| 180 RtpDataChannel* CreateRtpDataChannel_w( | 202 RtpDataChannel* CreateRtpDataChannel_w( |
| 181 webrtc::MediaControllerInterface* media_controller, | 203 webrtc::MediaControllerInterface* media_controller, |
| 182 DtlsTransportInternal* rtp_transport, | 204 DtlsTransportInternal* rtp_transport, |
| 183 DtlsTransportInternal* rtcp_transport, | 205 DtlsTransportInternal* rtcp_transport, |
| 184 rtc::Thread* signaling_thread, | 206 rtc::Thread* signaling_thread, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 199 | 221 |
| 200 bool enable_rtx_; | 222 bool enable_rtx_; |
| 201 rtc::CryptoOptions crypto_options_; | 223 rtc::CryptoOptions crypto_options_; |
| 202 | 224 |
| 203 bool capturing_; | 225 bool capturing_; |
| 204 }; | 226 }; |
| 205 | 227 |
| 206 } // namespace cricket | 228 } // namespace cricket |
| 207 | 229 |
| 208 #endif // WEBRTC_PC_CHANNELMANAGER_H_ | 230 #endif // WEBRTC_PC_CHANNELMANAGER_H_ |
| OLD | NEW |