Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: webrtc/ortc/ortcfactory.h

Issue 2714813004: Create the SrtpTransportInterface. (Closed)
Patch Set: Use rtc::Optional for SRTP send and receive keys. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/ortc/BUILD.gn ('k') | webrtc/ortc/ortcfactory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2017 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 RTCErrorOr<std::unique_ptr<RtpTransportControllerInterface>> 43 RTCErrorOr<std::unique_ptr<RtpTransportControllerInterface>>
44 CreateRtpTransportController() override; 44 CreateRtpTransportController() override;
45 45
46 RTCErrorOr<std::unique_ptr<RtpTransportInterface>> CreateRtpTransport( 46 RTCErrorOr<std::unique_ptr<RtpTransportInterface>> CreateRtpTransport(
47 const RtcpParameters& rtcp_parameters, 47 const RtcpParameters& rtcp_parameters,
48 PacketTransportInterface* rtp, 48 PacketTransportInterface* rtp,
49 PacketTransportInterface* rtcp, 49 PacketTransportInterface* rtcp,
50 RtpTransportControllerInterface* transport_controller) override; 50 RtpTransportControllerInterface* transport_controller) override;
51 51
52 RTCErrorOr<std::unique_ptr<SrtpTransportInterface>> CreateSrtpTransport(
53 const RtcpParameters& rtcp_parameters,
54 PacketTransportInterface* rtp,
55 PacketTransportInterface* rtcp,
56 RtpTransportControllerInterface* transport_controller) override;
57
52 RtpCapabilities GetRtpSenderCapabilities( 58 RtpCapabilities GetRtpSenderCapabilities(
53 cricket::MediaType kind) const override; 59 cricket::MediaType kind) const override;
54 60
55 RTCErrorOr<std::unique_ptr<OrtcRtpSenderInterface>> CreateRtpSender( 61 RTCErrorOr<std::unique_ptr<OrtcRtpSenderInterface>> CreateRtpSender(
56 rtc::scoped_refptr<MediaStreamTrackInterface> track, 62 rtc::scoped_refptr<MediaStreamTrackInterface> track,
57 RtpTransportInterface* transport) override; 63 RtpTransportInterface* transport) override;
58 64
59 RTCErrorOr<std::unique_ptr<OrtcRtpSenderInterface>> CreateRtpSender( 65 RTCErrorOr<std::unique_ptr<OrtcRtpSenderInterface>> CreateRtpSender(
60 cricket::MediaType kind, 66 cricket::MediaType kind,
61 RtpTransportInterface* transport) override; 67 RtpTransportInterface* transport) override;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 std::string default_cname_; 141 std::string default_cname_;
136 142
137 friend class OrtcFactoryInterface; 143 friend class OrtcFactoryInterface;
138 144
139 RTC_DISALLOW_COPY_AND_ASSIGN(OrtcFactory); 145 RTC_DISALLOW_COPY_AND_ASSIGN(OrtcFactory);
140 }; 146 };
141 147
142 } // namespace webrtc 148 } // namespace webrtc
143 149
144 #endif // WEBRTC_ORTC_ORTCFACTORY_H_ 150 #endif // WEBRTC_ORTC_ORTCFACTORY_H_
OLDNEW
« no previous file with comments | « webrtc/ortc/BUILD.gn ('k') | webrtc/ortc/ortcfactory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698