Skip to content

RTSP Server Side implementation of RTSP over HTTP for RtspCameraExample #130

@RogerHardiman

Description

@RogerHardiman

Hi
I can see SharpRTSP has code to be a client of a RTSP over HTTP Server.
I want to add support for RTSP over HTTP and RTSP over HTTPS to the RTSP Server code and test with RtspCameraExample

I wanted to check if anyone has tried this already or if there are any forks worth looking at.

I've already done the research and read the Apple mini spec.

I wanted to keep this on the same port as a RTSP connection so will handle RTSP and the HTTP connection on the same port (eg 8554)
I'd like to keep the rest of the RTSP Server code reading from a Stream.

So I think I need to write some code that will sit between the TCP Server Connections and the Stream Read/Write functions which are written to Read and Write RTSP messages to a stream.

My new code would need to read data from the TCP Socket, and if it is a RTSP message, just pass data straight through.
If the data read from the TCP socket is a HTTP Header, I need to respond and wait for the 2nd HTTP connection with the correct GUID and then pass data read from the HTTP connection to the stream the exisitng RTSP Sharp code uses and handle Stream Writes from the existing Sharp RTSP code.

So just wanted to check if anything has been tried already.

Thanks
Roger

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions