Thank you Ross for your response. I didn't explain myself earlier as I should. I have already read the FAQ of course before posting.

Well, I'm not sure that you read
        http://www.live555.com/liveMedia/faq.html#liveInput
and
        http://www.live555.com/liveMedia/faq.html#liveInput-unicast
which address your question.


I have understood that I have to create my own createNewStreamSource in a new myH264VideoFileServerMediaSubsession. My questions is, which is the simplest way to change the input and instead of reading from file, just give as input a data buffer uint8_t *.

Define your own subclass of "FramedSource" (perhaps based on the "DeviceSource" model), and create an instance of this subclass to encapsulate your data buffer.


 I guess I will have to change ByteStreamFileSource:createNew , right?

WRONG! You do not need to change the supplied code! (The "ByteStreamFileSource" code works perfectly well, as is. However, you won't be using that class.)
--

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to