Re: [Live-devel] Changing maxPacketSize value for H264VideoRTPSink

2015-07-24 Thread Maxim P. DEMENTIEV
I've added ability to optionally change the packet size with the help of an environment variable, the executable is always the same. (The technical details comes after the stat.) Unfortunately, my application is quite complex, multi-threaded, contains many layers (video4linux, DSP h264 encoder, ..

Re: [Live-devel] Changing maxPacketSize value for H264VideoRTPSink

2015-07-24 Thread Maxim P. DEMENTIEV
Thanks for your quick and informative reply! Yes, the LAN - it's exactly my case. I see that the new version of the library is delivered. I'm going to use it and to send back my results of a performance testing. Regards, Max On 07/23/2015 09:39 PM, Ross Finlayson wrote: > Increasing the maximum

Re: [Live-devel] Changing maxPacketSize value for H264VideoRTPSink

2015-07-23 Thread Ross Finlayson
Increasing the maximum packet size (up to some value < 2^16 bytes) can be a good idea if you’re planning to stream only over a LAN. If, however, you’re planning to stream beyond a single LAN, then you should be aware that some routers (and/or firewalls) may limit the size of network packets tha

[Live-devel] Changing maxPacketSize value for H264VideoRTPSink

2015-07-23 Thread Maxim P. DEMENTIEV
Hello, Currently I'm working on improving an RTSP/RTCP/RTP server based on Live library which transmits the live H264 stream in HD resolution. Trying to lower the CPU consumption by the server (the hot-spot was MultiFramedRTPSink::sendNext callback), I increased the maxPacketSize value (by callin