Ok, this approach I have tested before also. Though server streams data
happily but clients are not able to play it properly. The approach I have
done is to copy single nal unit data in each getNextFrame() call of my
device source to buffer. Obviously nals doesn't contain the start code. I
removed
Thanks, the fix does work, I am able to stream my live source. But the video
quality I am getting on other side is quite glitch. Basically I am streaming
encoded data from ffmpeg's output packet (AVPacket) but I am suspecting that
since FFmpeg Gives more than one nal unit in a single AVPacket there
it required to store the rtpSink returned by the
function createNewRTPSink() in my subclass of onDemandServerMediaSubSession?
Thanks and Regards,
Bhawesh Kumar Choudhary
Graphics Engineer
VizExperts India Pvt. Ltd.
___
live-devel mailing l