switch participant callbacks to room to listener interface (#4136)

* switch participant callbacks to room to listener interface

* mage generate

* clean up

* clear listener

* clean up

* use interface in up data track manager

* tweaks

* Paul feedback - should reduce the diff as this keeps the room handlers as is except making methods for a couple of anonymous handlers

* clean up
This commit is contained in:
Raja Subramanian
2025-12-08 15:59:45 +05:30
committed by GitHub
parent c6e6c0215f
commit 64f3d1e972
15 changed files with 1802 additions and 1495 deletions
+1
View File
@@ -481,6 +481,7 @@ func (r *RoomManager) StartSession(
AdaptiveStream: pi.AdaptiveStream,
AllowTCPFallback: allowFallback,
TURNSEnabled: r.config.IsTURNSEnabled(),
ParticipantListener: room.LocalParticipantListener(),
ParticipantHelper: &roomManagerParticipantHelper{
room: room,
codecRegressionThreshold: r.config.Video.CodecRegressionThreshold,