v3.0.14
github-actions
released this
20 Jun 18:20
·
3211 commits
to develop
since this release
π Improvements
- Changed the
circle
bot form ignore lighting changes based on its orientation. - Added the
formAddressAspectRatio
tag to allow adjusting howformAddress
images/videos are displayed oncube
,circle
, andsprite
bot forms.- The aspect ratio should be the width of the image divided by the height of the image.
- Negative aspect ratios can also be used to mirror the image horizontally.
- Added the ability to create and join custom multimedia chat rooms.
- Key features:
- The ability to join multiple chat rooms at once.
- The ability to display camera/screen feeds on 3D bots.
- Notification of when remote users join/leave.
- Notification of when users are speaking.
- The ability to control the quality that video tracks stream at.
- The following functions have been added:
os.joinRoom(roomName, options?)
os.leaveRoom(roomName, options?)
os.getRoomOptions(roomName)
os.setRoomOptions(roomName, options)
os.getRoomTrackOptions(roomName, trackAddress)
os.setRoomTrackOptions(roomName, trackAddress, options)
os.getRoomRemoteOptions(roomName, remoteId)
- The following listeners have been added:
@onRoomJoined
- Sent whenever a room has been joined viaos.joinRoom()
@onRoomLeave
- Sent whenever a room has been exited viaos.leaveRoom()
@onRoomStreaming
- Sent whenever the local user has been connected or reconnected to a room.@onRoomStreamLost
- Sent whenever the local user has been disconnected from a room.@onRoomTrackSubscribed
- Sent whenever an audio/video track has been discovered inside a room.@onRoomTrackUnsubscribed
- Sent whenever an audio/video track has been removed from a room.@onRoomRemoteJoined
- Sent whenever a remote user has joined a room.@onRoomRemoteLeave
- Sent whenever a remote user has left a room.@onRoomSpeakersChanged
- Sent whenever the list of speaking users has changed in a room.@onRoomOptionsChanged
- Sent whenever the local room options have been changed.
- See the documentation for more detailed information.
- Also check out the
rooms-example
appBundle for an example.
- Key features:
- Added the
os.listInstUpdates()
andos.getInstStateFromUpdates(updates)
functions.- These functions are useful for tracking the history of an instance and debugging potential data loss problems.
os.listInstUpdates()
gets the list of updates that have occurred in the current instance.os.getInstStateFromUpdates()
gets the bot state that is produced by the given list of updates.
π Bug Fixes
- Fixed an issue where HTML updates could cause CasualOS to skip
@onAnyAction
calls for bot updates. - Fixed an issue where point-of-view mode would start the camera at the wrong rotation.
- Fixed an issue where billboarded bots would rotate to match the roll of the camera in VR/AR.
- Fixed an issue where using
os.tip()
with long words could cause the words to overflow the tooltip background. - Fixed an issue where removing a tag from the sheetPortal could cause the tag below it to become the dimension set in the sheetPortal.