Livu Networking

May 5th, 2013 § 2 comments

I have update Livu’s RTP engine. I have removed an older full RTP engine. As of now it only works with TCP. I will implement UDP support later on. I will also be looking at reenabling the auto bitrate option. My previous implementation was using a ‘hack’ that allowed me to use sysctrlbyname to dig out the TCP control block. From there I could calculate the usable send window. To enable this I had to hack some headers in the iOS SDK to get the structure definitions. It became too hard to maintain the hack, so I disabled the support. I will take the usual approach of using async sockets and monitoring how much data was sent. If all the data is is not sent then obviously the TCP buffer is full. I will run this through filters and try to keep the stream pauses do to bandwidth issues to a minimum. I will also be adding the ability to stream TCP/UDP traffic to endpoints. This will give Livu the ability to send the H264/AAC streams to a server without any setup via RTSP. To enable this the H264 stream will emit the SPS/PPS before each key frame (this is already done).

§ 2 Responses to Livu Networking"

  • dsa says:


    when do you think you will have it finished?
    Thank you!

    • Steve says:

      This weekend I am testing long duration streaming (think days). If this is solid then I will work on finishing up everything else over the next few weeks.

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" cssfile="">

What's this?

You are currently reading Livu Networking at db.