Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

sender.setTrack(): Cannot replace a track that is ended #589

@aboba

Description

@aboba

Currently in Section 5.3, it is stated:

"4. If track.stop() has been called, return a promise rejected with an InvalidStateError."

In WebRTC 1.0, the WG decided that it should be possible to use replaceTrack() to replace an "ended" track.

Related to WebRTC 1.0 issue w3c/webrtc-pc#732

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions