Mesibo Video & Voice Conferencing
Quick Start with Mesibo Video Conferencing API for Javascript
{% include_relative nav.html selected="js" %}
{% capture dev_setup %}
Include mesibo.js
in your project as explained in
Installation Instructions.
{% endcapture %}
{% capture create_groupcall %} {% endcapture %}
{% capture on_publisher %}
GroupCallListener.prototype.MesiboGroupcall_OnPublisher = function(p, joined) {
if (joined) {
// call the publisher to view their stream
// Add participant to list of publishers
} else {
// Remove participant from list of publishers
}
}
{% endcapture %}
{% capture on_subscriber %}
GroupCallListener.prototype.MesiboGroupcall_OnSubscriber = function(p, joined) {
// This participant has subscribed to your stream
}
{% endcapture %}
{% capture join_room %}
function GroupCallListener() {
...
}
GroupCallListener.prototype.MesiboGroupcall_OnPublisher = function(p, joined) {
...
}
GroupCallListener.prototype.MesiboGroupcall_OnSubscriber = function(p, joined) {
...
}
let listener = new GroupCallListener();
{% endcapture %}
{% capture video_audio_call %}
// participantListener is an instance of GroupCallInProgressListener
participant.call(true, true, participantListener);
{% endcapture %}
{% capture audio_only_call %}
// participantListener is an instance of GroupCallInProgressListener
participant.call(true, false, participantListener);
{% endcapture %}
{% capture on_publisher_call%} {% endcapture %}
{% capture on_connected%} {% endcapture %}
{% capture on_video %} {% endcapture %}
{% capture on_audio %} {% endcapture %}
{% capture on_mute %} {% endcapture %}
{% capture get_mute_status %} {% endcapture %}
{% capture toggle_mute %} {% endcapture %}
{% capture on_talking %} {% endcapture %}
{% capture is_talking %} {% endcapture %}
{% capture hangup%} {% endcapture %}
{% capture publish_streams %} {% endcapture %}
{% capture publish_multiple_streams %} {% endcapture %}
{% capture set_video_source %} {% endcapture %}
{% capture publish_audio_only %}
mParticipant.call(true, false, this);
{% endcapture %}
{% capture publish_audio_video %}
mParticipant.call(true, true, this);
{% endcapture %}
{% capture display_streams%} {% endcapture %}
{% capture leave_room %} {% endcapture %}
{% include_relative quick-start.md %}
Also see: