Skip to content

Commit

Permalink
reverting hacks
Browse files Browse the repository at this point in the history
  • Loading branch information
darioalessandro committed Jul 27, 2024
1 parent 261f5df commit 6c85bf5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/upload-api-docker-hub.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Publish API to Docker image

on:
pull_request:
# pull_request:
# paths:
# - '*'
push:
branches:
- main
paths:
- '*'
# push:
# branches:
# - main
# paths:
# - 'actix-api/**'
# - 'types/**'
# - Dockerfile.actix
- 'actix-api/**'
- 'types/**'
- Dockerfile.actix

jobs:
push_to_registry:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/upload-ui-docker-hub.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: Publish UI to Docker image

on:
pull_request:
paths:
- '*'
# push:
# branches:
# - main
# pull_request:
# paths:
# - 'yew-ui/**'
# - 'types/**'
# - Dockerfile.yew
# - nginx.conf
# - '*'
push:
branches:
- main
paths:
- 'yew-ui/**'
- 'types/**'
- Dockerfile.yew
- nginx.conf

jobs:
push_to_registry:
Expand Down
8 changes: 4 additions & 4 deletions videocall-client/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ pub const AUDIO_SAMPLE_RATE: u32 = 48000u32;
pub const AUDIO_BITRATE: f64 = 50000f64;

// vga resolution
pub const VIDEO_HEIGHT: i32 = 480i32;
pub const VIDEO_WIDTH: i32 = 640i32;
// pub const VIDEO_HEIGHT: i32 = 480i32;
// pub const VIDEO_WIDTH: i32 = 640i32;

// pub const VIDEO_HEIGHT: i32 = 720i32;
// pub const VIDEO_WIDTH: i32 = 1280i32;
pub const VIDEO_HEIGHT: i32 = 720i32;
pub const VIDEO_WIDTH: i32 = 1280i32;
pub const SCREEN_HEIGHT: u32 = 1080u32;
pub const SCREEN_WIDTH: u32 = 1920u32;

Expand Down

0 comments on commit 6c85bf5

Please sign in to comment.