I am trying to get the call_uuid from the phone.html web sdk example. I noticed that when I click mute I get the following in the console:
muting..0.id=akaYdb90pOm49qHJWUaiTVb2x5E4OVPgUEfMa0..enabled status=true
Is that long random string the call_uuid? While I wait for a new API release with something like Plivo.conn.getcurrentcall() or Plivo.conn.transfer(number)
Here is the relevant code from Plivo.min.js:
p.prototype.mute = function () {
if (x) {
var
D = x.mediaSession.localMedia.audioTracks || x.mediaSession.
localMedia.getAudioTracks();
for (var
C = 0; C < D.length; C++) {
console.log("muting.." + C + ".id=" + D[C].id + "..
enabled
status=" + D[C].enabled);
D[C].enabled = false
}
} else {
Plivo.logDebug("
mute failed : no active call
session")
}
};