Skip to content

Latest commit

 

History

History
1014 lines (714 loc) · 63.5 KB

CHANGELOG.md

File metadata and controls

1014 lines (714 loc) · 63.5 KB

Change Log

  • If you want to upgrade Straas Android SDK, please check all the Important Change below from your current version.

Version 0.24.0

2024-06-12

  • Target Android API 34.

Version 0.23.0

2022-05-20

Version 0.22.0

2022-02-10

  • straas-messaging
    • feat: Adjust the max text length of sendMessage to 500.

Version 0.21.0

2021-07-06

  • straas-messaging
    • Important Change: Remove ArchivedMessagesManager.
  • straas-media-core
    • fix: In some cases, app ANR after receiving media button action.

Version 0.20.2

2021-05-12

  • fix: Some exceptions can't be accessed because of proguard issue.

Version 0.20.1

2021-03-30

  • Important Change: Move SDK out of JCenter from this version. See here for more information.
  • Target Android API 30.
  • straas-media-core
    • fix: Notification buttons are working now.

Version 0.19.0

2020-12-29

  • straas-media-core
    • feat: Improve the tracking of user experience.

Version 0.18.0

2020-12-01

Version 0.17.0

2020-11-10

Version 0.16.0

2020-10-27

  • straas-streaming
    • feat: Add maxBitrate for limiting the video bitrate.

Version 0.15.1

2020-09-08

  • straas-media-core
    • feat: Add COMMAND_PLAYER_RETRY for better user experience. Note that this function is in BETA stage now.
    • feat: Add PLAYLIST_STUCK for the situation that playlist is stuck.

Version 0.15.0

2020-09-01

  • Important Change: Throw PublishException instead of ServerException if a publish error has occurred.
  • Important Change: Adjust the default fps in streaming SDK to 30 frames/sec (20 fps in previous SDK versions) and add setFps to support fps setting.

Version 0.14.9

2020-07-07

  • Internal improvements.

Version 0.14.8

2020-06-23

  • Internal improvements.

Version 0.14.7

2020-06-16

  • Internal improvements.

Version 0.14.6

2020-06-02

Version 0.14.5

2020-02-18

  • straas-media-core
    • feat: Add error type TOO_MANY_REQUESTS, this occurs when there are too many requests for the server.

Version 0.14.4

2019-10-01

  • straas-media-core

Version 0.14.3

2019-09-17

Version 0.14.2

2019-07-23

  • straas-media-core
    • feat: Add location log function, see wiki for more information.

Version 0.14.1

2019-07-16

  • straas-media-core
    • feat: Optimize statistics.

Version 0.14.0

2019-07-02

Version 0.13.2

2019-06-19

Version 0.13.1

2019-06-11

  • straas-media-core
    • feat: Optimize statistics.

Version 0.13.0

2019-05-28

  • Support using Gradle 5.4.1 to import Straas Android SDK.
  • straas-media-core
  • straas-streaming
    • feat: Support mute function, you can use setAudioEnabled to control mute or not.

Version 0.12.0

2019-03-12

  • Important Change: Set compileSdkVersion and targetSdkVersion to 28.
    • Upgrade support library to v28.0.0.
  • Important Change: Upgrade some libraries
  • Important Change: Enable R8
  • straas-media-core
  • Note: If you encounter method counts over 64K issue in this version, you can enable multidex to fix it.

Version 0.11.3

2019-02-12

  • straas-circall
    • feat: Internal library upgrade.
    • feat: Alpha Support more device CPUs from different vendors.
    • fix: Race condition between CircallManagers.

Version 0.11.2

2019-01-29

Version 0.11.1

2019-01-08

Version 0.11.0

2018-12-25

  • straas-circall
    • Important Change: Major module version updated. Previous Circall SDK versions are deprecated now.
    • feat: Support recording in IPCam broadcasting scenario.
    • change: Disable audio track in publishWithUrl scenario.
  • straas-messaging-ui
    • fix: Ensure messages are new when service recover from background.

Version 0.10.10

2018-11-27

  • feat: Optimize statistics.

Version 0.10.9

2018-11-20

  • straas-messaging-ui
    • fix: Crash happens when there are too many messages.

Version 0.10.8

2018-11-06

Version 0.10.7

2018-10-09

  • straas-circall
    • fix: Crash happens when destroy or socket is disconnected issue.
  • straas-media-core
    • fix: Revise seek time could be overridden by history.

Version 0.10.6

2018-09-20

  • straas-circall
    • Important Change: Change some method names.
    • feat: Support RTSP publish.

