hftl-ims-research / wonder

Public WebRTC Framework developed in the WONDER project featuring seamless inter-domain interoperability.
http://www.ict-openlab.eu/home.html
MIT License
2 stars 0 forks source link

multiparty seperation #9

Open d-koppenhagen opened 9 years ago

d-koppenhagen commented 9 years ago

outsource createIdentities function which is used for more then one Identity: https://github.com/hftl-ims-research/wonder/blob/wondergui/src/libs/Idp.js#L118-L153

Use createIdentity function instead (two times for local and remote Idp). https://github.com/hftl-ims-research/wonder/blob/wondergui/src/libs/Idp.js#L156-L306

sdruesedow commented 9 years ago

agree with this separation.

Just as additional background info: Special coding effort was done in "createIdentities" to work "atomic", i.e. to call the given callbacks only then, when ALL identities where created, though it uses the asynchronous "createIdentity" internally. This behavior of "createIdentities" must be preserved, because the calling code pieces will rely on it.

d-koppenhagen commented 9 years ago