Fixed some video related bugs

master
WolverinDEV 2021-01-12 21:18:55 +01:00
parent d26353e383
commit 36f5668586
4 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,8 @@
# Changelog:
* **12.01.21**
- Fixed bug where the quick video select popup did not start the video broadcasting
- Fixed a bug where an invalid H264 codec may caused video connection setup failure
* **09.01.21**
- The connect modal now connects when pressing `Enter` on the address line

View File

@ -63,7 +63,6 @@ class RetryTimeCalculator {
}
calculateRetryTime() {
return 0;
if(this.retryCount >= 5) {
/* no more retries */
return 0;

View File

@ -57,7 +57,7 @@ export class SdpProcessor {
fmtp: {
"level-asymmetry-allowed": 1,
"packetization-mode": 1,
"profile-level-id": "4d0028",
"profile-level-id": "42001f",
"max-fr": 30,
}
},

View File

@ -94,7 +94,10 @@ export async function spawnVideoSourceSelectModal(type: VideoBroadcastType, mode
}
if(event.status.status === "preview") {
/* we've successfully selected something */
/* We've successfully selected something. Use that device instead. */
result.source?.deref();
result.source = controller.getCurrentSource()?.ref();
result.config = controller.getBroadcastConstraints();
modal.destroy();
}
});