Ant-Media-Server icon indicating copy to clipboard operation
Ant-Media-Server copied to clipboard

Conference room related GET API calls are not working as expected

Open yashtandon113 opened this issue 9 months ago • 3 comments

Short description

The conference-related APIs are not working with the latest version 2.9.0 of Ant Media Server.

Environment

  • Ant Media Server version: v2.9.0

Steps to reproduce

  1. Join the conference room1 using the conference.html page
  2. Try calling APIs like get conference room object, get conference list, get room info etc.
  3. Also, try to get the broadcast object for the generated conference room ID (room1); it gives incomplete data like no start time, duration, etc.

Expected behavior

The APIs should work fine to get conference related details.

Actual behavior

Currently, APIs are not giving the required data.

yashtandon113 avatar May 06 '24 09:05 yashtandon113

Hi @yashtandon113

Partially, It's related to this one https://github.com/ant-media/Ant-Media-Server/issues/5755

Also, try to get the broadcast object for the generated conference room ID (room1); it gives incomplete data like no start time, duration, etc.

I think it's a design decision. Please let me know if I'm wrong. @burak-58 @mustafaboleken

Cheers Oguz

mekya avatar May 06 '24 10:05 mekya

Hi @mekya,

After we moved to the main broadcast conference room and removed the old conference-room approach, it's an expected issue. You are right, we need to decide how we can provide such statistics.

mustafaboleken avatar May 06 '24 11:05 mustafaboleken

Hi @mustafaboleken,

I've refactored the code and removed the ConferenceRoom data structure from db on this PR. There is also enterprise side as well. It also provides more than %90+ compatibility both for multirack and old conference room approach.

Everything is Broadcast for now. ConferenceRooms are the broadcasts that has subtracks.

Cheers Oguz

mekya avatar May 13 '24 08:05 mekya

I have also added some implementation to set start time into the main track Broadcast Object. https://gitlab.com/Ant-Media/Ant-Media-Enterprise/-/merge_requests/689

burak-58 avatar May 20 '24 09:05 burak-58

Hi @burak-58 ,

The PR is merged. I'm closing the issue and keeping it "In Progress". We can move it to "Done" in the meeting to let everyone see it's closed.

mekya avatar Jun 25 '24 08:06 mekya