All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Bugfix for errors related to a change Tiktok made related to headers.
- Re-added version_code header.
- Specific version_code for a certain Server
- WebP-Installer (for TTLUnity) will now also add the OpenUPM-registry to the project.
- Added new versions of the library to Readme
Bugfix for errors related to a change Tiktok made related to headers.
- Removed version_code header
- Changed UserAgent (added Mozilla)
Bugfix for 403-Errors on fetching Available Gifts & RoomInfo.
- Updated Logging to direct users to Discord when issues arise with the signing-server.
- Added HideInCallstack-Attribute to Logging-methods to hide these methods in Unity's Console-UI. Note: This only works if the user enables "Strip logging callstack" in the console's menu.
- Fixed (secondary) regex-match for RoomId
- Removed Origin-Header from HTTP-Requests, as that seemed to be causing the 403-errors.
- Replaced ?? when checking cancellationtoken with HasValue to try to prevent 'Nullable object must have a value'.
- Updated BugReport-Template to include Environment-info.
Bugfix for failing Websocket-Connection
- RunAsync for TTLiveSharp, for more control over Threads
- Settings for Custom Signing-Server & Signing-ApiKey
- Additional StatusCode-Messaging for Signing-Server
- Fixed incorrect Header(s) on WebSocket-Client
- Fixed AlreadyConnectedException when retrying a Connect()
- Replaced HTTPUtility with WebUtility for URL-Encoding
Bugfix for failing/closing Websocket-Connections
- Added ControlAction-Enum
- Added OnLiveResumed-Event
- Added Reconnect-Timeout used when an exception occurs whilst connecting
- Added full log of (outer) message when logging unparsed data
- Removed br from accepted encodings
- Fixed an issue with Websocket-Headers & -Parameters causing the SocketConnection to close instantly.
- Changed Signing to use new Fetch-Endpoint
- Changed some parameters in the Unity-SampleScene to reduce overhead for default users.
- Removed unneccesary memory allocations in Dispatcher-script
Initial full release of TikTokLiveSharp/TikTokLiveUnity
THIS IS A BREAKING UPDATE FOR USERS OF PREVIOUS VERSIONS OF THE LIBRARY. PROCEED IN UPDATING WITH CAUTION!
Between the previous version to v1.0.0 a complete re-write was performed of the schema used when decoding messages from the TikTokLive-Server. This means that many Events & their underlying paramaters will have changed. When updating from previous versions to v1.0.0, you will need to re-write your code that hooks to these events.
- Added DisplayedGifts, which filters AvailableGifts down to those displayed for the room
- Added the ability to connect by RoomId instead of HostId
- Added the ability to skip checking the RoomInfo whilst connecting
- Added usage of Custom Parameters for clients & Requests
- Proxy is now properly used for both HTTP- and Websocket-Connection
- Lib now works properly on UWP-backend
- Enabled Images in Example
- Complete rewrite of TikTokLive-BackendData & Events
- Added checking for socket-state and recreation of SocketClient if it was aborted (by server?)
- Added Gift-Name to example-code
- Removed Icon (in TTLUnity) only used for NuGet-Package
- Added Static GetUserExists & GetUserStreaming-Methods that can be used to check if a user-profile exists and/or is livestreaming
- Added newly found Message-Data (recently added by ByteDance)
- Fixed Message-Data not being logged alongside (some) exceptions
- Updated ProtoSchema to reflect updates in messaging
- Added newly found Message-Data (recently added by ByteDance)
- Changed Message-Data in (Hourly)RankMessages (recently changed by ByteDance)
- Disabled downloading of Textures/Sprites in Example-Code for TikTokLiveUnity, as it seems to be leading to random crashes somehow.
- Added newly found Message-Data (recently added by ByteDance)
- Fixed bugs in Disconnect causing disconnect to throw an exception.
- Set Assemblies to be auto-referenced, so users do not need their own AssemblyDef to use the project
- Added newly found Message-Data (recently added by ByteDance)
- Added overly cautious Null-Checking in Model. Instead of Nullref, data will now simply default to NULL if not available
- Fixed invalid DataType in WebcastRoomPinMessage (Pos 35)
- Updated Model based on Protobuf
- Buffer-array for messages is now re-used to minimize garbage
- Connecting-Boolean is now set to False once fully connected
- Removed Dispatching for Debug-Logs in Unity, as it is not required and only adds overhead.
- Initial release of new Fork for this Project. Consists of many breaking changes with previous version.