mirror of
https://github.com/livekit/livekit.git
synced 2026-04-27 19:25:27 +00:00
2a6a9b8a4a
Currently, it is a bit of a mish-mash - some compose the message fully and just call send() - some give parameters and the message is composed in participant_signal.go Was thinking about making an interface for signalling and have v1/v2 impls, but did not want to repeat composing messages if there are common messages. And some of those function reach into `ParicipantImpl` object and use information (simple example of p.IsReady()) which would become more elaborate if the signaller is split out into its own struct. Maybe, just need to make an interface for the sink and send to the correct sink based on v1 /v2 signal transport. But, for now, just grouping all signal messaages in one file so that it is easier to manage later.