| OLD | NEW |
| 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 |
| 11 // This file contains interfaces for RtpSenders: | 11 // This file contains interfaces for RtpSenders: |
| 12 // http://publications.ortc.org/2016/20161202/#rtcrtpsender* | 12 // http://publications.ortc.org/2016/20161202/#rtcrtpsender* |
| 13 // | 13 // |
| 14 // However, underneath the RtpSender is an RtpTransport, rather than a | 14 // However, underneath the RtpSender is an RtpTransport, rather than a |
| 15 // DtlsTransport. This is to allow different types of RTP transports (besides | 15 // DtlsTransport. This is to allow different types of RTP transports (besides |
| 16 // DTLS-SRTP) to be used. | 16 // DTLS-SRTP) to be used. |
| 17 | 17 |
| 18 #ifndef WEBRTC_API_ORTC_ORTCRTPSENDERINTERFACE_H_ | 18 #ifndef WEBRTC_API_ORTC_ORTCRTPSENDERINTERFACE_H_ |
| 19 #define WEBRTC_API_ORTC_ORTCRTPSENDERINTERFACE_H_ | 19 #define WEBRTC_API_ORTC_ORTCRTPSENDERINTERFACE_H_ |
| 20 | 20 |
| 21 #include "webrtc/api/mediastreaminterface.h" |
| 21 #include "webrtc/api/mediatypes.h" | 22 #include "webrtc/api/mediatypes.h" |
| 22 #include "webrtc/api/mediastreaminterface.h" | |
| 23 #include "webrtc/api/ortc/rtptransportinterface.h" | 23 #include "webrtc/api/ortc/rtptransportinterface.h" |
| 24 #include "webrtc/api/rtcerror.h" | 24 #include "webrtc/api/rtcerror.h" |
| 25 #include "webrtc/api/rtpparameters.h" | 25 #include "webrtc/api/rtpparameters.h" |
| 26 | 26 |
| 27 namespace webrtc { | 27 namespace webrtc { |
| 28 | 28 |
| 29 // Note: Since sender capabilities may depend on how the OrtcFactory was | 29 // Note: Since sender capabilities may depend on how the OrtcFactory was |
| 30 // created, instead of a static "GetCapabilities" method on this interface, | 30 // created, instead of a static "GetCapabilities" method on this interface, |
| 31 // there is a "GetRtpSenderCapabilities" method on the OrtcFactory. | 31 // there is a "GetRtpSenderCapabilities" method on the OrtcFactory. |
| 32 class OrtcRtpSenderInterface { | 32 class OrtcRtpSenderInterface { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 // Audio or video sender? | 69 // Audio or video sender? |
| 70 virtual cricket::MediaType GetKind() const = 0; | 70 virtual cricket::MediaType GetKind() const = 0; |
| 71 | 71 |
| 72 // TODO(deadbeef): SSRC conflict signal. | 72 // TODO(deadbeef): SSRC conflict signal. |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace webrtc | 75 } // namespace webrtc |
| 76 | 76 |
| 77 #endif // WEBRTC_API_ORTC_ORTCRTPSENDERINTERFACE_H_ | 77 #endif // WEBRTC_API_ORTC_ORTCRTPSENDERINTERFACE_H_ |
| OLD | NEW |