otalk / jingle.js

A generic Jingle session manager implementation, suitable for integration by other XMPP libraries.
MIT License
89 stars 17 forks source link

async accept #3

Closed fippo closed 10 years ago

fippo commented 10 years ago

https://github.com/legastero/jingle.js/blob/master/lib/mediaSession.js#L98

basically you shouldn't create an answer until the session is accepted. This currently means an async .accept() outside the accept event fails and candidates are sent before session-accept.

fippo commented 10 years ago

that was fixed quite a while ago...