mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-16 23:30:48 +01:00

The gn files are simplified from what's currently in the RingRTC repo, looking ahead to when the RingRTC Rust and Java builds for Android aren't included in the WebRTC build.
16 lines
467 B
C
16 lines
467 B
C
/*
|
|
* Copyright 2019-2021 Signal Messenger, LLC
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
#ifndef ANDROID_PEER_CONNECTION_H__
|
|
#define ANDROID_PEER_CONNECTION_H__
|
|
|
|
#include "rffi/api/rffi_defs.h"
|
|
#include <jni.h>
|
|
|
|
// Return a borrowed RC to the native PeerConnection inside of the Java wrapper.
|
|
RUSTEXPORT webrtc::PeerConnectionInterface*
|
|
Rust_borrowPeerConnectionFromJniOwnedPeerConnection(jlong owned_peer_connection);
|
|
|
|
#endif /* ANDROID_PEER_CONNECTION_H__ */
|