Replies: 1 comment 2 replies
-
Hi @burak-58 , we have started implementing reconnection across all our platforms (Android, iOS, Web) following your and @mustafaboleken suggestion from here. The way how of We reviewed the AntMedia.js file in the Circle App and noticed that when a participant's internet connection is dropped, the server waits for him (does not close the websocket connection and session). However, Is there any way for server to notify room participants about those ones who lost connection and tries to get connected? Steps to reproduce:
Actual Behavior: Expected Behaviour: Additional Info: Server Version 2.8.2 Enterprise |
Beta Was this translation helpful? Give feedback.
-
Hello Dear Ant Media Server users, especially conference solution enthusiasts,
Exciting news awaits you!
Since the inception of our conference solution, we've been dedicated to enhancing its capabilities. We began with the introduction of the stream-based conference solution and later unveiled the track-based conference solution, also known as multitrack-conference. If you're curious to learn more, check out our blog post.
Now, we're thrilled to introduce an improved version of the multitrack conference, set to be available after version 2.8.0 (already accessible in the latest snapshots). Let's explore the enhancements together:
New Websocket Message: We've introduced a new websocket message called
getBroadcastObject
to retrieve the Broadcast structure as JSON. This broadcast can be either a Maintrack or a Subtrack. Obtain a Broadcast object for a main track by callinggetBroadcastObject
with the room ID, and for a subtrack, use its ID.Room Data Structure Update: We no longer utilize the Room data structure. Instead, we keep participant IDs as subtracks of maintracks. There's no need to call
JoinTheRoom
orLeaveTheRoom
methods anymore.Event-Based Approach: Say goodbye to polling the
getRoomInfo
method. We've introduced an event-based approach. Applications will now be notified by theTRACK_LIST_UPDATED
Data Channel message. Upon receiving this notification, applications can callgetBroadcastObject
for the Maintrack, check the subtracks, and obtain participant names by callinggetBroadcastObject
for the participant ID.Metadata Field Usage: As a best practice, you can use the Metadata field in the Broadcast object to persist extra information (e.g., camera/mic status, screen sharing status) for a participant.
Updated Sample Conference Pages: With these improvements, we've also updated the sample conference pages in the deployment:
conference.html
is the sample implementation for this new structure.maintrack-conference.html
redirects toconference.html
.conference-deprecated.html
serves as a sample for the oldest (stream-based) solution. (Previously,conference.html
was used as a sample for this solution.)Feel free to explore and implement these enhancements in your conference solutions. We're excited about the possibilities these improvements bring to your experience with Ant Media Server's conference solution.
Beta Was this translation helpful? Give feedback.
All reactions