Rest API question, Conference endpoint

78 views
Skip to first unread message

ruell magpayo

unread,
May 5, 2021, 3:10:54 AM5/5/21
to Ant Media Server
in this endpoint https://antmedia.io/rest/#/BroadcastRestService/createConferenceRoomV2

what is "roomStreamList": [ "string" ] which is an array of strings, and how do we  use it?
I cant seem to find any description or documentation about it

Selim Emre

unread,
May 5, 2021, 10:03:57 PM5/5/21
to Ant Media Server
Hi,

Have a good day.

roomStreamList is stream ID lists that are in conference room.

Selection_093.png
You can add/remove roomStreamList with below REST services:

I cant seem to find any description or documentation about it
Yes, you're absolutely right. I think we need to update WebRTC Conference Room Guide. I have added a task for this issue -> https://github.com/ant-media/Ant-Media-Server/issues/3238

Is it clear for you?

Best Regards,
Selim

drulz

unread,
May 6, 2021, 1:17:17 AM5/6/21
to Selim Emre, Ant Media Server

yes, its clear, thank you,

I just asked the question as it may look like in the rest documentation that that field is needed along with roomId, startDate and endDate., that is why I a asked how to fill it up.
also while were at it, can I create a room that has will be there forever until deleted, or should i just explicitly add an enddate with say 10 years worth of enddate?
 I assume startDate and endDate are unix time stamp in seconds right?

--
You received this message because you are subscribed to a topic in the Google Groups "Ant Media Server" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ant-media-server/nztKXrLwMqA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ant-media-serv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/0dde79dd-32ba-448b-952c-702443745278n%40googlegroups.com.

Selim Emre

unread,
May 8, 2021, 7:12:48 AM5/8/21
to Ant Media Server
Hi,

Have a good weekend.

while were at it, can I create a room that has will be there forever until deleted
Yes, exactly. Conference Room valid for everyone by default. But if you change startDate or endDate parameters, conference rooms stream accepts will change.  Let's say: no one cannot pass conference room if startDate/endDate is not valid.

I assume startDate and endDate are unix time stamp in seconds right?
Yes, startDate and endDate can usable with Unix timestamp.

Best Regards,
Selim
Reply all
Reply to author
Forward
0 new messages