SipPhone Widget
•
•
•
•
SipPhone Widget
Cobra provides several proprietary widgets to simplify developer's life. Those widgets can be configured
and controlled from JavaScript. The sipphone widget allows you to make SIP phone calls to another SIP
endpoint. This plugin acts like a True SIP endpoint and supports both audio and video calls. Both SD
(g711) and HD (g7221) audio codecs are supported. For video, it supports H.263 and H.264 codecs.
The sipphone interface declaration is:
Cisco Interactive Experience Client 4600 Series User Guide
F-2
Since HD quality is affected greatly by poor network design, it is recommended that the network
link is not congested.
When using the SIP widget with another video application such as the video player, ensure that all
videos have stopped when SIP receives an incoming signal.
Use an USB external microphone and USB speakers to get the best result for echo cancellation.
Use a recommended camera for HD quality video such as the Cisco PrecisionHD camera or Logitech
C920 camera.
interface SipPhone
{
attribute int height;
attribute int width;
attribute string backgroundColor;
attribute string idleImage;
attribute bool videoEnabled; // Is true by default.
attribute string status;
slots:
int start (in string username,in string password,in string domain,in string
transport);
void call(in string sipUri);
void hangup();
void sendDtmf(in string dtmfkey);
bool setidleImage(in string imgurl, in bool stretchFlag);
bool changeidleImage(in string imgurl, in bool stretchFlag);
string cameraDevice() const;
int setCameraDevice(in string deviceId);
int capture() const;
string getImage() const; // Returns the Jpeg imgage if captured
void answer();
void reject();
void setAutoAnswer(in bool autoAnswerFlag);
signals:
void ready();
void registered();
void placingCall();
void incomingCall();
void established();
void ring();
void disconnected();
void video();
void novideo();
void hold();
void resume();
void captured();
void error(in int code, in string explanation);
};
Appendix F
Video Conferencing Using the Session Initiation Protocol Client
Need help?
Do you have a question about the Interactive Experience Client 4600 Series and is the answer not in the manual?
Questions and answers