Flex Audio SDK for Android: Releases
2.2 release: Stability improvements
Notes on 2.2
Removed unusable method
RemoteStream.getStreamUrl()
.Removed unusable class
StreamMetadata.Builder
.
Features in 2.2
Added the following functions to
Channel
to get the channel ID and current user ID:getChannelId -> @Nullable String
- Returns the channel ID or
null
if it is unknown.
- Returns the channel ID or
getUserId -> @Nullable String
- Returns the user ID or
null
if it is unknown.
- Returns the user ID or
Added a function to get the active
LocalStream
of aChannel
:getLocalStream -> LocalStream
- Returns the
LocalStream
associated with theChannel
ornull
if there is no suchLocalStream
.
- Returns the
Added a function to get the associated metadata of a
LocalStream
:getStreamMetadata() -> @Nullable StreamMetadata
- Returns the
StreamMetadata
object used to configure theLocalStreamParams
instance. Returnsnull
if none was configured or theStreamMetadata
initialization failed.
- Returns the
Bug fixes in 2.2
Leaving a channel while publishing no longer incorrectly gives the termination cause
CANNOT_ADD_TO_CHANNEL
.Subscribers no longer see the voice activity indicator when a publisher is muted.
The publisher voice activity indicator now turns off when muted.
Subscribers no longer hear published audio while the publisher is in a phone call.
Fixed an occasional buzzing sound with Bluetooth speakers.
2.1 release: Logging update
Features in 2.1
Added a
setUserAgent()
method toEngine
. This lets you associate app-specific user information with the SDK's real-time operations to correlate with Aircore's server logs.Added a
setLogDirectory()
method toEngine
. This lets you set a directory to store the SDK's rotating log files.
Bug fixes in 2.1
- Added support for requesting Bluetooth permissions in Android 12 and later. See the Quickstart for more details.
2.0 release: Configuration update for publishing audio
Notes on 2.0
This change is not backward compatible.
Initialization has changed for the
Engine
class.
Features in 2.0
- Added a
setInitialAudioMute()
method toLocalStreamParams.Builder
to letLocalStream
objects to configure the mute state before starting.
Bug fixes in 2.0
Updating a
Channel
with an expired session auth token no longer crashes and terminates it instead.The microphone indicator light now turns off when publishing a muted stream.
YouTube videos no longer have pauses when publishing in the background.
Resolved poor audio quality when publishing in the background.