Fixed some video related bugs
parent
d26353e383
commit
36f5668586
|
@ -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
|
||||
|
||||
|
|
|
@ -63,7 +63,6 @@ class RetryTimeCalculator {
|
|||
}
|
||||
|
||||
calculateRetryTime() {
|
||||
return 0;
|
||||
if(this.retryCount >= 5) {
|
||||
/* no more retries */
|
||||
return 0;
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue