View Single Post
Old 3rd January 2010, 20:07   #221
Smelter
Major Dude
 
Smelter's Avatar
 
Join Date: Jan 2004
Posts: 1,141
Feed config, key and slices, in that order.
code:

VideoData video = (VideoData)nsv.getMarshal().getVideoFramer().getAVCDecoderConfig();
VideoData idrKey = (VideoData)nsv.getMarshal().getVideoFramer().getLastKey();
List<IRTMPEvent>slices= nsv.getMarshal().getVideoFramer().getLastSlices();

if(video != null && idrKey !=null && slices !=null)
{
for (int t = 0; t < slices.size(); t++)
{
VideoData slc = (VideoData) slices.get(t);
}
}


Smelter is offline   Reply With Quote