I'm trying to disable audio when publishing:
constraints = {
audio: false,
video: {
width: 320,
height: 240
}
}
session.createStream({
name: streamName,
display: @localVideo,
cacheLocalResources: true,
constraints: constraints,
receiveVideo: false,
receiveAudio: false,
rtmpUrl: app.params.rtmpUrl
}). //...
However the console says:
constraints = {
audio: false,
video: {
width: 320,
height: 240
}
}
session.createStream({
name: streamName,
display: @localVideo,
cacheLocalResources: true,
constraints: constraints,
receiveVideo: false,
receiveAudio: false,
rtmpUrl: app.params.rtmpUrl
}). //...
However the console says: