OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 // Video codec types | 545 // Video codec types |
546 enum VideoCodecType { | 546 enum VideoCodecType { |
547 kVideoCodecVP8, | 547 kVideoCodecVP8, |
548 kVideoCodecVP9, | 548 kVideoCodecVP9, |
549 kVideoCodecH264, | 549 kVideoCodecH264, |
550 kVideoCodecI420, | 550 kVideoCodecI420, |
551 kVideoCodecRED, | 551 kVideoCodecRED, |
552 kVideoCodecULPFEC, | 552 kVideoCodecULPFEC, |
553 kVideoCodecFlexfec, | 553 kVideoCodecFlexfec, |
554 kVideoCodecGeneric, | 554 kVideoCodecGeneric, |
| 555 kVideoCodecStereo, |
555 kVideoCodecUnknown | 556 kVideoCodecUnknown |
556 }; | 557 }; |
557 | 558 |
558 // Translates from name of codec to codec type and vice versa. | 559 // Translates from name of codec to codec type and vice versa. |
559 const char* CodecTypeToPayloadString(VideoCodecType type); | 560 const char* CodecTypeToPayloadString(VideoCodecType type); |
560 VideoCodecType PayloadStringToCodecType(const std::string& name); | 561 VideoCodecType PayloadStringToCodecType(const std::string& name); |
561 | 562 |
562 union VideoCodecUnion { | 563 union VideoCodecUnion { |
563 VideoCodecVP8 VP8; | 564 VideoCodecVP8 VP8; |
564 VideoCodecVP9 VP9; | 565 VideoCodecVP9 VP9; |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
970 bool operator==(const RtpKeepAliveConfig& o) const { | 971 bool operator==(const RtpKeepAliveConfig& o) const { |
971 return timeout_interval_ms == o.timeout_interval_ms && | 972 return timeout_interval_ms == o.timeout_interval_ms && |
972 payload_type == o.payload_type; | 973 payload_type == o.payload_type; |
973 } | 974 } |
974 bool operator!=(const RtpKeepAliveConfig& o) const { return !(*this == o); } | 975 bool operator!=(const RtpKeepAliveConfig& o) const { return !(*this == o); } |
975 }; | 976 }; |
976 | 977 |
977 } // namespace webrtc | 978 } // namespace webrtc |
978 | 979 |
979 #endif // COMMON_TYPES_H_ | 980 #endif // COMMON_TYPES_H_ |
OLD | NEW |