All changes to this project will be documented in this file.
- Try/catch on
startPreview
calls - Upgrade dependencies
- Update to StreamPack 2.6.1
- View uses PreviewView
- Fix preview aspect ratio
- Fix 480p resolution
- Fix crashes due to missing permissions
- Add an API to explicitly set the camera to use
- Add an API to set the video resolution with a
Size
object - Rename
IConnectionChecker
toIConnectionListener
- Add a callback in
ApiVideoLiveStream
constructor to know when the library requires the permission to access the camera or the microphone - Update to StreamPack 2.6.0
- Upgrade to gradle 8, Kotlin 1.9
- Return a
onConnectionFailed
whenconnectStream
failed.
- Add an API to set the interval between to key frames
- Synchronize video and audio RTMP packets
- Fix a crash when microphone is muted on few devices
- Fix a crash on
stopStreaming
due to afree
inrtmpdroid
- Fix preview when
videoConfig
is set before theview.display
exists
- Fix preview when
ApiVideoView
has already been created - Only call
onDisconnect
when application was connected - Release workflow is triggered on release published (instead of created)
- Example: remove rxpermission usage
- Adds API to set zoom ratio
initialVideoConfig
andinitialAudioConfig
are now optional- Multiple fixes on RTMP stream (to avoid ANR and to improve compatibility)
- Disconnect after a
stopStream
.
- Fix stream after a
stopPreview
call. - Disconnect if
startStream
fails.
- Do not remove SurfaceView callbacks when the Surface is destroyed.
- Fix audioConfig and videoConfig API
- Improve stop live button look
- Add a configuration helper
- Add video and audio configuration default value instead of using a builder
- Change internal RTMP live stream library
- Add startPreview/stopPreview API
- Catch onConnectionFailed to stop streaming without user
- Throw an exception on
startStreaming
when stream key is empty - Remove jcenter as a dependency repository
- Add a trailing slash at the end of the RTMP url in case it is missing
- Rename project to live-stream
- Add/Improve API: introducing videoConfig and audioConfig changes
- Add/Improve API: introducing videoConfig and audioConfig changes
- Sample application
- First version