Delete deprecated version of PeerConnectionFactoryInterface::StartAecDump

Bug: webrtc:6463
Change-Id: Ia60c34f7e1c9f3bb3f18417c7b621ba033e2ab5d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/141668
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28395}
This commit is contained in:
Niels Möller
2019-06-24 09:39:56 +02:00
committed by Commit Bot
parent bca1485a7a
commit e4ac723bdc
7 changed files with 12 additions and 27 deletions

View File

@ -420,10 +420,16 @@ jlong JNI_PeerConnectionFactory_CreateAudioTrack(
static jboolean JNI_PeerConnectionFactory_StartAecDump(
JNIEnv* jni,
jlong native_factory,
jint file,
jint file_descriptor,
jint filesize_limit_bytes) {
FILE* f = fdopen(file_descriptor, "wb");
if (!f) {
close(file_descriptor);
return false;
}
return PeerConnectionFactoryFromJava(native_factory)
->StartAecDump(file, filesize_limit_bytes);
->StartAecDump(f, filesize_limit_bytes);
}
static void JNI_PeerConnectionFactory_StopAecDump(JNIEnv* jni,