Supported Features
The Twilio Shim is a library that allows you to migrate your Twilio real-time communication apps to Dyte platform.
Here's a compatibility specification that describes the methods from twilio-video
that are supported by @dytesdk/twilio-shim
package.
Room
Events
Room#event:disconnected
Room#event:participantConnected
Room#event:participantDisconnected
Room#event:recordingStarted
Room#event:recordingStopped
Room#event:trackDisabled
Room#event:trackEnabled
Room#event:trackPublished
Room#event:trackStarted
Room#event:trackSubscribed
Room#event:trackSwitchedOff
Room#event:trackSwitchedOn
Room#event:trackUnpublished
Room#event:trackUnsubscribed
Properties
- name
- participants
- localParticipant
- recordingStarted
Methods
- disconnect()
LocalParticipant
Events
All LocalParticipant
events are re-emitted by Room
.
LocalParticipant#event:trackDisabled
LocalParticipant#event:trackEnabled
LocalParticipant#event:trackPublicationFailed
LocalParticipant#event:trackPublished
LocalParticipant#event:trackStarted
LocalParticipant#event:trackStopped
Methods
- publishTrack(localTrack)
- publishTrack(mediaStreamTrack)
- publishTracks(mediaStreamTracks)
Properties
- audioTracks
- videoTracks
- tracks
RemoteParticipant
Events
RemoteParticipant#event:trackDisabled
RemoteParticipant#event:trackEnabled
RemoteParticipant#event:trackPublished
RemoteParticipant#event:trackStarted
RemoteParticipant#event:trackSubscribed
RemoteParticipant#event:trackSubscriptionFailed
RemoteParticipant#event:trackSwitchedOff
RemoteParticipant#event:trackSwitchedOn
RemoteParticipant#event:trackUnsubscribed
Properties
- audioTracks
- videoTracks
- tracks
LocalTrackPublication
Methods
- publish
- unpublish
Properties
- isTrackEnabled
- kind
- priority
- track
RemoteTrackPublication
Events
RemoteTrackPublication#event:subscribed
RemoteTrackPublication#event:subscriptionFailed
RemoteTrackPublication#event:trackDisabled
RemoteTrackPublication#event:trackEnabled
RemoteTrackPublication#event:trackSwitchedOff
RemoteTrackPublication#event:trackSwitchedOn
RemoteTrackPublication#event:unsubscribed
Properties
- isSubscribed
- isTrackEnabled
- kind
- publishPriority
- track