get only published streams by room

Gabriel T

Member
hello
for a conferencing app, i'm currently retrieving current publisher usiing rest /find_all
problem i see with this is that if there are a lot of connected users (lets say hundreds, playing and publishing), the return value will be very very big.
is there a lighter way to get only published streams, inside a given room ?
thank you for your help

edit: found my solution by parsing the object server side before sending it back to js, sorry for disturbing :)
 
Last edited:

Max

Administrator
Staff member
Hello
You can also try
Code:
{
 /rest-api/find
 "published":"true"
}
 
Top