prateek_sharma
New Member
sharbtn.onclick = startSharing();
function startSharing() {
var session = Flashphoner.getSessions()[0];
var constraints = {
video: {}
};
constraints.video.type = "screen";
constraints.video.withoutExtension = true;
session.createStream({
name:"desktop",
display: document.getElementById("screen-sharing"),
constraints: constraints
}).publish();
}
here is my code !can you please guide me why i am facing browser is not defined error thanks
function startSharing() {
var session = Flashphoner.getSessions()[0];
var constraints = {
video: {}
};
constraints.video.type = "screen";
constraints.video.withoutExtension = true;
session.createStream({
name:"desktop",
display: document.getElementById("screen-sharing"),
constraints: constraints
}).publish();
}
here is my code !can you please guide me why i am facing browser is not defined error thanks