removed unnecessary logs
This commit is contained in:
parent
a582eec640
commit
f1f1c9a7fd
1 changed files with 0 additions and 6 deletions
|
@ -89,7 +89,6 @@ addPatch({
|
||||||
bitrateMax: 8000000,
|
bitrateMax: 8000000,
|
||||||
bitrateTarget: 600000
|
bitrateTarget: 600000
|
||||||
});
|
});
|
||||||
console.log("opts: ", opts);
|
|
||||||
if (opts?.encode) {
|
if (opts?.encode) {
|
||||||
Object.assign(opts.encode, {
|
Object.assign(opts.encode, {
|
||||||
framerate,
|
framerate,
|
||||||
|
@ -459,12 +458,9 @@ function ModalComponent({
|
||||||
} catch {
|
} catch {
|
||||||
console.log("No current stream.");
|
console.log("No current stream.");
|
||||||
}
|
}
|
||||||
console.log([...MediaEngineStore.getMediaEngine().connections]);
|
|
||||||
try {
|
try {
|
||||||
if (conn) {
|
if (conn) {
|
||||||
console.log(conn);
|
|
||||||
const track = conn.input.stream.getVideoTracks()[0];
|
const track = conn.input.stream.getVideoTracks()[0];
|
||||||
console.log(track);
|
|
||||||
const frameRate = Number(settings.fps);
|
const frameRate = Number(settings.fps);
|
||||||
const height = Number(settings.resolution);
|
const height = Number(settings.resolution);
|
||||||
const width = Math.round(height * (16 / 9));
|
const width = Math.round(height * (16 / 9));
|
||||||
|
@ -498,9 +494,7 @@ function ModalComponent({
|
||||||
// i believe there MUST be way to do it cleaner..
|
// i believe there MUST be way to do it cleaner..
|
||||||
if (conn) {
|
if (conn) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
console.log(conn);
|
|
||||||
const track = conn.input.stream.getVideoTracks()[0];
|
const track = conn.input.stream.getVideoTracks()[0];
|
||||||
console.log(track);
|
|
||||||
const frameRate = Number(settings.fps);
|
const frameRate = Number(settings.fps);
|
||||||
const height = Number(settings.resolution);
|
const height = Number(settings.resolution);
|
||||||
const width = Math.round(height * (16 / 9));
|
const width = Math.round(height * (16 / 9));
|
||||||
|
|
Reference in a new issue