Method AddTrack
AddTrack(MediaStreamTrack)
Add a new track to the stream.
Declaration
public bool AddTrack(MediaStreamTrack track)
Parameters
Type | Name | Description |
---|---|---|
MediaStreamTrack | track |
Returns
Type | Description |
---|---|
bool |
Remarks
This class keeps references of MediaStreamTrack to avoid GC. Please call the RemoveTrack(MediaStreamTrack) method when it's no longer needed.