Skip to content

Instantly share code, notes, and snippets.

qx.Class.define("OpenCloseController",
{
extend: qx.core.Object,
construct: function(tree, model, openPropertyName)
{
this.base(arguments);
if (openPropertyName)
{
@derrell
derrell / gist:1ed76577215accc8f547beb176c204a2
Created August 29, 2017 13:18
Attempting to stop mic audio from flowing to SIP server
onlocalstream : function(stream)
{
console.log("SIP: attaching local stream");
// Initially mute the microphone
var tracks = stream.getAudioTracks();
tracks.forEach(
function(track)
{
console.warn("SIP: before enabled=false: track=", track);