Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update types for RoomSession/Member/Layout/Playback #610

Merged
merged 15 commits into from
Aug 12, 2022
Merged

Conversation

framini
Copy link
Contributor

@framini framini commented Aug 9, 2022

VideoRoomSessionContract

  • Deprecate RoomSession.members in favour of RoomSession.getMembers
  • Deprecate RoomSession.recordings in favour of RoomSession.getRecordings
  • Update RoomSession.getRecordings to return instances of RoomSessionRecording
  • Update RoomSession.getPlaybacks to return instances of RoomSessionPlayback

VideoMemberContract

  • Remove on_hold: we had it on the SDK but it doesn’t seem to come over the wire nor is in the spec.

VideoPlaybackContract

  • Add missing position property

VideoLayoutLayer

  • Add missing playing_file and visible properties

@changeset-bot
Copy link

changeset-bot bot commented Aug 9, 2022

🦋 Changeset detected

Latest commit: 2dd5003

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@signalwire/core Minor
@signalwire/js Minor
@signalwire/realtime-api Minor
@signalwire/react-native Patch
@signalwire/web-api Patch
@signalwire/webrtc Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@framini framini changed the title WIP: Update types for RoomSession/Member/Layout/Playback Update types for RoomSession/Member/Layout/Playback Aug 12, 2022
@framini framini requested a review from edolix August 12, 2022 10:48
@@ -342,4 +342,233 @@ test.describe('RoomSession', () => {
expect(targetElementsCount.videos).toBe(0)
expect(targetElementsCount.rootEl).toBe(0)
})

test(`should allow retrieving the room session recordings and playbacks`, async ({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@edolix edolix merged commit eb1c3fe into main Aug 12, 2022
@edolix edolix deleted the fr/interface-updates branch August 12, 2022 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants