Skip to content

Releases: ThibaultBee/StreamPack

2.6.1

11 Jul 10:18
Compare
Choose a tag to compare

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

07 Feb 18:19
Compare
Choose a tag to compare

API Changes:

  • startStream and stopStream 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
    and RtmpConnectionDescriptor).
  • 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 to Source

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:

Full Changelog: 2.5.2...2.6.0

2.5.2

06 Jan 10:27
Compare
Choose a tag to compare

API Changes:

  • Rename gopSize to gopDuration in VideoConfig class.

Features:

  • RTMP: force synchronisation of audio and video frames.

Bug fixes:

  • Fixed a crash when the microphone is muted.

2.5.1

12 Nov 10:16
Compare
Choose a tag to compare

API Changes

  • StreamerSurfaceView has been renamed PreviewView and it is not longer a SurfaceView

2.5.0

08 Nov 20:22
Compare
Choose a tag to compare

API Changes

  • The logger is now a static class Logger. You still can set the ILogger implementation
    with Logger.setLogger().

Features:

  • Add a new view that simplify StreamPack integration. It supports zoom on pinch and focus on tap.
    See StreamerSurfaceView.
  • Add a gopSize parameter in VideoConfig 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 and VideoConfig.
  • srt: connect(String) API supports URI with query parameters: streamId and passphrase.
    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

12 Oct 12:56
Compare
Choose a tag to compare

Experimental:

  • Add HEVC for RTMP

Bug fixes:

  • flv: First frame timestamp must be at 0

2.4.1

07 Oct 07:08
Compare
Choose a tag to compare

Features:

  • Add sources in release packages

Bug fixes:

  • Fix a crash in rtmpdroid in stopStream (in nativeClose)

2.4.0

18 Aug 08:05
Compare
Choose a tag to compare

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 a SurfaceView or a TextureView as input
    parameter
  • Add isConnected field in live streamers

Bug fixes:

  • Clamp camera range settings: zoom, exposure,...

2.3.3

05 Aug 08:34
Compare
Choose a tag to compare

Features:

  • srt: Update to srt 1.5.0

Bug fixes:

  • Fix ANR when connecting to a slow network

2.3.2

03 Aug 08:31
Compare
Choose a tag to compare

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