Log inSign up
Support
ReferenceGuidesClick-to-Call
ReferenceGuidesClick-to-Call
  • Core
    • Overview
  • SignalWire Client
    • Overview
    • Notifications
    • Client
    • Utility functions
  • Video
    • Overview
    • LocalOverlay
    • RoomSession
    • RoomSessionDevice
    • RoomSessionPlayback
    • RoomSessionRecording
    • RoomSessionScreenShare
    • RoomSessionStream
    • RoomDevice
    • RoomScreenShare
  • Chat
    • Overview
    • Client
    • ChatMember
    • ChatMemberEntity
    • ChatMessage
    • ChatMessageEntity
  • PubSub
    • Overview
    • Client
    • PubSubMessage
  • WebRTC
    • Overview
On this page
  • stopTrack
WebRTCFunctions

stopTrack

||View as Markdown|

stopTrack

  • Const stopTrack(track): void

Stops a specified track. Similar to MediaStreamTrack.stop(), but also fires the ended event.

Parameters

track
MediaStreamTrackRequired

The media stream track to stop. See MediaStreamTrack for more details.

Returns

void

Was this page helpful?
Edit this page
Previous

supportsGetDisplayMedia

Next
Built with
LogoLogoSignalWire Docs
Log inSign up
Support