New features: Output H265 streams to a .265 file Fix RTCP parsing bug Add NAT hole punching (experimental) Upgrade NPM modules used
Bug fixes: Fix parsing of SDP for relative ONVIF Metadata
New features: Write the XML ONVIF Metadata to a file
Bug fixes: Fix parsing of SDP for relative media stream URLs Fixed OPTIONS keepalive by sending Session ID
New features: Output AAC Audio as well as H264 video
Bug fixes:
- Fixed Digest authentication thanks to @oleaasbo
Huge shoutout to @RogerHardiman for co-developing this release of the library!
Breaking changes:
- Expected Node.js version increased to Node.js LTS (
8.11.3
).- This code may still work on older Node.js versions, but they're not officially supported.
- If this does not work for you, rebuilding using a lower target in
tsconfig.json
should help.
- Removed
RTCPPacket.payload
that was deprecated inv2.1.1
- Renamed
RtspClient
toRTSPClient
- Renamed
OnvifRtspClient
toONVIFClient
- Changed structure of
RTSPClient#request
, instead of returning aPromise
with headers, it now returns aPromise
of an object with a propertyheaders
.
New features:
- H264 transport!
- UDP support!
- Move to TypeScript & new ES2017 features
- Why? TypeScript should help improve code quality (something I've noticed in my old code the past few months through GitHub issues & pull requests). Type errors, general confusion about code, etc.
- Async/await control flow helps to simplify codebase and make it more readable.
- Hopefully, this will not alieniate potential contributors.
Breaking changes:
- Parsed RTCP header deprecated the
payload
value to remove potentially confusing functionality , replacing it withbuffer
. For now,payload
will still work, but will log a message to switch to the new key.
New features:
- A parsed version of the RTSP transport header is now in the returned object from connect().
- (TODO) Test suite.
- Changed RTSP link in example, our old link died.
Breaking changes:
- Emitted event
data
now haschannel
as first parameter (making parameters channel, data, packet).
New features:
- Basic parsing for RTCP, splits into the
data
andcontrolData
emitted events. (both have same parameters, see above). - Improvements to RTP header parsing.
Huge thanks to @RogerHardiman for the contributions!
The it works again!
update:
- A large refactor, so I decided to bump up the major version.
- Fix embarassing errors with copy-pasted JS code from 1.5 years ago.
- Add proper RTSP data framing, other than whatever was there.
- Remove Babel/Gulp entirely, we only use what Node v6.0+ supports as far as ES6.
- Add yarn.lock for anyone using Yarn.
- Fix example.