Git Product home page Git Product logo

rtp's Introduction

RTP

THUSS-computer networking final work--rtp. it's similar to final work of nyu, but rather more complicated.

environment

language: python3
packages: opencv + pyqt5

run

python Server.py
python ClientLauncher.py

feature

  1. using opencv to capture jpg from a mp4 video
  2. using RTP to send raw jpg data stream from server to client
  3. client controls server by RTSP: SETUP PLAY PAUSE TAERDOWN GET_PARAMETER SET_PARAMETER
  4. RTCP packetization has been implemented, if frac_lost > 50/255, then the server will decrease video quality and prolong sleep time between two packets
  5. you can show video in full-screen mode, can buffer-load video, can set video quality, can reposition, can change speed of video in client

implementation

  1. GET_PARAMETER SET_PARAMETER in RTSP to ge/set fps/total frame etc
  2. 3 threads in client to play video stream, one to receive udp packets, one to unpack rtp from udp, one to paint. The data is delivered by queue
  3. full-screen is another top widget, client/full-screen widget/serer all contain a DFA to determine its behavior.

to the lower class

wish you guys survive junior year in THUSS :)

rtp's People

Contributors

chuchong 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.