We just pushed v0.10.1a. which adds several new key features I've been looking forward to. It is available in
the alpha branch on github.
Biggest New Features:
"Fields"
- Used to set custom server variables relevant to your application.
- Can be attached to individual applications, rooms, or connections.
- Defaults can be set using the options "appDefaultFieldObj", "roomDefaultFieldObj", "connectionDefaultFieldObj". These will be used when new applications, rooms, and connections are created.
- Set using appObj.setField(), roomObj.setField(), and connectionObj.setField()
- If the isShared option is true, then the field will be shared to the API. These should allow for more capable applications.
- API has new functions: getRoomFields(), getApplicationFields(), getConnectionFields()
Server Options For Applications and Rooms:
- Server options can now be set against applications and rooms
- Documentation is in /doc/easyrtc_server_configuration.md
- Default options are set by us via /lib/easyrtc_default_options.js
- At the server level, options can be set and retrieved using easyrtc.setOption("option name", "option value"); or easyrtc.getOption("option name")
- Application and room options are set using appObj.setOption(), appObj.getOption, roomObj.setOption(), and roomObj.getOption()
File Transfer + Data Channels:
- NEW easyrtc_ft.js - A separate official EasyRTC client side module for handling file transfers. See the updated file sharing demo for an example.
- Updated Data Channel File-sharing Demo. New methods for transferring much larger files.
- We were tossing around multiple simultaneous 100+mb files reliably in Firefox or Chrome Canary (not yet cross-browser).
Please give this new version a run through!
Rod Apeldoorn, Priologic Software