addStreamEvent constant

EventStreamProvider<MediaStreamEvent> const addStreamEvent

Static factory designed to expose addstream events to event handlers that are not necessarily instances of RtcPeerConnection.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<MediaStreamEvent> addStreamEvent =
    const EventStreamProvider<MediaStreamEvent>('addstream')