@@ -56,58 +56,6 @@ class LIVEKIT_API Participant {
5656
5757 uintptr_t ffiHandleId () const noexcept { return handle_.get (); }
5858
59- // ---------------------------------------------------------------------------
60- // Deprecated public mutators
61- // ---------------------------------------------------------------------------
62-
63- // NOLINTBEGIN(readability-identifier-naming)
64-
65- // / @deprecated Use setName() instead.
66- [[deprecated("Participant::set_name is deprecated; use LocalParticipant::setName instead")]]
67- void set_name (std::string name) noexcept {
68- name_ = std::move (name);
69- }
70-
71- // / @deprecated Use setMetadata() instead.
72- [[deprecated("Participant::set_metadata is deprecated; use LocalParticipant::setMetadata instead")]]
73- void set_metadata (std::string metadata) noexcept {
74- metadata_ = std::move (metadata);
75- }
76-
77- // / @deprecated Use setAttributes() instead.
78- [[deprecated("Participant::set_attributes is deprecated; use LocalParticipant::setAttributes instead")]]
79- void set_attributes (std::unordered_map<std::string, std::string> attrs) noexcept {
80- attributes_ = std::move (attrs);
81- }
82-
83- // / @deprecated Use setAttribute() instead.
84- [[deprecated("Participant::set_attribute is deprecated; use LocalParticipant::setAttributes instead")]]
85- void set_attribute (const std::string& key, const std::string& value) {
86- attributes_[key] = value;
87- }
88-
89- // / @deprecated Use removeAttribute() instead.
90- [[deprecated("Participant::remove_attribute is deprecated; use LocalParticipant::setAttributes instead")]]
91- void remove_attribute (const std::string& key) {
92- attributes_.erase (key);
93- }
94-
95- // / @deprecated Kind is server-determined and not user-settable; this mutator will be removed.
96- [[deprecated("Participant::set_kind is deprecated; Kind is server-determined and not user-settable")]]
97- void set_kind (ParticipantKind kind) noexcept {
98- kind_ = kind;
99- }
100-
101- // / @deprecated DisconnectReason is server-determined and not user-settable; this mutator will be removed.
102- [[deprecated(
103- " Participant::set_disconnect_reason is deprecated; DisconnectReason is server-determined and not "
104- " user-settable" )]]
105- void set_disconnect_reason (DisconnectReason reason) noexcept {
106- reason_ = reason;
107- }
108-
109- // NOLINTEND(readability-identifier-naming)
110-
11159protected:
11260 virtual std::shared_ptr<TrackPublication> findTrackPublication (const std::string& sid) const = 0;
11361
0 commit comments