Releases: ThibaultBee/StreamPack
Releases · ThibaultBee/StreamPack
2.6.1
Features:
- Upgrade dependencies (AGP 8.4.2, Kotlin 1.9.24,...)
Bug fixes:
- Streamer: do not call
stopStream
when streamer is not streaming - ScreenRecorder: fix callback
registration #147 - PreviewView: fix facing camera orientation
- PreviewView: fix synchro
- MP4: use relative timestamps
- FLV: fix onMetadata audio sample size
- FLV: fix onMetadata timestamp
- FLV: only send header once
- TS: fix PES packet length when frame size is >
65535 #135. Thanks to @moliyadi - AudioSource: try catch audio processors and properly release them
- VideoConfig: only set HDR when profile and level can be set
New Contributors
Full Changelog: 2.6.0...2.6.1
2.6.0
API Changes:
startStream
andstopStream
are now a suspend methods because they triggers a network
operation. Therefore they must be called from a coroutine.
Features:
- Camera streamer: mirror the video on the stream when the front camera is used. Preview is not
mirrored. - RTMP: Add support for enhanced RTMP video codecs (HEVC, VP9 and AV1 (experimental,
see #90)) - RTMP: Improve synchronization on audio and video frames: force to send Header 0 when timestamp are
not in order. - HDR: Add experimental support for HDR camera streamers,
see #91 - VideoConfig: infer the bitrate from the resolution when it is not explicitly set.
- SRT: add a latency setting.
- SRT and RTMP: add specific class to describe the connection (see
SrtConnectionDescriptor
andRtmpConnectionDescriptor
). - AAC: add support for multiple AAC profiles (HE-AAC, HE-AACv2, ...).
- ISO Sensitivity: Add an API to set ISO sensitivity for camera streamers.
- MP4: Introduce MP4 muxer and new MP4 streamers. (Fragmented MP4)
- Screen recorder: display root cause on notification instead of the exception message.
- Codec helper: get only once instance of each profiles.
- Camera: add an API to set
onTap
for auto exposure, auto focus and auto white balance
independently. - Improve orientation management.
- Upgrade to Android 14, gradle 8 and Kotlin 1.9
- Internal: rename
Capture
toSource
Bug fixes:
- Camera: fix default camera when device does not have a "0" camera
- Camera: fix an
onTap
crash when the device zoom ratio is < 1 - Camera: fix auto focus trigger on tap
New Contributors:
- @dependabot made their first contribution in #82
- @yhbsh made their first contribution in #93
Full Changelog: 2.5.2...2.6.0
2.5.2
API Changes:
- Rename
gopSize
togopDuration
inVideoConfig
class.
Features:
- RTMP: force synchronisation of audio and video frames.
Bug fixes:
- Fixed a crash when the microphone is muted.
2.5.1
API Changes
StreamerSurfaceView
has been renamedPreviewView
and it is not longer aSurfaceView
2.5.0
API Changes
- The logger is now a static class
Logger
. You still can set theILogger
implementation
withLogger.setLogger()
.
Features:
- Add a new view that simplify StreamPack integration. It supports zoom on pinch and focus on tap.
SeeStreamerSurfaceView
. - Add a
gopSize
parameter inVideoConfig
to set the keyframe interval. - Add an API for external cameras.
- In camera settings, add a zoom on pinch and a focus on tap API.
- Add encoder information in
AudioConfig
andVideoConfig
. - srt:
connect(String)
API supports URI with query parameters:streamId
andpassphrase
.
Example:srt://server:port?streamId=myStreamId&passphrase=myPassphrase
.
Bug fixes:
- Fixed a crash when created a MediaCodec on few Samsung devices.
- Fixed services notification for Android 13.
2.4.2
Experimental:
- Add HEVC for RTMP
Bug fixes:
- flv: First frame timestamp must be at 0
2.4.1
Features:
- Add sources in release packages
Bug fixes:
- Fix a crash in rtmpdroid in stopStream (in nativeClose)
2.4.0
Features:
- The screen recorder services have been moved to the library (instead of the example)
- Add zoom ratio API support for Android < R
- Introducing a life cycle observer for streamers called
StreamerLifeCycleObserver
- Overload camera streamers'
startPreview
API to take aSurfaceView
or aTextureView
as input
parameter - Add
isConnected
field in live streamers
Bug fixes:
- Clamp camera range settings: zoom, exposure,...
2.3.3
Features:
- srt: Update to srt 1.5.0
Bug fixes:
- Fix ANR when connecting to a slow network
2.3.2
Features:
- Add apks in the build CI workflow
- Allow to set camera when camera has not been started
Bug fixes:
- Multiple fixes on FLV/RTMP
- demo-screenrecorder: do not set profile nor level