new MediaObjectCreator(host, encodeCreate, encodeRpc, encodeTransaction, describe)
Parameters:
Name | Type | Description |
---|---|---|
host |
||
encodeCreate |
||
encodeRpc |
||
encodeTransaction |
||
describe |
- Source:
Methods
create(type, params, callbackopt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
type |
|||
params |
|||
callback |
module:kurentoClient~MediaObjectCreator~createCallback |
<optional> |
- Source:
createInmediate(item)
Parameters:
Name | Type | Description |
---|---|---|
item |
- Source:
(inner) createConstructor(item, strict) → {module:core/abstracts.MediaObject}
Parameters:
Name | Type | Description |
---|---|---|
item |
||
strict |
external:Boolean |
- Source:
Returns:
(inner) getConstructor(type, strict) → {module:core/abstracts.MediaObject}
Get the constructor for a type
If the type is not registered, use generic {module:core/abstracts.MediaObject}
Parameters:
Name | Type | Description |
---|---|---|
type |
external:string | |
strict |
external:Boolean |
- Source:
Returns:
Type Definitions
createCallback(error, mediaObject)
Parameters:
Name | Type | Description |
---|---|---|
error |
external:Error | |
mediaObject |
module:core/abstracts.MediaObject | The created MediaObject |
- Source:
createMediaObjectCallback(error)
Parameters:
Name | Type | Description |
---|---|---|
error |
external:Error |
- Source: