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

Side by Side Diff: voice_engine/voe_network_impl.h

Issue 3016543002: Remove VoENetwork (Closed)
Patch Set: rebase Created 3 years, 3 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
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #ifndef VOICE_ENGINE_VOE_NETWORK_IMPL_H_
12 #define VOICE_ENGINE_VOE_NETWORK_IMPL_H_
13
14 #include "voice_engine/include/voe_network.h"
15
16 #include "voice_engine/shared_data.h"
17
18 namespace webrtc {
19
20 class VoENetworkImpl : public VoENetwork {
21 public:
22 int RegisterExternalTransport(int channel, Transport& transport) override;
23 int DeRegisterExternalTransport(int channel) override;
24
25 int ReceivedRTPPacket(int channel, const void* data, size_t length) override;
26 int ReceivedRTPPacket(int channel,
27 const void* data,
28 size_t length,
29 const PacketTime& packet_time) override;
30
31 int ReceivedRTCPPacket(int channel, const void* data, size_t length) override;
32
33 protected:
34 VoENetworkImpl(voe::SharedData* shared);
35 ~VoENetworkImpl() override;
36
37 private:
38 voe::SharedData* _shared;
39 };
40
41 } // namespace webrtc
42
43 #endif // VOICE_ENGINE_VOE_NETWORK_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698