fix(remoteVideo): Attaching video stream.

This commit is contained in:
Hristo Terezov
2019-10-11 04:58:01 -07:00
parent 98698ba89a
commit 99de9d0bfa
2 changed files with 41 additions and 5 deletions
@@ -692,6 +692,21 @@ export function createSyncTrackStateEvent(mediaType, muted) {
};
}
/**
* Creates an event that indicates the thumbnail offset parent is null.
*
* @param {string} id - The id of the user related to the thumbnail.
* @returns {Object} The event in a format suitable for sending via sendAnalytics.
*/
export function createThumbnailOffsetParentIsNullEvent(id) {
return {
action: 'OffsetParentIsNull',
attributes: {
id
}
};
}
/**
* Creates an event associated with a toolbar button being clicked/pressed. By
* convention, where appropriate an attribute named 'enable' should be used to