You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I want to show a list of the live audio streams where I am able to get the list of current streams with queryCall, great. But I was expecting to have a "meta" field in the response that shows how many streams are there so that I can inform my users there are more streams and show a button to them, like "See all streams".
Describe the solution you'd like
When limit parameter has passed into queryCall function, we should get a totalCount or "meta" field that has totalCount etc.
Describe alternatives you've considered
There is no clear information regarding this use case. I looked at how can I get the total count of streams, it seems there is no such functionality. Or maybe I just couldn't find it.
Also I tried to fetch the next page using "next" field package provide, but it seems I get an error because I try to fetch two page at the same time. (current and next page)
The text was updated successfully, but these errors were encountered:
hi @ugurkellecioglu, can you please help me understand the question better?
If I'm understanding correctly, you are asking how to get the total number of ongoing live streams, right?
For querying ongoing live streams, please take a look at the following docs:
returns 3 stream data and a "next" field. (let's say we have 6 ongoing streams. )
What I'd like to see as response
calls: [3 stream data],
meta:{
next: nextPageCursor,
total: 6 // total number of counts
}
or since "next" field is already in same level with "calls", response might look like this so that current api is not going to be broken with this update:
Hi @ugurkellecioglu, I have already forwarded this feedback to our backend team. Without them extending the API first, I'm afraid I can't do much here.
I'll get back to you once I know more.
Which package/packages do you use?
@stream-io/video-react-sdk
@stream-io/video-react-native-sdk
@stream-io/video-client
Is your feature request related to a problem? Please describe.
I want to show a list of the live audio streams where I am able to get the list of current streams with queryCall, great. But I was expecting to have a "meta" field in the response that shows how many streams are there so that I can inform my users there are more streams and show a button to them, like "See all streams".
Describe the solution you'd like
When limit parameter has passed into queryCall function, we should get a totalCount or "meta" field that has totalCount etc.
Describe alternatives you've considered
There is no clear information regarding this use case. I looked at how can I get the total count of streams, it seems there is no such functionality. Or maybe I just couldn't find it.
Also I tried to fetch the next page using "next" field package provide, but it seems I get an error because I try to fetch two page at the same time. (current and next page)
The text was updated successfully, but these errors were encountered: