Remote
A published Stream
Member Summary
Public Members | ||
public |
[key]: * |
|
public |
The local DOM container element where the Local~media is displayed |
|
public |
|
|
public |
The uid of the publisher of the stream |
|
public |
|
|
public |
|
|
public get |
DOM element where the MediaStream is displayed |
|
public |
PeerConnections associated to this remote stream |
|
public |
The uid of the room the stream is published in |
|
public |
The type of the stream |
|
public |
The uid of this stream |
|
public |
the user agent of the publisher of the stream |
|
public |
|
Method Summary
Public Methods | ||
public |
Register a callback for a specific event |
|
public |
Register a callback for a specific event |
|
public |
Subscribe to the stream |
|
public |
Unsubscribe from the stream |
Public Members
public [key]: * source
Public Methods
public off(event: string, callback: function) source
Register a callback for a specific event
Params:
Name | Type | Attribute | Description |
event | string |
|
The event name (Events/Stream) |
callback | function |
|
The callback for the event |
public on(event: string, callback: function) source
Register a callback for a specific event
Params:
Name | Type | Attribute | Description |
event | string | The event name (Events/Stream) |
|
callback | function | The callback for the event |