OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 webrtc::RtpExtension::kTransportSequenceNumberDefaultId)); | 422 webrtc::RtpExtension::kTransportSequenceNumberDefaultId)); |
423 capabilities.header_extensions.push_back( | 423 capabilities.header_extensions.push_back( |
424 webrtc::RtpExtension(webrtc::RtpExtension::kPlayoutDelayUri, | 424 webrtc::RtpExtension(webrtc::RtpExtension::kPlayoutDelayUri, |
425 webrtc::RtpExtension::kPlayoutDelayDefaultId)); | 425 webrtc::RtpExtension::kPlayoutDelayDefaultId)); |
426 capabilities.header_extensions.push_back( | 426 capabilities.header_extensions.push_back( |
427 webrtc::RtpExtension(webrtc::RtpExtension::kVideoContentTypeUri, | 427 webrtc::RtpExtension(webrtc::RtpExtension::kVideoContentTypeUri, |
428 webrtc::RtpExtension::kVideoContentTypeDefaultId)); | 428 webrtc::RtpExtension::kVideoContentTypeDefaultId)); |
429 capabilities.header_extensions.push_back( | 429 capabilities.header_extensions.push_back( |
430 webrtc::RtpExtension(webrtc::RtpExtension::kVideoTimingUri, | 430 webrtc::RtpExtension(webrtc::RtpExtension::kVideoTimingUri, |
431 webrtc::RtpExtension::kVideoTimingDefaultId)); | 431 webrtc::RtpExtension::kVideoTimingDefaultId)); |
| 432 capabilities.header_extensions.push_back( |
| 433 webrtc::RtpExtension(webrtc::RtpExtension::kFrameMarkingUri, |
| 434 webrtc::RtpExtension::kFrameMarkingDefaultId)); |
432 return capabilities; | 435 return capabilities; |
433 } | 436 } |
434 | 437 |
435 void WebRtcVideoEngine::SetExternalDecoderFactory( | 438 void WebRtcVideoEngine::SetExternalDecoderFactory( |
436 WebRtcVideoDecoderFactory* decoder_factory) { | 439 WebRtcVideoDecoderFactory* decoder_factory) { |
437 RTC_DCHECK(!initialized_); | 440 RTC_DCHECK(!initialized_); |
438 external_decoder_factory_ = decoder_factory; | 441 external_decoder_factory_ = decoder_factory; |
439 } | 442 } |
440 | 443 |
441 void WebRtcVideoEngine::SetExternalEncoderFactory( | 444 void WebRtcVideoEngine::SetExternalEncoderFactory( |
(...skipping 2207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2649 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() - | 2652 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() - |
2650 1); | 2653 1); |
2651 } | 2654 } |
2652 | 2655 |
2653 std::vector<webrtc::VideoStream> streams; | 2656 std::vector<webrtc::VideoStream> streams; |
2654 streams.push_back(stream); | 2657 streams.push_back(stream); |
2655 return streams; | 2658 return streams; |
2656 } | 2659 } |
2657 | 2660 |
2658 } // namespace cricket | 2661 } // namespace cricket |
OLD | NEW |