Skip to content

Commit 1bc08ab

Browse files
authored
Other minor fixes to remove unused headers and correct some comments (#108)
1 parent 2963909 commit 1bc08ab

6 files changed

Lines changed: 3 additions & 9 deletions

File tree

include/livekit/local_track_publication.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Track;
2828

2929
class LocalTrackPublication : public TrackPublication {
3030
public:
31-
/// Note, this RemoteTrackPublication is constructed internally only;
31+
/// Note, this LocalTrackPublication is constructed internally only;
3232
/// safe to accept proto::OwnedTrackPublication.
3333
explicit LocalTrackPublication(const proto::OwnedTrackPublication &owned);
3434

include/livekit/remote_video_track.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ class RemoteVideoTrack : public Track {
5050
/// Returns a concise, human-readable string summarizing the track,
5151
/// including its SID and name. Useful for debugging and logging.
5252
std::string to_string() const;
53-
54-
private:
5553
};
5654

5755
} // namespace livekit

include/livekit/track.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
#include <unordered_map>
2626
#include <vector>
2727

28-
#include <iostream>
29-
3028
namespace livekit {
3129

3230
class LocalTrackPublication;

include/livekit/video_stream.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ class FfiEvent;
5353
//
5454
// Typical usage:
5555
//
56-
// AudioStream::Options opts;
57-
// auto stream = AudioStream::fromTrack(remoteAudioTrack, opts);
56+
// VideoStream::Options opts;
57+
// auto stream = VideoStream::fromTrack(remoteVideoTrack, opts);
5858
//
5959
// AudioFrameEvent ev;
6060
// while (stream->read(ev)) {

src/remote_audio_track.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
#include "ffi.pb.h"
2020
#include "ffi_client.h"
21-
#include "livekit/audio_source.h"
2221
#include "track.pb.h"
2322
#include "track_proto_converter.h"
2423

src/remote_video_track.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
#include "ffi.pb.h"
2020
#include "ffi_client.h"
21-
#include "livekit/video_source.h"
2221
#include "track.pb.h"
2322
#include "track_proto_converter.h"
2423

0 commit comments

Comments
 (0)