fork/rust-sdks

git clone https://git.julia.blue/fork/rust-sdks

Théo Monnomlicense headers (#40)6094271

main
1.4 KiB57 linesraw
1/*
2 * Copyright 2023 LiveKit
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
21namespace livekit {
22class MediaStream;
23class AudioTrack;
24class VideoTrack;
25class Candidate;
26class RtpSender;
27class RtpReceiver;
28class RtpTransceiver;
29}  // namespace livekit
30#include "webrtc-sys/src/helper.rs.h"
31
32namespace livekit {
33
34// Impl not needed
35static rust::Vec<MediaStreamPtr> _vec_media_stream_ptr() {
36  throw;
37}
38static rust::Vec<CandidatePtr> _vec_candidate_ptr() {
39  throw;
40}
41static rust::Vec<AudioTrackPtr> _vec_audio_track_ptr() {
42  throw;
43}
44static rust::Vec<VideoTrackPtr> _vec_video_track_ptr() {
45  throw;
46}
47static rust::Vec<RtpSenderPtr> _vec_rtp_sender_ptr() {
48  throw;
49}
50static rust::Vec<RtpReceiverPtr> _vec_rtp_receiver_ptr() {
51  throw;
52}
53static rust::Vec<RtpTransceiverPtr> _vec_rtp_transceiver_ptr() {
54  throw;
55}
56
57}  // namespace livekit