LiveKit C++ SDK
Real-time audio/video SDK for C++
Loading...
Searching...
No Matches
remote_audio_track.h
1/*
2 * Copyright 2025 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 "track.h"
20#include <memory>
21#include <string>
22
23namespace livekit {
24
25namespace proto {
26class OwnedTrack;
27}
28
29class AudioSource;
30
43class RemoteAudioTrack : public Track {
44public:
48 explicit RemoteAudioTrack(const proto::OwnedTrack &track);
49
52 std::string to_string() const;
53};
54
55} // namespace livekit
Definition remote_audio_track.h:43
std::string to_string() const
RemoteAudioTrack(const proto::OwnedTrack &track)
Definition track.h:71