Reputation: 150
Is it possible to send a video stream using rtp with resolution of 800x600 over the internet in real time?
I've read about MTU limit but i don't know how to accomplish this limit with this resolution even compressing it with h264.
What techniques use popular video chat programs to do this?
I've tried with a lot of compression but I can send only with a resolution of 400x300.
Upvotes: 0
Views: 586
Reputation: 9573
Is it possible to send a video stream using rtp with resolution of 800x600 over the internet in real time?
Yes.
I've read about MTU limit but i don't know how to accomplish this limit with this resolution even compressing it with h264.
It doesn't matter: the H.264 RTP payload format supports fragmtation of larger NAL units to meet MTU contraints. You do need to use the non-interleaved mode which supports fragmentation of NAL units instead single NAL-unit mode where one RTP packet contains one NAL unit.
EDIT: Your comment changes the context of the question completely.
Is it possible at 30 fps?
This depends entirely on your definition of 'real-time'. Applications such as video conferencing are considered real-time. However in a scenario such as yours, you have much more critical latency constraints. That's a whole different story and this depends on whether:
Also, in such a case, you need to consider what happens when packets or steering information is lost? What are the safety considerations if your machine crashes, etc.? RTP is typically sent over UDP for latency reasons, which means RTP packets can be lost. While you can send it over TCP, in your case, you should absolutely not, as RTP over TCP can result in huge packet arrival delays.
Upvotes: 2