Skip to content

siprtcio/websdkdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

websdkdemo

Websdk

https://app.siprtc.io/dist/js/websdk.js

include above script in your html file using

<script src="proxy.php?url=https%3A%2F%2Fapp.siprtc.io%2Fdist%2Fjs%2Fwebsdk.js"></script>

Intialise websdk

SiprtcWebRTCSDK function helps to initialise websdk and return client object. using this object you can make or answer a call.

var g_client = new SiprtcWebRTCSDK();

Callback handling

function callback(status, event) {
  console.log("Status : " + status)
  console.log(event)
  switch (status) {
    ...
    ...
  }
}

user creation and registraion

create new user

register user using websdk.

Make new Call

Answer Call

Reject call

Mute call

Un-Mute Call

Hangup Call

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors