Git Product home page Git Product logo

improving-video-quality-on-an-rtp-stream's Introduction

Improving-Video-Quality-on-an-RTP-stream

MPEG video frames contain 4 types of pictures, I, P, B and D. Loss of I and P pictures affect all other pictures within the same frame, causing more severe consequences than losing B or D picture packets. However, these priority levels of video picture packets are not known to the network forwarding engines. If congestion happen at the routers where there are video packets being forwarded, they will not honor the importance of I picture packets and drop them with the same rule as with P and B picture packets.

The aim of this project is to improve video quality by prioritizing I picture packets. The importance of I picture packets is made known to edge routers, so the edge routers will drop such packets with lower probability than other video packets when edge routers get congested. The rationale to enable this feature on edge routers but not core routers is that the core routers are busy forwarding packets all the time, so they can not do any extra work other than forwarding.

The most significant part is tagging I picture packets in IP headers so that routers can read this information. This function will be realized by a Linux kernel module using Netfilter hooks. This kernel module needs to first examine whether the packets are tagged or not. If already tagged, the module does nothing on it. If not tagged, the module will read the Picture-Type (3 bits) field in the MPEG header where frame structure is available as RTP payload as defined in RFC 2250. The module will then tag the I packets by setting the DSCP field to a value. The folder marking module has the kernel code that identifies a video packet from an RTP stream from all incoming IP traffic.

The entire project was done on linux machines; the topology used can be found in topology.png and all the configurations done on the machines can be found in the folder config scripts.

The video servers generate video streams and the client receives them. Edge router E1 has the marking module which tags the I packets and gives them a higher priority when the network is congested.

improving-video-quality-on-an-rtp-stream's People

Contributors

aravind-anantha avatar

Watchers

 avatar

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.