I am working on a peer to peer communication project using c# and wpf and the app needs to get video from a webcamera, encode it using h264 or h263 and send it in real time, I can get the frames from the camera and I can send it, but I am having difficulty encoding/compressing the frames, I have tried to use vlc and ffmpeg library to do the encoding and streaming, but they are introducing time lag which is not acceptable, and all the h263 and h264 source code that I have seen are all in C/c++, pls people is there any option available for me to use in C# beside the microsoft expression encoder that I have to buy