Index


Class wsc.CallConfig

Call Configuration describes the capabilities (audio/video/data channel) of a call.

Class Summary
Constructor Attributes Constructor Name and Description
 
wsc.CallConfig(audioMediaDirection,, videoMediaDirection,, dataChannelConfig)
Field Summary
Field Attributes Field Name and Description
 
the audio config.
 
the data channel config.
 
the video config.
Class Detail
wsc.CallConfig(audioMediaDirection,, videoMediaDirection,, dataChannelConfig)
 var audioMediaDirection = wsc.MEDIADIRECTION.SENDRECV;
 var videoMediaDirection = wsc.MEDIADIRECTION.NONE;
 var dtConfigs = new Array();
 dtConfigs[0] = {"label":"DataLabel", "reliable" : false };
 var callConfig = new wsc.CallConfig(audioMediaDirection,videoMediaDirection, dtConfigs);
Parameters:
{wsc.MEDIADIRECTION} audioMediaDirection,
the direction of local audio media stream
{wsc.MEDIADIRECTION} videoMediaDirection,
the direction of local video media stream
{Array} dataChannelConfig
, an array of JSON object, which should be in form of {"label":"DataLabel", "reliable" : false }
Field Detail
audioConfig
the audio config.

dataChannelConfig
the data channel config.

videoConfig
the video config.

Copyright © 2005, 2013, Oracle and/or its affiliates. All rights reserved.