Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

session-initiate and session-accept are sent before setLocalDescription succeeds #41

Open
fippo opened this issue Jan 29, 2014 · 4 comments

Comments

@fippo
Copy link
Collaborator

fippo commented Jan 29, 2014

While sending the offer/answer before setting the localdescription likely decreases call setup time, it is potentially unsafe since setLocalDescription might fail.

Causes jitsi/jitsi-meet#31 currently.
Getting the local ssrcs from the created answer instead of the localdescription might be a better solution to this problem.

@paradisaeidae
Copy link

Roll #35 into this.

@paradisaeidae
Copy link

Does anyone have a strategy for handling this?
I see it when connection negotiation latency exists.
MarkT

@fippo
Copy link
Collaborator Author

fippo commented Mar 11, 2014

The time difference between doing this before or in setLocalDescription is ~25ms so that should not be noticable.

@paradisaeidae
Copy link

I do not have rigorous testing regime in place atm.
Though the recent build has passed this error and continued to connect.
I can say that Chrome (browser) cheats to get it's apparent speed.
It loads javascript files 'in background'.
They are not actually rendered into usable code even though 'loaded'.
So far I've had to use setTimeout to circumvent this being an issue.

A.T.Best!
MarkT

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants