prateek_sharma
New Member
function participantStream(session) {
var streamName = participantname;
publishStream = session.createStream({
name: streamName,
display: document.getElementById("participantview"),
constraints : {
audio : {deviceId : paudioid},
video : {deviceId : pcameraid}
}
}).on(STREAM_STATUS.PUBLISHING, function (publishStream) {
playStream(session)
});
publishStream.publish();
}
//MCU
function playStream(session) {
var streamName = roomname;
conferenceStream = session.createStream({
name: streamName,
display: document.getElementById("MCUview"),
}).on(STREAM_STATUS.PLAYING, function (stream) {
console.log("playing");
});
conferenceStream.play();
}
hello Max
i am facing an issue with audio
when i start the MCU and add my localstream in the MCU my audio falls back to me
please help me out.
var streamName = participantname;
publishStream = session.createStream({
name: streamName,
display: document.getElementById("participantview"),
constraints : {
audio : {deviceId : paudioid},
video : {deviceId : pcameraid}
}
}).on(STREAM_STATUS.PUBLISHING, function (publishStream) {
playStream(session)
});
publishStream.publish();
}
//MCU
function playStream(session) {
var streamName = roomname;
conferenceStream = session.createStream({
name: streamName,
display: document.getElementById("MCUview"),
}).on(STREAM_STATUS.PLAYING, function (stream) {
console.log("playing");
});
conferenceStream.play();
}
hello Max
i am facing an issue with audio
when i start the MCU and add my localstream in the MCU my audio falls back to me
please help me out.