asnMCUCreateMediaElement

Create an additional Endpoint in an existing MediaPipeline

ArgumentType: AsnMCUCreateMediaElementArgument

- PRIVATE -

AsnMCUCreateMediaElementArgument is an Object

Name Type Optional Comment
pipelineID string
elementtype string 'WebRtcEndpoint' or 'RtpEndpoint'

sdpOffer string yes sdpOffer for an endpoint, if not set, it will generate an offer

iceServers AsnIceServerList yes
codecs AsnConfigCodecList yes

ResultType: AsnMCUCreateMediaElementResult

- PRIVATE -

AsnMCUCreateMediaElementResult is an Object

Name Type Optional Comment
elementID string
sdpAnswer string yes sdpAnswer to the sdpOffer

sdpOffer string yes generated sdpOffer if request did not contain an sdpOffer

ErrorType: AsnRequestError

AsnRequestError is an Object

Name Type Optional Comment
iErrorDetail number
u8sErrorString string
optionalParams AsnOptionalParameters yes

Version 6.1