集成Quickblox SDK时限制发送状态信息的数量 [英] Limiting the amount of sending the presence while integrating Quickblox SDK
问题描述
让我尝试清楚地解释一下
Let me try to explain clearly,
我正在使用 QucikBlox SDK 进行两个用户之间的视频通话.效果很好.
I'm using the QucikBlox SDK for Video calls between two users. It's working great.
但是,我需要每30秒将用户的状态发送到QB服务器.
But, I need to send the presence of user to QB server for every 30 seconds.
[NSTimer scheduledTimerWithTimeInterval:30 target:[QBChat instance] selector:@selector(sendPresence) userInfo:nil repeats:YES];
这可能会消耗用户的某些网络连接数据.有什么方法可以限制此方法调用吗?(我不知道我是否解释正确.如有任何澄清,请询问)
This may consume some network connection data of the user. Is there any way to limit this method call?(I don't know whether I'm explaining correct.If any clarifications - please ask)
如果我不是每30秒调用一次此方法,会影响视频聊天吗?
Will it affect the video chat, if I don't call this method for every 30 seconds?
请提出建议,我是这个SDK的新手.
Please suggest, I'm new to this SDK.
推荐答案
您可以尝试将其设置为60或90.90是最大可能值.
You can try set it to 60 or 90. 90 is a max possible value.
无论如何,这不会消耗任何网络连接数据,因为这是我们在此处发送的数据的很小一部分
Anyway this won't consume any network connection data, because it's a very very small ammount of the data we send here
这篇关于集成Quickblox SDK时限制发送状态信息的数量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!