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

Side by Side Diff: talk/app/webrtc/java/jni/peerconnection_jni.cc

Issue 1587193006: Move talk/media to webrtc/media (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased to b647aca12a884a13c1728118586245399b55fa3d (#11493) Created 4 years, 10 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 | « talk/app/webrtc/java/jni/native_handle_impl.cc ('k') | talk/app/webrtc/jsepicecandidate.h » ('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 * libjingle 2 * libjingle
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // return to the Java frame that called code in this file, at which point it's 52 // return to the Java frame that called code in this file, at which point it's
53 // impossible to tell which JNI call broke). 53 // impossible to tell which JNI call broke).
54 54
55 #include <jni.h> 55 #include <jni.h>
56 #undef JNIEXPORT 56 #undef JNIEXPORT
57 #define JNIEXPORT __attribute__((visibility("default"))) 57 #define JNIEXPORT __attribute__((visibility("default")))
58 58
59 #include <limits> 59 #include <limits>
60 #include <utility> 60 #include <utility>
61 61
62 #include "talk/app/webrtc/dtlsidentitystore.h"
62 #include "talk/app/webrtc/java/jni/classreferenceholder.h" 63 #include "talk/app/webrtc/java/jni/classreferenceholder.h"
63 #include "talk/app/webrtc/java/jni/jni_helpers.h" 64 #include "talk/app/webrtc/java/jni/jni_helpers.h"
64 #include "talk/app/webrtc/java/jni/native_handle_impl.h" 65 #include "talk/app/webrtc/java/jni/native_handle_impl.h"
65 #include "talk/app/webrtc/dtlsidentitystore.h"
66 #include "talk/app/webrtc/mediaconstraintsinterface.h" 66 #include "talk/app/webrtc/mediaconstraintsinterface.h"
67 #include "talk/app/webrtc/peerconnectioninterface.h" 67 #include "talk/app/webrtc/peerconnectioninterface.h"
68 #include "talk/app/webrtc/rtpreceiverinterface.h" 68 #include "talk/app/webrtc/rtpreceiverinterface.h"
69 #include "talk/app/webrtc/rtpsenderinterface.h" 69 #include "talk/app/webrtc/rtpsenderinterface.h"
70 #include "talk/app/webrtc/videosourceinterface.h" 70 #include "talk/app/webrtc/videosourceinterface.h"
71 #include "talk/media/base/videocapturer.h"
72 #include "talk/media/base/videorenderer.h"
73 #include "talk/media/devices/videorendererfactory.h"
74 #include "talk/media/webrtc/webrtcvideodecoderfactory.h"
75 #include "talk/media/webrtc/webrtcvideoencoderfactory.h"
76 #include "webrtc/base/bind.h" 71 #include "webrtc/base/bind.h"
77 #include "webrtc/base/checks.h" 72 #include "webrtc/base/checks.h"
78 #include "webrtc/base/event_tracer.h" 73 #include "webrtc/base/event_tracer.h"
79 #include "webrtc/base/logging.h" 74 #include "webrtc/base/logging.h"
80 #include "webrtc/base/logsinks.h" 75 #include "webrtc/base/logsinks.h"
81 #include "webrtc/base/messagequeue.h" 76 #include "webrtc/base/messagequeue.h"
82 #include "webrtc/base/networkmonitor.h" 77 #include "webrtc/base/networkmonitor.h"
83 #include "webrtc/base/ssladapter.h" 78 #include "webrtc/base/ssladapter.h"
84 #include "webrtc/base/stringutils.h" 79 #include "webrtc/base/stringutils.h"
80 #include "webrtc/media/base/videocapturer.h"
81 #include "webrtc/media/base/videorenderer.h"
82 #include "webrtc/media/devices/videorendererfactory.h"
83 #include "webrtc/media/webrtc/webrtcvideodecoderfactory.h"
84 #include "webrtc/media/webrtc/webrtcvideoencoderfactory.h"
85 #include "webrtc/system_wrappers/include/field_trial_default.h" 85 #include "webrtc/system_wrappers/include/field_trial_default.h"
86 #include "webrtc/system_wrappers/include/trace.h" 86 #include "webrtc/system_wrappers/include/trace.h"
87 #include "webrtc/voice_engine/include/voe_base.h" 87 #include "webrtc/voice_engine/include/voe_base.h"
88 88
89 #if defined(ANDROID) && !defined(WEBRTC_CHROMIUM_BUILD) 89 #if defined(ANDROID) && !defined(WEBRTC_CHROMIUM_BUILD)
90 #include "talk/app/webrtc/androidvideocapturer.h" 90 #include "talk/app/webrtc/androidvideocapturer.h"
91 #include "talk/app/webrtc/java/jni/androidmediadecoder_jni.h" 91 #include "talk/app/webrtc/java/jni/androidmediadecoder_jni.h"
92 #include "talk/app/webrtc/java/jni/androidmediaencoder_jni.h" 92 #include "talk/app/webrtc/java/jni/androidmediaencoder_jni.h"
93 #include "talk/app/webrtc/java/jni/androidnetworkmonitor_jni.h"
93 #include "talk/app/webrtc/java/jni/androidvideocapturer_jni.h" 94 #include "talk/app/webrtc/java/jni/androidvideocapturer_jni.h"
94 #include "talk/app/webrtc/java/jni/androidnetworkmonitor_jni.h"
95 #include "webrtc/modules/video_render/video_render_internal.h" 95 #include "webrtc/modules/video_render/video_render_internal.h"
96 #include "webrtc/system_wrappers/include/logcat_trace_context.h" 96 #include "webrtc/system_wrappers/include/logcat_trace_context.h"
97 using webrtc::LogcatTraceContext; 97 using webrtc::LogcatTraceContext;
98 #endif 98 #endif
99 99
100 using cricket::WebRtcVideoDecoderFactory; 100 using cricket::WebRtcVideoDecoderFactory;
101 using cricket::WebRtcVideoEncoderFactory; 101 using cricket::WebRtcVideoEncoderFactory;
102 using rtc::Bind; 102 using rtc::Bind;
103 using rtc::Thread; 103 using rtc::Thread;
104 using rtc::ThreadManager; 104 using rtc::ThreadManager;
(...skipping 2043 matching lines...) Expand 10 before | Expand all | Expand 10 after
2148 return JavaStringFromStdString( 2148 return JavaStringFromStdString(
2149 jni, 2149 jni,
2150 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->id()); 2150 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->id());
2151 } 2151 }
2152 2152
2153 JOW(void, RtpReceiver_free)(JNIEnv* jni, jclass, jlong j_rtp_receiver_pointer) { 2153 JOW(void, RtpReceiver_free)(JNIEnv* jni, jclass, jlong j_rtp_receiver_pointer) {
2154 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->Release(); 2154 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->Release();
2155 } 2155 }
2156 2156
2157 } // namespace webrtc_jni 2157 } // namespace webrtc_jni
OLDNEW
« no previous file with comments | « talk/app/webrtc/java/jni/native_handle_impl.cc ('k') | talk/app/webrtc/jsepicecandidate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698