otalk / jingle.js

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

Handling createAnswer errors by terminating the session? #14

Closed fippo closed 10 years ago

fippo commented 10 years ago

https://github.com/otalk/jingle.js/blob/master/lib/mediaSession.js#L88 looks like the peer is not notified when createAnswer fails. I think terminating the session with a failed-application error is the right thing to do.

legastero commented 10 years ago

Same for fileSession