Skip to content

MoceanAPI/moceanapi-webphone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

MoceanAPI Client Web Plugin for WebRTC Webphone

This is the web plugin for Mocean's API WebRTC service. Sign up for free at moceanapi.com.

Usage

<div id="mocean-web-phone"></div>
<script src="https://cdn.jsdelivr.net/gh/MoceanAPI/moceanapi-webphone/moceanapi-webphone.min.js"></script>
<script>
    CreateWebPhone({
        apiKey: API_KEY,
        apiSecret: API_SECRET,
        callerId: CALLER_ID,
    });
</script>

Custom Div ID

<div id="CUSTOM_CONTAINER_ID"></div>
<script src="https://cdn.jsdelivr.net/gh/MoceanAPI/moceanapi-webphone/moceanapi-webphone.min.js"></script>
<script>
    CreateWebPhone({
        apiKey: API_KEY,
        apiSecret: API_SECRET,
        callerId: CALLER_ID,
        containerID: CUSTOM_CONTAINER_ID
    });
</script>

Try it out!

You can try out our example app here.

About

Web plugin for Mocean WebRTC voice service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published