Skip to content

GoodDamn/MediaStreamingAndroid

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published

Languages