RootEncoder

RootEncoder for Android (rtmp-rtsp-stream-client-java) is a stream encoder to push video/audio to media servers using protocols RTMP, RTSP, SRT and UDP with all code written in Java/Kotlin

APACHE-2.0 License

Stars
2.4K

Bot releases are hidden (Show)

RootEncoder - 2.4.4 Latest Release

Published by pedroSG94 7 months ago

Fixes/Improvements

  • Refactor create VideoSource and AudioSource
  • Allow set callsbacks to ScreenSource
  • Improve RTSP audio packets
  • autoHandleOrientation follow ui orientation on StreamBase
  • Fix orientation without preview on Streamase
  • Fix Screen example orientation
RootEncoder - 2.4.3

Published by pedroSG94 7 months ago

Fixes/Improvements

  • Fix start preview after prepareVideo in Camera1Base and Camera2Base with opengl
RootEncoder - 2.4.2

Published by pedroSG94 7 months ago

RootEncoder - 2.4.1

Published by pedroSG94 7 months ago

Fixes/Improvements

  • Refactor PSI interval in MPEG2-TS
  • Remove BuildConfigField in rtsp module
  • Fix RTSP ssrc 0 in first packet
  • Fix ForceRenderer fps
  • Stop GlInterface and OpenGlView using securesubmit to avoid release while rendering
  • Finish render frame after interrupted exception
  • Fix Stream orientation using GlStreamInterface on Camera1Base, Camera2Base, DisplayBase and FromFileBase
  • Fix rtmp reset audio packet config
  • Add ConnectCheckerEvent (An alternative class of ConnectChecker)
RootEncoder - 2.4.0

Published by pedroSG94 8 months ago

Fixes/Improvements

  • Support UDP protocol using MPEG2-TS (unicast, multicast and broadcast)
  • Add CropFilterRender
  • Add NoiseFilterRender
  • Fix NPE error on SRT
  • Add autoHandleOrientation to GlStreamInterface
  • Remove setConfig on StreamBase (replaced by autoHandleOrientation)
  • Fix clearfilters and removefilter index
  • Fix release MainRender on stop GlStreamInterface and OpenGlView
RootEncoder - 2.3.9

Published by pedroSG94 8 months ago

Fixes/Improvements

  • fix setConfig method in StreamBase
  • Update rotation example using OrientationEventListener
RootEncoder - 2.3.8

Published by pedroSG94 8 months ago

Fixes/Improvements

  • Fix Camera1Base crash using OpenGlView
  • Expose all methods to Camera1Source and Camera2Source
  • Add Throws annotations and capture change source error
  • Throw IllegalArgument on create sources
  • Add AudioFileSource and ViedoFileSource
  • Fix possible crash on Screen example
RootEncoder - 2.3.7

Published by pedroSG94 8 months ago

Fixes/Improvements

  • Refactor app module and migrate to kotlin
  • Add fixes for Gl renderer
  • Remove LightOpenGlView (Can be replaced with OpenGlView)
  • Refactor GlInterfaces to use Executor
  • Add fps to render in setForceRender method
  • Remove FFXA
  • Remove setLimitFPSOnFly
  • Add forceFpsLimit method
RootEncoder - 2.3.6

Published by pedroSG94 8 months ago

Fixes/Improvements

  • Fix librarygroup
  • Add forceOrientation to GlInterface in StreamBase
  • Replace Android base64 to kotlin equivalent
  • Refactor setCodecs in RTMP, RTSP and SRT
  • Clear tracks before start in SRT
  • Add Opus support to RTSP and SRT
  • Add setMediaProjectionCallback to DisplayBase by @dunkpi
RootEncoder - 2.3.5

Published by pedroSG94 8 months ago

Fixes/Improvements

  • Fix StreamBase prepareAudio
  • Migrate to Kotlin DSL
  • Implement addCertificates to RTMP and RTSP using TLS (RTMPS and RTSPS)
  • Add release to StreamBase
  • Add setVideoBitrateOnFly to StreamBase
  • Throw errors calling startPreview, startStream, startRecord and prepare video/audio
  • Rename setForce to forceCodecType
RootEncoder - 2.3.4

Published by pedroSG94 9 months ago

Fixes/Improvements

  • Refactor StreamBase to use VideoSource and AudioSource allowing use a custom source
  • Add background color to Text filter by @dunkpi
  • rename forceAkamaiTs to forceIncrementalTs
  • fix g711 mime
RootEncoder - 2.3.3

Published by pedroSG94 10 months ago

Fixes/Improvements

  • Throw RuntimeException if use filter with LightOpenGlView
  • Support AV1 encoding
  • Support G711 encoding
  • Support AV1 in RTSP
  • Support AV1 in RTMP
  • Support G711 in RTSP (@f9021003)
  • Fix AAC RTP large packets
  • Fix setLimitFPSOnFly (@dunkpi)
  • Throw exception if use invalid codec for the current protocol
  • Refactor SurfaceFilterRender
  • Support rotation to ObjectFilterRenders (Text, Image, Gif and Surface filters)
  • Refactor H265 RTP packet
RootEncoder - 2.3.2

Published by pedroSG94 11 months ago

Fixes/Improvements

  • Fix an error in FromFile streaming files without audio
  • Fix loop mode in FromFile
  • Fix start stream after finish video in FromFile
  • Move audio ts before start decode, read buffer
  • Fix SRT retry
  • Fix getViewport error with the same resolution and screen size
  • Ignore FCPublish response in RTMP because it is not supported in some servers
  • Fix handshake ip address in SRT
  • Fix mpeg2ts paquetization in SRT to support OvenMediaEngine
  • Fix AmfLongString size in RTMP
  • Add getCameraResolutions by cameraId to camera2
  • Support SRT encrypt with AES_128, AES_192 and AES_256 using passphrase
  • Refactor StreamClient retry
  • Sanity check in video/audio buffers to avoid errors in offset/size
  • Update copyright

Changes

  • Create common module for common code in all protocols
  • Replace ConnectionCheckerRtmp, ConnectionCheckerRtsp and ConnectionCheckerSrt to ConnectionChecker class.
  • Add GenericCamera1, GenericCamera2, GenericDisplay, GenericFromFile, GenericOnlyAudio and GenericStream. This classes support stream using all protocols instead of need use a specific class per protocol (special thanks to @Ernovation for this implementation)
RootEncoder - 2.3.1

Published by pedroSG94 almost 1 year ago

  • Fix AacMuxer
  • Fix from file loop mode
  • Fix send ack in rtmp if needed
  • Guarantee send onNewBitrate each second
  • Move multiple methods of rtmp, rtsp and srt to getStreamClient
  • Add clear cache
  • Add hasCongestion with percentUsed
  • Add getItemsInCache
  • Expose setOnlyAudio/setOnlyVideo
  • Hide abstract method that should be internals
RootEncoder - 2.3.0

Published by pedroSG94 about 1 year ago

RootEncoder - 2.2.9

Published by pedroSG94 about 1 year ago

  • Fix srt publish
  • Refactor camera1 and camera2 face detection
  • Refactor/improve rtmp, rtsp and srt sender queue
  • Add encoder error callback
RootEncoder - 2.2.8

Published by pedroSG94 about 1 year ago

  • fix opengl views freeze
  • fix ignore rtmp releaseStream error
  • update project to android 14
RootEncoder - 2.2.7

Published by pedroSG94 about 1 year ago

  • Add SRT protocol
  • Rename project
  • OpenGl related views performance fix
RootEncoder - 2.2.6

Published by pedroSG94 about 1 year ago

RootEncoder - 2.2.5

Published by pedroSG94 about 1 year ago