onsip/SIP.js — pull request #76 by joseph-onsip (2014-07-23 10:02:08+00:00)
Title: Media Handler: renderHint local/remote is an (Array of) HTMLMediaElement

This removes one layer of nesting from the `invite`/`accept` `mediaHint`.

Note that `` elements no longer get muted if an `` is provided alongside.

Usage (compare with 4096365):

```javascript
var session = new SIP.UA().invite('welcome@onsip.com', {
media: {
render: {
remote: [
document.createElement('audio'), // included to demo array support
document.createElement('video')
],
local: document.createElement('video')
}
}
});
```