Releases: 4Players/odin-sdk
Releases · 4Players/odin-sdk
0.6.2
Bugfixes / Improvements
- Fixed an issue where
odin_room_join
could fail due to "swallowed" RPC messages
0.6.1
Bugfixes / Improvements
- Fixed an issue where
data
inOdinEvent_MessageReceivedData
was pointing to the wrong buffer
0.6.0
General
- Vastly improved overall reliability and error handling
New Features
- Added XCFramework support to wrap binaries for macOS and iOS (see odin-xcframework.tgz)
API Changes
- Added
odin_room_id
to get the room ID from a given room handle - Added
odin_room_customer
to get the room customer identifier from a given room handle - Added
odin_room_peer_id
to retrieve your own peer ID from a given room handle - Renamed
OdinApmConfig
option 'vad_enable' tovoice_activity_detection
- Changed
OdinRoom
pointer toOdinRoomHandle
- Changed
OdinMediaStream
pointer toOdinMediaStreamHandle
- Fixed a typo and renamed
OdinNoiseSuppsressionLevel
enum toOdinNoiseSuppressionLevel
Bugfixes / Improvements
- Improved handling of object lifetimes
- Fixed an issue with missing bitcode in static libraries for iOS
0.5.0
General
- Event system has been updated to only receive events for remote peers
- Protocol has been updated to use WebTransport over HTTP/3
New Features
- Added support for positional rooms with automatic server-side culling based on unit circles with a radius of
1.0
- Added support for ARM64 based Linux targets
API Changes
- Added
Joined
event, which is emitted once a room has been joined - Added
RoomUserDataChanged
event, which is emitted when another peer updated the global arbitrary data of the room - Added
MediaActiveStateChanged
event to notify about activity on a media (e.g. when someone is talking) - Added
user_id
toPeerJoined
event, which contains the identifier specified in the room token - Added
peer_id
toMediaRemoved
event - Added
odin_room_update_position
to allow updating the two-dimensional position of your own peer in the room - Added
odin_room_set_position_scale
to set the scaling used for all coordinates passed toodin_room_update_position
- Renamed event fields for
Peer*
events - Renamed
ConnectionStateChanged
event toRoomConnectionStateChanged
- Renamed
PeerUpdated
event toPeerUserDataChanged
- Removed
user_data
argument fromodin_room_join
as this is now set viaodin_room_update_user_data
which will use the last value for the initialodin_room_join
call - Removed
own_peer_id
output param fromodin_room_join
call as this has been moved the newJoined
event
Bugfixes / Improvements
- Made
odin_audio_read_data
more reliable when not reading a multiple of 960 samples (20ms) - Fixed
odin_media_stream_media_id
andodin_media_stream_peer_id
not returning errors when the media was not assigned to a room or the room was not joined