Search code examples
c#rtsprtmp

How to send webcam video + audio to rtsp/rtmp server


I'm looking for a method to send video and audio to the rtsp/rtmp server. It should be compatible with notebook webcams and USB webcams. I would like to do it in C#.

I found some library called rtmpclient, but it looks it can't send a message to the server. I found also a framework to support webcams that gives a posibility to do an action for every captured frame. But I can't find any similar solution to send a voice with the image.

How can I send the video and audio to the server?


Solution

  • Check out https://net7mma.codeplex.com/ ( I am the Author )

    It supports Rtsp and Rtp and not Rtmp however it could support Rtmp with some changes. Depending on what you want to achieve it may be able to do it already... You can possibly fake the Rtmp Packet as a RtpPacket and the library wouldn't care.

    If you need Rtmp specefically check out

    http://www.broccoliproducts.com/softnotebook/rtmpclient/rtmpclient.php

    or

    http://www.fluorinefx.com/docs/fluorine/netconnectionrtmp.html

    Let me know if you need anything else!