Skip to content

Releases: ThibaultBee/srtdroid

1.8.0

15 Jul 14:49
Compare
Choose a tag to compare

From 1.8.0, packages are available in io.github.thibaultbee.srtdroid instead
of io.github.thibaultbee.

dependencies {
    implementation 'io.github.thibaultbee.srtdroid:srtdroid-core:1.8.0'
    // If you use Kotlin Coroutines, you can use srtdroid-ktx
    implementation 'io.github.thibaultbee.srtdroid:srtdroid-ktx:1.8.0'
}

Socket class has been renamed SrtSocket to avoid confusion with Socket from java.net. Same
for Error, it has been renamed SrtError.

Dependencies:

  • srt 1.5.3
  • openssl 3.0.9

Features:

  • Add a Kotlin package with socket based on coroutine
  • core: add an API to parse ffmpeg like URL. See SrtUrl class.
  • core: split listener in 2 interfaces: ClientListener and ServerListener
  • core: recv(int) only returns a ByteArray instead of a Pair<Int, ByteArray>
  • core: implement Epoll and Socket equals and hashCode
  • Upgrade dependencies (AGP, Kotlin, NDK,...)

Bug fixes:

  • Fix Epoll APIs

1.7.0

17 Oct 20:11
Compare
Choose a tag to compare

Dependencies:

  • srt 1.5.3
  • openssl 3.0.9

Features:

  • Add and test support for Android 34
  • Add source and documentation jars to maven central
  • Upgrade to Kotlin 1.8
  • Upgrade gradle and Android gradle plugin
  • Upgrade GitHub Actions to fix warnings

1.6.0

30 Jul 07:43
Compare
Choose a tag to compare

Dependencies:

  • srt 1.5.2
  • openssl 3.0.9

1.5.2

29 May 19:30
Compare
Choose a tag to compare

Dependencies:

  • srt 1.5.1
  • openssl 3.0.7

Features:

  • Add support for Android >= 19. Thanks to @yoobi

1.5.1

06 Nov 18:36
Compare
Choose a tag to compare

Dependencies:

  • srt 1.5.1
  • openssl 3.0.7

API changes:

  • SockStatus NON_EXIST is now NONEXIST to fix a crash when using NON_EXIST

1.5.0

01 Oct 12:32
Compare
Choose a tag to compare

Dependencies:

  • srt 1.5.1
  • openssl 3.0.1

1.4.0

16 Jun 15:06
Compare
Choose a tag to compare

Dependencies:

  • srt 1.5.0
  • openssl 3.0.1

1.3.0

01 Apr 13:13
Compare
Choose a tag to compare

Dependencies:

  • srt 1.4.4
  • openssl 3.0.1

API changes:

  • Package has been move to maven central and rename from com.github.thibaultbee
    to io.github.thibaultbee

Features:

  • Rewrite the native part to be more C++ like
  • Upgrade Kotlin version to 1.6.10 and android gradle plugin
  • Remove jcenter as a dependencies repository
  • Improves sample: do not run task on main thread

Other changes:

  • Run build action on push to project
  • Run docs action on published release
  • Remove chat example to simplify maintenance

1.2.0

05 Oct 19:26
Compare
Choose a tag to compare

Dependencies:

  • srt 1.4.4
  • openssl 1.1.1k

Features:

  • New API guide

1.1.0

27 Apr 20:03
Compare
Choose a tag to compare

Dependencies:

  • srt 1.4.3
  • openssl 1.1.1k

API changes:

  • You don't have to call Srt.startUp(), it is called when you access to an SRT class.
  • Srt() is now static: directly use Srt object. Same for Time() and Error(), but it doesn't affect API usage.
  • In case an error happened, connectionTime/setRejectReason/peerName/inetAddress/port/sockName/localAddress/localPort return an exception instead of a null
  • In case an error happened, most Epoll methods return an exception instead of a -1
  • Fixes a typo: SockStatus NONEXIST become NON_EXIST
  • MsgCtrl.boundary is a Boundary type and no longer an Int
  • Calls socket.listener instead of socket.socketInterface.