sip.js + freeswitch 软电话(webRTC)demo

<!DOCTYPE html> <html> <head> <title>SIP + WebRTC + freeSWITCH</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="./assets/js/jquery-1.10.2.min.js"></script> <script src="./assets/js/sip-0.7.7.js" type="text/javascript"></script> <script src="./assets/js/discard.js?v=1"></script> </head> <body> <div id="app"> <audio id="remoteAudio"></audio> <audio id="localAudio"></audio> <button class="login" data-action="logout">登陆</button> <button class="logout" data-action="logout">登出</button> <button class="register" data-action="register">就绪</button> <button class="unregister" data-action="unregister" style="margin-right: 10px;">取消就绪</button> <button class="call" data-action="call">拨打</button> <button class="hang-up" data-action="hangup">挂断</button> <button class="answer" data-action="answer">接听</button> </div> </body> </html>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/zggxsg.html