Skip to content

dotflopp/Razdor.Merged

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Special merged repository for Foss.Kruzhok open-source

How to run Razdor.Android

Как протестировать?

  1. Скачайте стабильную версию андроид приложения .apk
  2. Установите приложение
  3. Предоставьте разрешения
  4. Создайте новый аккаунт для одного устройства и ещё один для другого. Или же вы можете воспользоваться готовыми тестовыми аккаунтами:
    • Dan, пароль: 1234;
    • Lukus, пароль: 1234
  5. Зайдя на главную страницу, вы отправляете запрос на связь с одного устройства на другое. На втором устройстве вы принимаете запрос.

Как создать проект 🛠️

  1. Загрузите последнюю версию Android Studio IDE
  2. Клонируйте репозиторий
  3. Дождитесь завершения сборки gradle
  4. Запускайте

How to run Razdor.Backend

How to test with docker desktop

  1. Setup docker
  2. Clone repository
  3. Go to project directory
  4. Build docker image
    docker build -t image-name .
  1. Run container
    docker run --rm -p 5154:8080 image-name
  1. Build and use frontend or view the available routes on http://**/swagger

If you have any issues with live streaming, please write it

How to deploy on Lan

  1. Select the ip of the desired network using ifconfig/ipconfig
  2. Run docker container in network
    docker run --rm -p 26.201.58.143:5154:8080 image-name

WARNING. A firewall may interfere with network detection.

How to run Razdor.Frontend

  1. Clone repository
  2. Go to project directory
  3. Then write in cmd >npm i
  4. And >npm run dev
  5. If you need switch address you can do this in src>app>webrtc.ts on line 13
  6. Build and use Backend

If you have any issues with live streaming, please write it

How to test 📱

  1. Download stable release .apk
  2. Install application
  3. Grant video recording permission
  4. Write your IP-address destination (you can test once with 127.0.0.1 individually). You need to stream to peer client which has the same application.
  5. 'Start recording' button means that you can receive live stream video from another client. Click on it.
  6. Buttons (0, 1 and etc) below are your available camera ID's for live streaming.
  7. Select any camera (0, 1 and etc) and click on it

If you have any issues with live streaming, please write it

How to build a project 🛠️

  1. Download latest Android Studio IDE
  2. Clone repository
  3. Select folder with Android Studio IDE and open it
  4. Wait till gradle building will be completed

How to change camera capturing settings 📸

Press LShift twice and type CaptureRequest.kt. Inside the default() function you can change parameters via set() method. See documentation with available options

How to change camera streaming settings 🎥

Press LShift twice and type MediaFormat.kt. Inside the default() function you can change parameters via setInteger() method. See documentation with available options Also, you can change streaming settings inside app with downloaded stable version .apk. Click on 'options' button and you have:

  • capture-rate
  • i-frame-interval
  • width
  • height
  • rotation-degrees
  • frame-rate
  • bitrate
demo.mp4

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •