Skip to content

Consider not triggering the stream:added event for the default Chrome stream #31

Closed
@DamonOehlman

Description

@DamonOehlman

When initiating a peer connection on Chrome, when no "real" streams or data channels have been added to the peer connection before creating an offer a "default" stream is added by Chrome. This stream currently triggers the stream:added event which will generally result on a video element being added to the DOM which is rendered as a black area because the stream itself contains no data.

While I have implemented code to deal with this behaviour within an experimental ui package (rtc-ui) I think that quickconnect should not trigger a stream:added event for this default stream (it is labelled as such and can be detected) as it is not useful for rendering purposes. My understanding is that it exists only so the process of gathering ice candidates and establishing connectivity for audio and video streams can be done as quickly as possible.

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