lmccart / usplus

Other
17 stars 3 forks source link

sometimes connection is lost after a few mins in one direction or both #52

Closed lmccart closed 11 years ago

kylemcdonald commented 11 years ago

solution is to avoid rate limit by json-ifying category data https://developers.google.com/+/hangouts/shared-state

(rate limited to 10 per second)

lmccart commented 11 years ago

right now calls are as follows per person:

on speech result -- 1 get, 1 set (handleMessage) = 0 or 1 set 4/sec -- 3 gets, 1 or 2 sets (updateSpeechTime) = 4 or 8 sets 10/sec -- 1 get (getVolumes) = 0 sets

we might need to lower updateSpeechTime call to 2/sec