Version 0.10.5

2018-09-18

  • feat: Update glide & support library version.

  • straas-media-core

    • fix: Fix text track can not show.
  • straas-circall

    • feat: Improve CirCall experience.

Version 0.10.4

2018-09-04

  • straas-media-core
    • feat: Support continue watch
    • feat: Add parameter for audio only

Version 0.10.3

2018-07-31

Version 0.10.2

2018-07-04

  • straas-media-core
    • feat: Support text track

Version 0.10.1

2018-06-26

  • straas-extension-ima

    • feat: Support post-roll Ad.
  • straas-media-core

    • feat: Support playback speed adjusting.

Version 0.10.0

2018-06-05

  • feat: add straas-circall sdk. See CirCall Wiki for more detail.

Version 0.9.7

2018-05-29

  • straas-media-core

Version 0.9.6

2018-05-22

  • straas-streaming
    • feat : Update parameter of live event creating. See Wiki for more detail.
  • straas-messaging
    • refactor : Remove personal chat.
  • straas-messaging-ui
    • fix: Release listener while ChatroomView detach from window automatically.

Version 0.9.5

2018-05-09

  • straas-media-core
    • feat: Support live DVR player. See Wiki for more detail.

Version 0.9.4

2018-04-17

Version 0.9.3

2018-03-20

Version 0.9.2

2018-02-13

  • straas-media-core
    • feat: changes for adapting to new server

Version 0.9.1

2018-02-07

Version 0.9.0

2018-01-17

  • Target Android API 27.
    • upgrade support library to v27.0.2.
    • fix: Click emoticon list button will crash when target Android API is 27.

Version 0.8.6

2018-01-10

  • straas-media-core
    • fix: Player projection mode operates abnormally issue.
  • straas-streaming
    • change: Move proguard classes and interfaces to a specified package.

Version 0.8.5

2017-12-29

  • straas-media-core

Version 0.8.4

2017-12-08

  • feat: Upgrade build tool version to 3.0.0.
  • straas-extension-ima

Version 0.8.3

2017-11-10

Version 0.8.2

2017-10-20

  • straas-media-core
    • Add COVER_URL, then you could use it to get the image url shown in the Straas web player when the live streaming is off air from the description extras of MediaItem. See Wiki for more detail.

Version 0.8.1

2017-10-06

Version 0.8.0

2017-09-15

  • Retire deprecated methods and constants
  • Target Android API 26.
    • upgrade support library to v26.0.2.
  • feat: Upgrade okhttp to v3.9.0.
  • Upgrade Google Play Service to 11.2.2.
  • Upgrade Glide to 4.1.1.
  • straas-media-core
  • straas-streaming
    • feat: Screencast APIs. See Wiki for more detail.
    • feat: Decide the original bitrate by resolution.

Version 0.7.15

2017-09-12

Bugfix release only.

  • fix: Allow more aggressive switching for HLS

Version 0.7.14

2017-07-20

Version 0.7.12

2017-06-23

Version 0.7.11

2017-06-15

  • straas-messaging
    • feat: Remove the message count limit of getArchivedMessages and both of startTime and endTime couldn't be 0 now.
  • straas-media-core

Version 0.7.10

2017-05-26

Version 0.7.9

2017-05-24

