Giter VIP home page Giter VIP logo

Comments (4)

RogerHardiman avatar RogerHardiman commented on May 25, 2024

I have never tried a MPJEG stream.
I have made some changes in the RTSPClient example that will allow you to receive RTP packets for MJPEG (Payload Type 26) but you will need to write your own code to take each RTP frame and extract the JPEG data. The RFC for JPEG over RTP tells you how to do this.
It would be great if you could implement this and we can merge your code into the project.

from sharprtsp.

dxball avatar dxball commented on May 25, 2024

I will try it, thank you!

from sharprtsp.

RogerHardiman avatar RogerHardiman commented on May 25, 2024

The latest version of the RTSP Client Example in GitHub will connect to a MJPEG RTSP stream and receive the RTP packets.
However the code will soon arrive at this section

                else if (rtp_payload_type == 26) {
                    Console.WriteLine("No parser for JPEG RTP packets");

and this is where you need to write some software to take the RTP packets and extract the JPEGs from them. There is a RFC standard that defines how to do this.

from sharprtsp.

RogerHardiman avatar RogerHardiman commented on May 25, 2024

closing this issue down. If someone wants to write the code to extract the JPEGs from a MJPEG stream then we can include it

from sharprtsp.

Related Issues (20)

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.