Closed
Bug 1037979
Opened 10 years ago
Closed 10 years ago
Connection Timer should be more that five seconds
Categories
(Hello (Loop) :: Server, defect)
Hello (Loop)
Server
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: jaoo, Assigned: rhubscher)
References
Details
(Whiteboard: [qa?])
Attachments
(1 file)
The connection timer defined at [1] should be more that five seconds. The call setup state does not reach "connected" quite often in this time period. What about ten seconds? [1] https://wiki.mozilla.org/Loop/Architecture/MVP#WebSockets_Connection_for_Call_Progress
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(alexis+bugs)
Comment 1•10 years ago
|
||
I'm okay increasing this to 10 seconds, but I'm really perplexed about why it would take so long. We should collect telemetry to find out what the actual times are between "connecting" and "connected" are. I know this is difficult on the mobile client, but we should be able to collect it on at least the desktop client. I'll adjust the documentation accordingly.
Updated•10 years ago
|
Whiteboard: [qa?]
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → rhubscher
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8455998 -
Flags: review?(alexis+bugs)
Assignee | ||
Comment 3•10 years ago
|
||
I have made the default config be 10 accordingly.
Flags: needinfo?(alexis+bugs)
Comment 4•10 years ago
|
||
Same comment as Adam, I wonder why 5 seconds isn't enough to connect here. What's taking so long?
Flags: needinfo?(josea.olivera)
Reporter | ||
Comment 5•10 years ago
|
||
(In reply to Alexis Metaireau (:alexis) from comment #4) > Same comment as Adam, I wonder why 5 seconds isn't enough to connect here. > What's taking so long? Once the client reaches 'connecting' state it starts publishing the A/V streams. See the code at [1] please. The client sends the 'media-up' message once the completion handler of Session.publish() (see [2]) gets called. The time in between is usually bigger than 5 seconds. Sometime it isn't though. [1] https://github.com/mozilla-b2g/firefoxos-loop-client/blob/master/call_screen/js/call_manager.js#L28-L43 [2] http://tokbox.com/opentok/libraries/client/js/reference/Session.html#publish
Flags: needinfo?(josea.olivera)
Comment 6•10 years ago
|
||
https://github.com/mozilla-services/loop-server/commit/9b269863ff1183fc72c23eca70d265f8cc56fb28
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Attachment #8455998 -
Flags: review?(alexis+bugs) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•