Class Resource
The Resource class represents the digital assets that are shared among participants in the conversation.
Defined in: wonder_full.js.
Class Detail
Resource(resourceConstraint, codec)
- Parameters:
- {ResourceConstraint} resourceConstraint
- - Constraints of the Resource. Object with the following syntax {type: ResourceType, constraints: codec or MediaStreamConstraints}
- {Codec} codec Optional
- - For data types only, Codec used.