| 1 | /* |
| 2 | * Copyright 2025 LiveKit, Inc. |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | #pragma once |
| 18 | |
| 19 | #include "rust/cxx.h" |
| 20 | |
| 21 | namespace livekit_ffi { |
| 22 | class MediaStream; |
| 23 | class AudioTrack; |
| 24 | class VideoTrack; |
| 25 | class Candidate; |
| 26 | class RtpSender; |
| 27 | class RtpReceiver; |
| 28 | class RtpTransceiver; |
| 29 | } // namespace livekit_ffi |
| 30 | #include "webrtc-sys/src/helper.rs.h" |
| 31 | |
| 32 | namespace livekit_ffi { |
| 33 | |
| 34 | // Impl not needed |
| 35 | static rust::Vec<MediaStreamPtr> _vec_media_stream_ptr() { |
| 36 | throw; |
| 37 | } |
| 38 | static rust::Vec<CandidatePtr> _vec_candidate_ptr() { |
| 39 | throw; |
| 40 | } |
| 41 | static rust::Vec<AudioTrackPtr> _vec_audio_track_ptr() { |
| 42 | throw; |
| 43 | } |
| 44 | static rust::Vec<VideoTrackPtr> _vec_video_track_ptr() { |
| 45 | throw; |
| 46 | } |
| 47 | static rust::Vec<RtpSenderPtr> _vec_rtp_sender_ptr() { |
| 48 | throw; |
| 49 | } |
| 50 | static rust::Vec<RtpReceiverPtr> _vec_rtp_receiver_ptr() { |
| 51 | throw; |
| 52 | } |
| 53 | static rust::Vec<RtpTransceiverPtr> _vec_rtp_transceiver_ptr() { |
| 54 | throw; |
| 55 | } |
| 56 | |
| 57 | } // namespace livekit_ffi |