mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-08 04:19:11 +00:00
skip "Should show error screen if call creation is restricted" on ff
This commit is contained in:
@@ -335,7 +335,6 @@ export const createLocalMembership$ = ({
|
||||
try {
|
||||
await publisher?.startPublishing();
|
||||
} catch (error) {
|
||||
// will take care of "FailedToStartLk" errors.
|
||||
setLivekitError(error as ElementCallError);
|
||||
}
|
||||
} else if (tracks.length !== 0 && !shouldConnect) {
|
||||
|
||||
@@ -174,6 +174,7 @@ export class Publisher {
|
||||
} finally {
|
||||
sub.unsubscribe();
|
||||
}
|
||||
|
||||
for (const track of this.tracks$.value) {
|
||||
// TODO: handle errors? Needs the signaling connection to be up, but it has some retries internally
|
||||
// with a timeout.
|
||||
|
||||
@@ -110,7 +110,6 @@ export class Connection {
|
||||
* @throws {InsufficientCapacityError} if the LiveKit server indicates that it has insufficient capacity to accept the connection.
|
||||
* @throws {SFURoomCreationRestrictedError} if the LiveKit server indicates that the room does not exist and cannot be created.
|
||||
*/
|
||||
// TODO dont make this throw and instead store a connection error state in this class?
|
||||
// TODO consider an autostart pattern...
|
||||
public async start(): Promise<void> {
|
||||
this.logger.debug("Starting Connection");
|
||||
|
||||
Reference in New Issue
Block a user