LiveKit C++ Client SDK v1.1.0
Real-time audio/video/data SDK for C++
Loading...
Searching...
No Matches
local_track_publication.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 "livekit/track_publication.h"
20#include "livekit/visibility.h"
21
22namespace livekit {
23
24namespace proto {
25class OwnedTrackPublication;
26}
27
29class LIVEKIT_API LocalTrackPublication : public TrackPublication {
30public:
33 explicit LocalTrackPublication(const proto::OwnedTrackPublication& owned);
34};
35
36} // namespace livekit
A track published by a local participant.
Definition local_track_publication.h:29
LocalTrackPublication(const proto::OwnedTrackPublication &owned)
Note, this LocalTrackPublication is constructed internally only; safe to accept proto::OwnedTrackPubl...
Base class for a track that has been published to a room.
Definition track_publication.h:39
Public API for the LiveKit C++ Client SDK.
Definition audio_frame.h:25