Wowza Community

C# server - publishing h264 stream

Hello,

I have got C# server which receive h264 stream from my device via tcp. I want to send this stream to wowza using ffmpeg without saving video file on hard drive. I know that video is valid because after saving it on drive and using ffmpeg it can be displayed in wowza player. I wonder if this is possible to send byte array to ffmpeg and then it will push stream directly to wowza. I’ve been trying to receive stream in ffmpeg via udp but it doesn’t work. Maybe there are other solutions how to publish video to wowza on the way that i have to do it.

Thanks for your time.

What kind of device is it? If it’s a H.264 stream, then there’s a big chance you can open it with ffmpeg, you just need to find the right input format. Does the device send raw bytes over TCP, or does it use e.g. RTP, or MPEG-TS?