Releases: ThibaultBee/srtdroid
Releases · ThibaultBee/srtdroid
1.8.0
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
andServerListener
- core: recv(int) only returns a
ByteArray
instead of a Pair<Int, ByteArray> - core: implement
Epoll
andSocket
equals
andhashCode
- Upgrade dependencies (AGP, Kotlin, NDK,...)
Bug fixes:
- Fix Epoll APIs
1.7.0
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
Dependencies:
- srt 1.5.2
- openssl 3.0.9
1.5.2
1.5.1
Dependencies:
- srt 1.5.1
- openssl 3.0.7
API changes:
SockStatus
NON_EXIST
is nowNONEXIST
to fix a crash when usingNON_EXIST
1.5.0
Dependencies:
- srt 1.5.1
- openssl 3.0.1
1.4.0
Dependencies:
- srt 1.5.0
- openssl 3.0.1
1.3.0
Dependencies:
- srt 1.4.4
- openssl 3.0.1
API changes:
- Package has been move to maven central and rename from
com.github.thibaultbee
toio.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
Dependencies:
- srt 1.4.4
- openssl 1.1.1k
Features:
- New API guide
1.1.0
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.