For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
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
      • checkCameraPermissions
      • checkMicrophonePermissions
      • checkPermissions
      • checkSpeakerPermissions
      • createCameraDeviceWatcher
      • createDeviceWatcher
      • createMicrophoneAnalyzer
      • createMicrophoneDeviceWatcher
      • createSpeakerDeviceWatcher
      • enumerateDevices
      • getCameraDevices
      • getCameraDevicesWithPermissions
      • getDevices
      • getDevicesWithPermissions
      • getDisplayMedia
      • getMicrophoneDevices
      • getMicrophoneDevicesWithPermissions
      • getSpeakerDevices
      • getSpeakerDevicesWithPermissions
      • getSupportedConstraints
      • getUserMedia
      • requestPermissions
      • setMediaElementSinkId
      • stopStream
      • stopTrack
      • supportsGetDisplayMedia
      • supportsGetUserMedia
      • supportsMediaDevices
      • supportsMediaOutput
On this page
  • stopTrack
WebRTCFunctions

stopTrack

|View as Markdown|Open in Claude|

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