AgoraIO / API-Examples-Web

MIT License
221 stars 199 forks source link

Unable to set volume indicator interval #55

Open aaronvg opened 2 years ago

aaronvg commented 2 years ago

Would you recommend instead querying the track's volume at a faster rate than rely on the volume Indicator callback?

plutoless commented 2 years ago

@aaronvg i think currently the callback is invoked at a fixed rate. if you need custom rate yes calling the track's volume api would be recommended.

aaronvg commented 2 years ago

Your suggestion fixed my issue, but itd be cool if your volume indicator had an interval you could set. You may resolve this

plutoless commented 2 years ago

thx for the suggestion. i'll raise this to our sdk team.