Skip to content

Commit 6a569bf

Browse files
Cleanup doxgen
1 parent e8c358e commit 6a569bf

3 files changed

Lines changed: 42 additions & 42 deletions

File tree

‎include/livekit/data_track_info.h‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,24 @@
2323

2424
namespace livekit {
2525

26-
/// @brief Metadata about a published data track.
26+
/// Metadata about a published data track.
2727
///
2828
/// Unlike audio/video tracks, data tracks are not part of the Track class
2929
/// hierarchy. They carry their own lightweight info struct.
3030
struct DataTrackInfo {
3131
/// @brief Publisher-assigned track name, unique per publisher.
3232
std::string name;
3333

34-
/// @brief SFU-assigned track identifier.
34+
/// SFU-assigned track identifier.
3535
std::string sid;
3636

37-
/// @brief Whether frames on this track use end-to-end encryption.
37+
/// Whether frames on this track use end-to-end encryption.
3838
bool uses_e2ee = false;
3939

40-
/// @brief Schema associated with frames sent on the track, if any.
40+
/// Schema associated with frames sent on the track, if any.
4141
std::optional<DataTrackSchemaId> schema;
4242

43-
/// @brief Encoding of frames sent on the track, if specified.
43+
/// Encoding of frames sent on the track, if specified.
4444
std::optional<DataTrackFrameEncoding> frame_encoding;
4545
};
4646

‎include/livekit/data_track_options.h‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@
2323

2424
namespace livekit {
2525

26-
/// @brief Options for publishing a data track.
26+
/// Options for publishing a data track.
2727
///
2828
/// The schema and frame encoding are optional metadata advertised to
2929
/// subscribers; they are surfaced on the subscriber side via DataTrackInfo.
3030
struct DataTrackPublishOptions {
31-
/// @brief Track name used to identify the track to other participants.
31+
/// Track name used to identify the track to other participants.
3232
///
3333
/// Must not be empty and must be unique per publisher.
3434
std::string name;
3535

36-
/// @brief Schema describing frames sent on the track, if any.
36+
/// Schema describing frames sent on the track, if any.
3737
std::optional<DataTrackSchemaId> schema;
3838

39-
/// @brief Encoding of frames sent on the track, if any.
39+
/// Encoding of frames sent on the track, if any.
4040
std::optional<DataTrackFrameEncoding> frame_encoding;
4141
};
4242

‎include/livekit/data_track_schema.h‎

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
namespace livekit {
2323

24-
/// @brief Encoding used to interpret a data track schema definition.
24+
/// Encoding used to interpret a data track schema definition.
2525
///
2626
/// Identifies the interface definition language the schema is written in (for
2727
/// example, a `.proto` file for @ref DataTrackSchemaEncoding::Protobuf), which
@@ -35,32 +35,32 @@ namespace livekit {
3535
/// @ref DataTrackSchemaEncoding::custom.
3636
class DataTrackSchemaEncoding {
3737
public:
38-
/// @brief Well-known schema encodings.
38+
/// Well-known schema encodings.
3939
enum WellKnown {
40-
/// @brief Protocol Buffer IDL.
40+
/// Protocol Buffer IDL.
4141
Protobuf,
42-
/// @brief FlatBuffer IDL.
42+
/// FlatBuffer IDL.
4343
Flatbuffer,
44-
/// @brief ROS 1 Message.
44+
/// ROS 1 Message.
4545
Ros1Msg,
46-
/// @brief ROS 2 Message.
46+
/// ROS 2 Message.
4747
Ros2Msg,
48-
/// @brief ROS 2 IDL.
48+
/// ROS 2 IDL.
4949
Ros2Idl,
50-
/// @brief OMG IDL.
50+
/// OMG IDL.
5151
OmgIdl,
52-
/// @brief JSON Schema.
52+
/// JSON Schema.
5353
JsonSchema,
54-
/// @brief Another well-known encoding not known to this client version.
54+
/// Another well-known encoding not known to this client version.
5555
Other,
5656
};
5757

58-
/// @brief Construct a well-known encoding.
58+
/// Construct a well-known encoding.
5959
///
6060
/// The constructor is intentionally implicit for the common well-known case.
6161
DataTrackSchemaEncoding(WellKnown wellKnown) : well_known_(wellKnown) {}
6262

63-
/// @brief Construct a custom, application-defined encoding.
63+
/// Construct a custom, application-defined encoding.
6464
///
6565
/// Prefer a well-known encoding wherever one applies. The identifier must be
6666
/// non-empty and no longer than 25 characters.
@@ -73,17 +73,17 @@ class DataTrackSchemaEncoding {
7373
return encoding;
7474
}
7575

76-
/// @brief Check whether this is a custom encoding.
76+
/// Check whether this is a custom encoding.
7777
///
7878
/// @return true if this is a custom encoding rather than a well-known one.
7979
bool isCustom() const { return !custom_.empty(); }
8080

81-
/// @brief Get the well-known encoding.
81+
/// Get the well-known encoding.
8282
///
8383
/// @return The well-known encoding. Only meaningful when @ref isCustom is false.
8484
WellKnown wellKnown() const { return well_known_; }
8585

86-
/// @brief Get the custom identifier.
86+
/// Get the custom identifier.
8787
///
8888
/// @return The custom identifier. Empty when @ref isCustom is false.
8989
const std::string& customIdentifier() const { return custom_; }
@@ -103,7 +103,7 @@ inline bool operator==(const DataTrackSchemaEncoding& a, const DataTrackSchemaEn
103103
}
104104
inline bool operator!=(const DataTrackSchemaEncoding& a, const DataTrackSchemaEncoding& b) { return !(a == b); }
105105

106-
/// @brief Encoding used for frames sent on a data track.
106+
/// Encoding used for frames sent on a data track.
107107
///
108108
/// The serialization format of the frame bytes (for example,
109109
/// @ref DataTrackFrameEncoding::Protobuf); the structure of those bytes is
@@ -117,32 +117,32 @@ inline bool operator!=(const DataTrackSchemaEncoding& a, const DataTrackSchemaEn
117117
/// @ref DataTrackFrameEncoding::custom.
118118
class DataTrackFrameEncoding {
119119
public:
120-
/// @brief Well-known frame encodings.
120+
/// Well-known frame encodings.
121121
enum WellKnown {
122-
/// @brief ROS 1, described by a Ros1Msg schema.
122+
/// ROS 1, described by a Ros1Msg schema.
123123
Ros1,
124-
/// @brief CDR, described by a Ros2Msg, Ros2Idl, or OmgIdl schema.
124+
/// CDR, described by a Ros2Msg, Ros2Idl, or OmgIdl schema.
125125
Cdr,
126-
/// @brief Protocol Buffer, described by a Protobuf schema.
126+
/// Protocol Buffer, described by a Protobuf schema.
127127
Protobuf,
128-
/// @brief FlatBuffer, described by a Flatbuffer schema.
128+
/// FlatBuffer, described by a Flatbuffer schema.
129129
Flatbuffer,
130-
/// @brief CBOR, self-describing.
130+
/// CBOR, self-describing.
131131
Cbor,
132-
/// @brief MessagePack, self-describing.
132+
/// MessagePack, self-describing.
133133
Msgpack,
134-
/// @brief JSON, self-describing or described by a JsonSchema schema.
134+
/// JSON, self-describing or described by a JsonSchema schema.
135135
Json,
136-
/// @brief Another well-known encoding not known to this client version.
136+
/// Another well-known encoding not known to this client version.
137137
Other,
138138
};
139139

140-
/// @brief Construct a well-known encoding.
140+
/// Construct a well-known encoding.
141141
///
142142
/// The constructor is intentionally implicit for the common well-known case.
143143
DataTrackFrameEncoding(WellKnown wellKnown) : well_known_(wellKnown) {}
144144

145-
/// @brief Construct a custom, application-defined encoding.
145+
/// Construct a custom, application-defined encoding.
146146
///
147147
/// Prefer a well-known encoding wherever one applies. The identifier must be
148148
/// non-empty and no longer than 25 characters.
@@ -155,17 +155,17 @@ class DataTrackFrameEncoding {
155155
return encoding;
156156
}
157157

158-
/// @brief Check whether this is a custom encoding.
158+
/// Check whether this is a custom encoding.
159159
///
160160
/// @return true if this is a custom encoding rather than a well-known one.
161161
bool isCustom() const { return !custom_.empty(); }
162162

163-
/// @brief Get the well-known encoding.
163+
/// Get the well-known encoding.
164164
///
165165
/// @return The well-known encoding. Only meaningful when @ref isCustom is false.
166166
WellKnown wellKnown() const { return well_known_; }
167167

168-
/// @brief Get the custom identifier.
168+
/// Get the custom identifier.
169169
///
170170
/// @return The custom identifier. Empty when @ref isCustom is false.
171171
const std::string& customIdentifier() const { return custom_; }
@@ -185,16 +185,16 @@ inline bool operator==(const DataTrackFrameEncoding& a, const DataTrackFrameEnco
185185
}
186186
inline bool operator!=(const DataTrackFrameEncoding& a, const DataTrackFrameEncoding& b) { return !(a == b); }
187187

188-
/// @brief Uniquely identifies a data track schema.
188+
/// Uniquely identifies a data track schema.
189189
///
190190
/// A compound identifier with two components: a name and an encoding. Two IDs
191191
/// are equal only if both components match; the same name with a different
192192
/// encoding refers to a distinct schema.
193193
struct DataTrackSchemaId {
194-
/// @brief Name component of the schema identifier.
194+
/// Name component of the schema identifier.
195195
std::string name;
196196

197-
/// @brief Encoding of the schema definition.
197+
/// Encoding of the schema definition.
198198
DataTrackSchemaEncoding encoding = DataTrackSchemaEncoding::Other;
199199
};
200200

0 commit comments

Comments
 (0)