Giter Site home page Giter Site logo

raniita / videochat-qos Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 74.92 MB

[4 GIT] Proyecto final de laboratorio de contenidos digitales

License: GNU Affero General Public License v3.0

C++ 20.73% C# 79.27%
csharp videostreaming rtp-streaming alaw g711 jpeg-streaming

videochat-qos's Introduction

RTP over UDP implementation for A/V multicast-streaming

Objetive

  • Analyze the impact on the network by the A/V streaming. Calculate delay, jitter and losses.
  • Implementation of RTP Protocol. Spec of RTP
  • Chat-multicast over UDP
  • Webcam USB multicast-streaming (jpeg compression)
  • Microphone multicast-streaming (encoded with a-law[g711])

Disclaimer: The sound only reproduce if the videochat-client form is focus.

Wireshark RTP decoding

If we capture the traffic of videochat-server with wireshark, we can decode the UDP packets with the RTP spec. In case of JPEG frames, we find a RTP Stream and in other case, the audio streaming, we find too a diferent RTP Stream

Usage of wireshark for RTP statistics

Pics of a example traffic capture! 6 7 8

Analyze

On the client, we implement the delay, jitter and losses for every RTP received. We calculate this values for each 1sg

Pics of client! 5

Pics of server! 2

Spec of RTP. Appendix for jitter calc

Analysis of RTP Packet Delay and Loss

File explanation

  • ALaw. Teacher files to encode and decode audio with ALaw
  • RTPStream. My implementation of RTP spec. Create the RTP header, create the packet and send it over the network.
  • videochat-client. Client that connect to the net, receiving the incoming RTP A/V packets and show that to the user (reproduce and display).
  • videochat-server. Server to wrap the audio and the video, encapsulate and send over the net.

External references

  • WebCamLib + WebCamWrapper => C++ Lib that teacher give to wrap USB cameras
  • DirectX DirectSound => To capture the sound
  • RTPStream => My implementation of RTP Spec
  • ALaw => To encode/decode PCM.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.