Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #17 from membraneframework/MV-67-overconstrained-e…
Browse files Browse the repository at this point in the history
…rror

[MV-67] Fix overconstrained error
  • Loading branch information
bblaszkow06 authored May 6, 2022
2 parents f2b2444 + e794fba commit df09627
Show file tree
Hide file tree
Showing 5 changed files with 241 additions and 66 deletions.
Binary file removed .DS_Store
Binary file not shown.
190 changes: 173 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,187 @@ priv/certs/*.pem
priv/integrated_turn_cert.pem
priv/static/assets

# The directory Mix will write compiled artifacts to.
/_build/
# Ignore package tarball (built via "mix hex.build").
videoroom-*.tar

# If you run "mix test --cover", coverage assets end up here.
/cover/
node_modules

# The directory Mix downloads your dependencies sources to.
/deps/
compile_commands.json
.gdb_history
bundlex.sh
bundlex.bat

# Where third-party dependencies like ExDoc output generated docs.
/doc/
# Dir generated by tmp_dir ExUnit tag
/tmp/

# Ignore .fetch files in case you like to edit your project deps locally.
/.fetch
# Created by https://www.gitignore.io/api/c,vim,linux,macos,elixir,windows,visualstudiocode
# Edit at https://www.gitignore.io/?templates=c,vim,linux,macos,elixir,windows,visualstudiocode

# If the VM crashes, it generates a dump, let's ignore it too.
erl_crash.dump
### C ###
# Prerequisites
*.d

# Object files
*.o
*.ko
*.obj
*.elf

# Linker output
*.ilk
*.map
*.exp

# Precompiled Headers
*.gch
*.pch

# Libraries
*.lib
*.a
*.la
*.lo

# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib

# Also ignore archive artifacts (built via "mix archive.build").
# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex

# Debug files
*.dSYM/
*.su
*.idb
*.pdb

# Kernel Module Compile Results
*.mod*
*.cmd
.tmp_versions/
modules.order
Module.symvers
Mkfile.old
dkms.conf

### Elixir ###
/_build
/cover
/deps
/doc
/.fetch
erl_crash.dump
*.ez
*.beam
/config/*.secret.exs
.elixir_ls/

# Ignore package tarball (built via "mix hex.build").
videoroom-*.tar
### Elixir Patch ###

.elixir_ls
### Linux ###
*~

node_modules
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Vim ###
# Swap
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]

# Session
Session.vim
Sessionx.vim

# Temporary
.netrwhist
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

### VisualStudioCode Patch ###
# Ignore all local history of files
.history

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

# End of https://www.gitignore.io/api/c,vim,linux,macos,elixir,windows,visualstudiocode
28 changes: 17 additions & 11 deletions assets/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 11 additions & 7 deletions assets/src/consts.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
export const AUDIO_MEDIA_CONSTRAINTS: MediaStreamConstraints = {
audio: true,
video: false,
export const AUDIO_TRACK_CONSTRAINTS: MediaTrackConstraints = {
advanced: [
{ autoGainControl: true },
{ noiseSuppression: true },
{ echoCancellation: true },
],
};

export const VIDEO_MEDIA_CONSTRAINTS: MediaStreamConstraints = {
audio: false,
video: { width: 1280, height: 720, frameRate: 24 },
export const VIDEO_TRACK_CONSTRAINTS: MediaTrackConstraints = {
width: { max: 1280, ideal: 1280, min: 640 },
height: { max: 720, ideal: 720, min: 320 },
frameRate: { max: 30, ideal: 24 },
};

export const SCREENSHARING_MEDIA_CONSTRAINTS: DisplayMediaStreamConstraints = {
video: {
frameRate: { ideal: 20, max: 25 },
frameRate: { ideal: 10, max: 15 },
},
};

Expand Down
Loading

0 comments on commit df09627

Please sign in to comment.