MediaStreamEvent object
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
The MediaStreamEvent object is used to represent events that occur in relation to a MediaStream.
Syntax
var mediaEvent = new MediaStreamEvent(type, eventInitDict);
Members
The MediaStreamEvent object has these types of members:
- Properties
Properties
The MediaStreamEvent object has these properties.
Property | Access type | Description |
---|---|---|
Read-only |
The sdp property returns the string representation of the SDP (Session Description Protocol). |
|
Read-only |
The stream property returns the stream associated with the event. |
Remarks
The MediaStreamEvent constructor includes the following parameters:
Parameter | Type | Description |
---|---|---|
type | DOMString | Specifies the event type. |
eventInitDict | MediaStreamEventInit | Specifies the stream involved with the event. |