[Live-devel] Framer/Parser Implementation problem
Yedidia Amit
amit.yedidia at elbitsystems.com
Sun Nov 2 21:53:28 PST 2008
Hi Ross,All.
I want to implement H264VideoStreamFramer to delievr H264 Nals.
I also want that the same framer will be used no matter if the source
ByteStreamFileSource or DeviceSource.
I implemented my device source as a readable socket which the encoder
send nal after nal into it. (I am receiving it with recv())
My problem is the following:
ByteStreamFileSource needs that H264VideoStreamFramer to have a parser.
The parser object should parse byte after byte and deliver complete Nals
to the framer. However since my Device source is already sending Nals
using send(), I just need to do recv() to receive a complete NAL,
without needing the exhausting parsing.
What is the right thing to do (to keep only one Framer)
1. implementing two types of parser and let the frame choose which to
create? (based on what?)
2. implementing two types of paser and deliver the appropriate one to
the framer upon creation (needs API change)
3. implementing two types of framer. One that make use of the parser,
and one that doesn't. (what I tried to avois)
4. implementing the parser as a Filter (concept change)
Thank you.
Amit Yedidia
The information in this e-mail transmission contains proprietary and business
sensitive information. Unauthorized interception of this e-mail may constitute
a violation of law. If you are not the intended recipient, you are hereby
notified that any review, dissemination, distribution or duplication of this
communication is strictly prohibited. You are also asked to contact the sender
by reply email and immediately destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20081103/c7d48aee/attachment.html>
More information about the live-devel
mailing list