michaelfranzl / minnie-janus

Small, ES8, isomorphic library for interfacing with the Janus WebRTC gateway.
MIT License
31 stars 5 forks source link

The first janus-gateway response to a message may not always be a synchronous response #2

Closed michaelfranzl closed 4 years ago

michaelfranzl commented 4 years ago

https://github.com/michaelfranzl/minnie-janus/blob/625120f13327602036f43be0b2a5240f47f17a0f/src/session.js#L141

I've observed with janus-gateway 0.7.4 that the first response to a message transaction may not always be a synchronous (ACK) response; it may respond with an event containing the SDP answer before ACKing the reception of the SDP offer, which is weird but OK.

michaelfranzl commented 4 years ago

Resolved in v1.0.0