Page 1 of 1
Combining video streaming over UDP with FEC-encoding?
Posted: 26 Mar 2012 21:03
by andersbranderud
I would like to have some guidelines of how to combine video streaming over UDP with FEC-encoding? I would like to know what changes to be made - e.g. which data to take (in which classes, in which functions) and FEC-encode before sending it; and where to find the buffers with data to FEC-decode on the client-side before playing it. What more changes needs to be made?
Thanks in advance!
Anders Branderud
Re: Combining video streaming over UDP with FEC-encoding?
Posted: 26 Mar 2012 21:39
by Rémi Denis-Courmont
It depends what protocol you implement or between which layers the FEC is inserted, I guess.
Re: Combining video streaming over UDP with FEC-encoding?
Posted: 26 Mar 2012 22:31
by andersbranderud
I insert the FEC-code at the application-layer.
Re: Combining video streaming over UDP with FEC-encoding?
Posted: 26 Mar 2012 22:37
by Rémi Denis-Courmont
I guessed that much. That does not really answer the question.
Re: Combining video streaming over UDP with FEC-encoding?
Posted: 27 Mar 2012 12:41
by andersbranderud
The server streams the data. It shouldn't keep track of any state of what data the clients have received, nor receive any acknowledgments from the clients during the video streaming. It merely keeps track of what data it has sent.
I want to use a simple UDP-protocol.
Re: Combining video streaming over UDP with FEC-encoding?
Posted: 27 Mar 2012 14:53
by Rémi Denis-Courmont
Then you need to write a new access (byte stream input) plugin.
Re: Combining video streaming over UDP with FEC-encoding?
Posted: 27 Mar 2012 16:18
by andersbranderud
Thanks for your reply!
Could you estimate how long time it would take for a person with my knowledge level to get into the code of the VideoLAN-library and understand it deep enough; and then add the feature that I specified?
In order for you to be able to estimate: I have studied more than 5 years of Computer science and have programmed several hundred hours besides all programming in my education. I have a basic knowledge of networks. The FEC-code I would use is OpenFEC (openfec.org) - and I already got that working with FEC-encoding and decoding numbers - sent over UDP.