aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 7bffea33ffe5cc76b2213c302c5a73b06befb318 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
### Video call

This is a simple application that uses various linux apis to send video and audio
through udp datagram sockets

### Libraries and APIs

This project is written only on C, using the following techonologies:
1. V4L2 - video for linux api for getting images from the camera
2. Pulse Audio Simple API for playing and recording audio (will be changed to alsa soon)
3. GLFW with OpenGL for displaying the recieved image

No other external libraires and things.

### Limitations

1. 160x120 video resolution because of the limited size of sockets
2. Crappy audio, most likely because of pulse audio
3. Works only one linux, I don't plan porting it to windows.

### TODO

1. Use alsa and not pulse audio simple api
2. MUST run at 30 fps

### Build

To build use `./build`, to clean binaries use `./build clean`
When build it create two binaries, `listener` and `talker`

### Run

The `listener` listens for connections and displays the video and plays the
audio.
The `talker` records audio and camera and sends it.