Releases: millicast/millicast-sdk
Releases · millicast/millicast-sdk
v0.1.9
Changelog
Added
- Director module:
.setLiveDomain()and.getLiveDomain()to set and get Director websocket domain response.
- PeerConnection module:
.setTurnServerLocation()and.getTurnServerLocation()to set and get from where to get TURN server.
- StreamEvents module:
setEventsLocation()andgetEventsLocation()to set and get from where to get TURN server.
v0.1.8
Changelog
Added
.getRTCPeerConnection()to BaseWebRTC.
Changed
- Closes #81
- Changes
.getPublisherand.getSubscriberparams, now receives an object param with all the available options. - It's backward compatible, you can use the older params as always.
- Changes documentation with examples to option param.
- Changes
- Closes #83
- Removes
jwtDecodedfrom Director response. - Moves JWT decoding to Publisher.
- Adds recording availability validation from token using decoded JWT.
- Removes
Fixed
- Fixes
.updateBitrate()in Firefox browser.
v0.1.7
Changelog
Added
- Recording option in Publish
.connect()method.- If the record option is not provided, it will use the default Token configuration.
- Return decoded JWT in Director response.
Fixed
- Fixes documentation for
getCapabilities()method
v0.1.6
Changelog
Added
- Closes #72: Added
peerConfiginto View and Publish.connect()options.- You can add your own configuration for instance
RTCPeerConnection. If theiceServersoption is not present, it will use ours.
- You can add your own configuration for instance
Changed
- Closes #71: Separate
.getRTCPeer()into two methods, one for get and other for create it..getRTCPeer().createRTCPeer()
- Removes bundlePolicy when creating a
RTCPeerConnection. - Removes webrtc-adapter dependency.
- Removes legacy options when creating a
RTCPeerConnectionoffer. - Changes
.addTrack()to.addTransceiver()when adding newMediaStreamTrackto peer.
Fixed
- Fixes
disableAudioanddisableVideooptions in Publish module. - Fixes
updateBitrate, stop working in last releases.
v0.1.5
Changelog
Changed
- #66 Refactor of PeerConnectionStats, providing all inbounds/outbounds attached and basic information of RTC Candidate pair.
Fixed
- Fixes #65: Audio not working with H.264 codec in Safari.
- Multiopus was always enabled, now is only enabled when the publisher attach a MediaStream with more than 2 audio channels.
v0.1.4
v0.1.3
v0.1.2
Changelog
Added
- #55 Add reconnect event with next interval
- #56 MediaElement could be provider in viewer to attach MediaStream
Changed
- LICENSE updated.
- Github Action Release workflow.
- Improve NPM metadata with description, keywords and README.
Fixed
- #52 Keep active MediaStreamTracks in reconnection after calling
replaceTrack.
v0.1.1
v0.1.0
Changelog
First public release to NPM.
Last changes
- Firefox getCapabilities
- We add manually getCapabilities for Firefox because RTCRtpSender.getCapabilities does not work
- Support VP8, VP9, H.264 and Opus
- Firefox connectionState
- Compatibility between connectionState and iceConnectionState.
- References
- Remove StreamType from Director.getSubscriber
- Add get and set Endpoint in Director
- Let you choose the API endpoint of director
- Director.getEndpoint()
- Director.setEndpoint('https://other-url.com')
- Auto-reconnect feature completed
- Incremental intervals (powers of 2) that cannot be edited by users.
- BaseWebRTC class where all common functions are placed (stop, reconnect, isActive, etc).
- Now Publish.broadcast is Publish.connect to keep the same API between Publish and View.
- Refactor of names
- All Millicast prefixes are deleted from all classes and attributes.
- MillicastWebRTC renamed to PeerConnection