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

Side by Side Diff: webrtc/sdk/android/src/jni/peerconnection_jni.cc

Issue 2514883002: Create //webrtc/api:libjingle_peerconnection_api + refactorings. (Closed)
Patch Set: Rebase Created 3 years, 11 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
« no previous file with comments | « webrtc/sdk/android/src/jni/androidvideotracksource_jni.cc ('k') | webrtc/sdk/objc/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2013 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 27 matching lines...) Expand all
38 #include <jni.h> 38 #include <jni.h>
39 #undef JNIEXPORT 39 #undef JNIEXPORT
40 #define JNIEXPORT __attribute__((visibility("default"))) 40 #define JNIEXPORT __attribute__((visibility("default")))
41 41
42 #include <limits> 42 #include <limits>
43 #include <memory> 43 #include <memory>
44 #include <utility> 44 #include <utility>
45 45
46 #include "third_party/libyuv/include/libyuv/convert_from.h" 46 #include "third_party/libyuv/include/libyuv/convert_from.h"
47 #include "third_party/libyuv/include/libyuv/scale.h" 47 #include "third_party/libyuv/include/libyuv/scale.h"
48 #include "webrtc/sdk/android/src/jni/androidmediadecoder_jni.h"
49 #include "webrtc/sdk/android/src/jni/androidmediaencoder_jni.h"
50 #include "webrtc/sdk/android/src/jni/androidnetworkmonitor_jni.h"
51 #include "webrtc/sdk/android/src/jni/androidvideotracksource.h"
52 #include "webrtc/sdk/android/src/jni/classreferenceholder.h"
53 #include "webrtc/sdk/android/src/jni/jni_helpers.h"
54 #include "webrtc/sdk/android/src/jni/native_handle_impl.h"
55 #include "webrtc/api/mediaconstraintsinterface.h" 48 #include "webrtc/api/mediaconstraintsinterface.h"
56 #include "webrtc/api/peerconnectioninterface.h" 49 #include "webrtc/api/peerconnectioninterface.h"
57 #include "webrtc/api/rtpreceiverinterface.h" 50 #include "webrtc/api/rtpreceiverinterface.h"
58 #include "webrtc/api/rtpsenderinterface.h" 51 #include "webrtc/api/rtpsenderinterface.h"
59 #include "webrtc/api/videosourceproxy.h" 52 #include "webrtc/api/videosourceproxy.h"
60 #include "webrtc/api/webrtcsdp.h"
61 #include "webrtc/base/bind.h" 53 #include "webrtc/base/bind.h"
62 #include "webrtc/base/checks.h" 54 #include "webrtc/base/checks.h"
63 #include "webrtc/base/event_tracer.h" 55 #include "webrtc/base/event_tracer.h"
64 #include "webrtc/base/logging.h" 56 #include "webrtc/base/logging.h"
65 #include "webrtc/base/logsinks.h" 57 #include "webrtc/base/logsinks.h"
66 #include "webrtc/base/messagequeue.h" 58 #include "webrtc/base/messagequeue.h"
67 #include "webrtc/base/networkmonitor.h" 59 #include "webrtc/base/networkmonitor.h"
68 #include "webrtc/base/rtccertificategenerator.h" 60 #include "webrtc/base/rtccertificategenerator.h"
69 #include "webrtc/base/ssladapter.h" 61 #include "webrtc/base/ssladapter.h"
70 #include "webrtc/base/stringutils.h" 62 #include "webrtc/base/stringutils.h"
71 #include "webrtc/media/base/videocapturer.h" 63 #include "webrtc/media/base/videocapturer.h"
72 #include "webrtc/media/engine/webrtcvideodecoderfactory.h" 64 #include "webrtc/media/engine/webrtcvideodecoderfactory.h"
73 #include "webrtc/media/engine/webrtcvideoencoderfactory.h" 65 #include "webrtc/media/engine/webrtcvideoencoderfactory.h"
74 #include "webrtc/system_wrappers/include/field_trial.h" 66 #include "webrtc/system_wrappers/include/field_trial.h"
67 #include "webrtc/pc/webrtcsdp.h"
68 #include "webrtc/sdk/android/src/jni/androidmediadecoder_jni.h"
69 #include "webrtc/sdk/android/src/jni/androidmediaencoder_jni.h"
70 #include "webrtc/sdk/android/src/jni/androidnetworkmonitor_jni.h"
71 #include "webrtc/sdk/android/src/jni/androidvideotracksource.h"
72 #include "webrtc/sdk/android/src/jni/classreferenceholder.h"
73 #include "webrtc/sdk/android/src/jni/jni_helpers.h"
74 #include "webrtc/sdk/android/src/jni/native_handle_impl.h"
75 #include "webrtc/system_wrappers/include/field_trial_default.h" 75 #include "webrtc/system_wrappers/include/field_trial_default.h"
76 #include "webrtc/system_wrappers/include/logcat_trace_context.h" 76 #include "webrtc/system_wrappers/include/logcat_trace_context.h"
77 #include "webrtc/system_wrappers/include/trace.h" 77 #include "webrtc/system_wrappers/include/trace.h"
78 #include "webrtc/voice_engine/include/voe_base.h" 78 #include "webrtc/voice_engine/include/voe_base.h"
79 79
80 using cricket::WebRtcVideoDecoderFactory; 80 using cricket::WebRtcVideoDecoderFactory;
81 using cricket::WebRtcVideoEncoderFactory; 81 using cricket::WebRtcVideoEncoderFactory;
82 using rtc::Bind; 82 using rtc::Bind;
83 using rtc::Thread; 83 using rtc::Thread;
84 using rtc::ThreadManager; 84 using rtc::ThreadManager;
(...skipping 2524 matching lines...) Expand 10 before | Expand all | Expand 10 after
2609 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer) 2609 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)
2610 ->SetObserver(nullptr); 2610 ->SetObserver(nullptr);
2611 RtpReceiverObserver* observer = 2611 RtpReceiverObserver* observer =
2612 reinterpret_cast<RtpReceiverObserver*>(j_observer_pointer); 2612 reinterpret_cast<RtpReceiverObserver*>(j_observer_pointer);
2613 if (observer) { 2613 if (observer) {
2614 delete observer; 2614 delete observer;
2615 } 2615 }
2616 } 2616 }
2617 2617
2618 } // namespace webrtc_jni 2618 } // namespace webrtc_jni
OLDNEW
« no previous file with comments | « webrtc/sdk/android/src/jni/androidvideotracksource_jni.cc ('k') | webrtc/sdk/objc/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698