Bugfix release only.

  • fix: Add proguard rules for okhttp v3.8.0 (#3355)
  • straas-messaging-ui
    • fix: Vector drawables incorrect setting.
    • fix: Incorrect author attributes with icon and the color of name at random.

Version 0.7.7

2017-05-18

  • feat: Upgrade okhttp to v3.8.0.
  • straas-media-core
  • straas-streaming
    • feat: Adjust the max bitrate according to streaming resolution.
    • fix: Handle SurfaceTexture transform matrix.

Version 0.7.6

2017-05-04

  • straas-media-core
    • feat: Upgrade ExoPlayer library to v2.4.0. We only include exoplayer-core & exoplayer-hls modules in our SDK, which are all the needs for playFromMediaId(...) to play all your contents served by Straas. To play other media types (e.g. DASH, SmoothStreaming) outside of Straas via playFromUri(...), or UI components and resources provided by ExoPlayer, please include exoplayer-dash, exoplayer-smoothstreaming, exoplayer-ui in your dependencies manually.
  • straas-messaging-ui
    • fix: The attribute msgAuthorColor works now.
    • fix: Join the chatroom that doesn't have any history messages will crash.

Version 0.7.5

2017-04-20

  • feat: Upgrade okhttp to v3.7.0.
  • straas-media-core
  • straas-messaging-ui
    • change: New message hint wording is changed and appears only when there are new messages now.

Version 0.7.4

2017-04-06

  • straas-media-core
    • fix: Workaround for Defect-36811209, internal MediaControllerCompat.Callback will clear outer class reference when session destroyed.
    • fix: Prevent get video formats NPE.

Version 0.7.3

2017-03-30

  • Upgrade support library to v25.3.1.
  • straas-messaging
    • feat: Simplify reconnection flow.
  • straas-messaging-ui
    • feat: Add button for scrolling to new message.
    • feat: Moderators highlight.

Version 0.7.2

2017-03-27

  • straas-extension-ima
    • Upgrade IMA to 3.7.1
  • straas-media-core
    • feat: Upgrade ExoPlayer library to v2.3.1.
    • feat: Enhance live streaming playback experience.
    • fix: Crash when MediaBrowserCompat disconnected if no UiContainer injected.
    • fix: Memory issue when using multiple UiContainers between Fragments.

Version 0.7.1

2017-03-23

Version 0.7.0

2017-03-15

  • Important Change: Starting from this version, you have to bind the client id with an application package name, please set it with your exsiting Certificate and client id in the same page.
  • Upgrade support library to v25.3.0.
  • straas-extension-ima
    • Upgrade IMA to 3.7.0
  • straas-messaging
  • straas-messaging-ui
    • fix: Crash when send message after disconnection.
    • fix: Crash may happen when click sticker button.
  • straas-streaming
    • feat: Improve adaptive bitrate in bad bandwidth condition on API 19 and higher.
  • straas-media-core

Version 0.6.2

2017-03-02

Version 0.6.1

2017-02-20

Version 0.6.0

2017-02-16

manifestPlaceholders = [straas_client_id: "$your_client_id"]
  • Retire all deprecated APIs in 0.5.x.
  • Upgrade support library to v25.1.1.
  • straas-messaging
  • straas-streaming
    • fix: Clear variable reference of preview after destroy.
    • fix: Prepare fails in some devices.
  • straas-media-core
    • feat: Add RTMP playback functionality, you could feel the power by filling a RTMP link in playFromUri(...).
    • fix: Incorrect metadata value with CUSTOM_METADATA_VIEWS_COUNT and CUSTOM_METADATA_VIEWERS_COUNT.

Version 0.5.8

2017-02-09

Version 0.5.7

2017-01-13

Version 0.5.5

2017-01-05

Version 0.5.4

2017-01-03

Bugfix release only.

  • straas-streaming
    • fix: back camera preview upside down issue

Version 0.5.3

2017-01-03

  • Fix proguard issue (#48)
  • straas-streaming
    • fix: preview upside down when ROTATION_90
  • straas-messaging

Version 0.5.2

2016-12-28

Version 0.5.1

2016-12-23

  • Upgrade support library to v25.0.1
  • straas-messaging-ui
    • ChatroomInputView will auto expand the height when text length grows up. Use setInputMaxLines to change at most many lines tall, default is 4 lines.
  • straas-media-core

Version 0.5.0

2016-12-16

  • Upgrade support library to v25.0.1
  • Upgrade Google Play Service to 10.0.1
  • The age of Tasks, APIs with OnResultListener injection are deprecated and return a Task for you.
  • Error enums are deprecated, using Exception to get more details about the error reason.
  • straas-messaging
    • feat: data channel and personal chat
      • enable them via ChatroomManager.WITH_DATA_CHANNEL and ChatroomManager.IS_PERSONAL_CHAT flags
      • data channel provide aggregated and raw data types of message
        • chatroomManager.sendAggregatedDataTypeMessage("love") will receive one or more love being aggregated in onAggregatedDataAdded(SimpleArrayMap<String, Integer>)
        • chatroomManager.sendRawData(RawData) will receive a single JSON data in onRawDataAdded(RawData). We also provide built-in JSON converter let you use own class model to communicate!
    • connect API now return a Task, so you could know the chatroom is connected directly within a code block!
    • feat: add time filter for getMessages
  • straas-streaming
    • Change method validate naming to initialize
    • feat: decide resolution by texture aspect ratio.
    • feat: add limit resolution
    • fix: switch camera crash issue
    • startStreaming/stopStreaming/destroy APIs now return a Task.
  • straas-media-core
    • feat: upgrade ExoPlayer library to v2.1.0

Version 0.4.5

2016-12-02

  • straas-media-core
    • fix: conflict of okhttp-ws version
  • straas-streaming
    • feat: add interface for setting video filter. see filter

Version 0.4.4

2016-11-22

  • [Please add maven repo for showing sticker panel] (https://github.com/Straas/Straas-android-sdk-sample/blob/master/build.gradle#L19) maven { url "https://raw.github.com/laenger/maven-releases/master/releases" }
  • straas-extension-ima
    • feat: upgrade IMA & Google Play Services Ads
  • straas-messaging-ui
    • feat: support sticker panel
      • FragmentActivity is required to enable this feature
    • feat: save/restore ChatroomInputView & ChatroomOutputView state
    • feat: use StreamModelLoader to set Glide HTTP client, independent of GlideModule
    • fix: duplicate message, remove pagination loading

Version 0.4.3

2016-11-04

  • using cookies to store user information (internally)
  • using TLSv1.2 on Android API levels 16~20
  • straas-streaming
    • feat: add getStreamState() for getting StreamingManager state
    • feat: create new event automatically when stream key expires
    • fix: developer may receive onError when stopStreaming soon after startStreaming
  • straas-messaging-ui
    • fix: ChatroomView may receive old ChatroomManager event
    • feat: add flag to control show relative time or absolute time of a message
    • feat: support fake message/nickname for blocked users
    • feat: ANCHOR chat mode UI
    • feat: remove message when receiving onMessageRemoved
    • fix: TouchListener for ChatroomInputView could receive MotionEvent.ACTION_UP & MotionEvent.ACTION_DOWN

Version 0.4.2

2016-11-02

  • straas-messaging-ui
    • refactor: move input functionality from ChatroomOutputView into ChatroomInputView
    • feat: feed ChatroomManager into ChatroomInputView
    • feat: touch listener will be notified when input is available for typing

Version 0.4.1

2016-11-01

  • feat: add straas-streaming sdk.
  • straas-messaging
    • feat: support two and more EventListeners.
  • straas-messaging-ui
    • feat: divide input/output view for more flexible
    • feat: adjust the visibility of messages avatar

Version 0.3.11

2016-10-28

  • straas-messaging-ui
    • feat: support showing sticker messages in chat room

Version 0.3.10

2016-10-21

  • straas-messaging
    • feat: provide block/revive users and remove message
  • straas-media-core
    • feat: upgrade ExoPlayer library to v2.0.4
    • fix: playlist Ad behavior

Version 0.3.9

2016-10-05

  • straas-messaging
    • feat: enable auto create flag in ChatroomManager.connect()
  • straas-messaging-ui
    • feat: enable custom style, see Style
  • straas-media-core handle non-public item in public playlist

Version 0.3.7

2016-10-03

  • straas-media-core
    • feat: upgrade ExoPlayer library

Version 0.3.6

2016-09-28

  • feat: upgrade Socket.io library
  • straas-messaging
    • Important Change: replace EventListener method void userCount(int guestCount, int memberCount) by void userCount(int userCount).
    • Important Change: replace ChatroomManager method int getMemberCount() and int getGuestCount() by int getUserCount().
    • feat: provide immediate user count by void userCount(int userCount) in EventListener and int getUserCount() in ChatroomManager.

Version 0.3.5

2016-09-25

  • feat: upgrade Socket.io library
  • straas-media-core
    • fix: 0.3.4 crash issue
    • fix: proguard rule
    • fix: handle playlist video with post-roll Ad
  • straas-extension-ima
    • feat: upgrade Google Play Services Ads

Version 0.3.4

2016-09-23

  • straas-media-core
    • fix: analytics issue related to ExoPlayer v2 migration
  • straas-messaging
    • fix: add consumer proguard file

Version 0.3.3

2016-09-22

  • straas-media-core
    • feat: upgrade to ExoPlayer v2
  • straas-extension-ima
    • feat: upgrade Google Play Services Ads

Version 0.3.2

2016-09-21

  • straas-messaging-ui
    • fix: crash in API 20 and older version
    • feat: support vector drawables

Version 0.3.1

2016-09-14

  • Important Change: process client_id string at gradle, more convenient to switch between build-types/flavors.
  • Important Change: guest now represent as Identity.GUEST instead of new Identity("").
  • feat: update Android Support Library to 24.2.1
  • release straas-media-core, straas-extension-ima

Version 0.2.2

2016-09-12

  • straas-base
    • feat: add dontwarn in consumerProguardFiles
  • straas-messaging
    • fix: retry when connect fail
  • straas-messaging-ui
    • feat: add interface for guest setting nickname
    • feat: distinguish logging user and guest at message list
    • fix: bugs that happened when sending a message