OLD | NEW |
| (Empty) |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "media/cast/transport/cast_transport_config.h" | |
6 | |
7 namespace media { | |
8 namespace cast { | |
9 namespace transport { | |
10 | |
11 namespace { | |
12 const int kDefaultRtpHistoryMs = 1000; | |
13 const int kDefaultRtpMaxDelayMs = 100; | |
14 } // namespace | |
15 | |
16 CastTransportConfig::CastTransportConfig() | |
17 : sender_ssrc(0), | |
18 rtp_history_ms(kDefaultRtpHistoryMs), | |
19 rtp_max_delay_ms(kDefaultRtpMaxDelayMs), | |
20 rtp_payload_type(0), | |
21 frequency(0), | |
22 channels(0), | |
23 aes_key (""), | |
24 aes_iv_mask(0) {} | |
25 | |
26 CastTransportConfig::~CastTransportConfig() {} | |
27 | |
28 EncodedVideoFrame::EncodedVideoFrame() {} | |
29 EncodedVideoFrame::~EncodedVideoFrame() {} | |
30 | |
31 EncodedAudioFrame::EncodedAudioFrame() {} | |
32 EncodedAudioFrame::~EncodedAudioFrame() {} | |
33 | |
34 // static | |
35 void PacketReceiver::DeletePacket(const uint8* packet) { | |
36 delete [] packet; | |
37 } | |
38 | |
39 } // namespace transport | |
40 } // namespace cast | |
41 } // namespace media | |
OLD | NEW |