Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有很多频道,我需要统计,有多少用户连接到每个频道及其身份。
如何获取每个频道的连接用户列表?
一位 Ably 工程师,您可以通过使用状态或使用 [元] 通道 API 跟踪每个用户来获取每个用户的列表。
元通道将连接事件和通道状态更改等内容流式传输到您的服务器或其他任何内容。文档在这里:https ://ably.com/documentation/realtime/metachannels