char const* fileName, FILE* /*fid*/) ServerMediaSession* sms = NULL;
sms->addSubsession(H264LiveVideoServerMediaSubsession
::createNew(env, fileName, reuseSource));
获取video
FramedSource*
H264LiveVideoServerMediaSubsession::createNewStreamSource (unsigned /*clientSessionId*/, unsigned& estBitrate)
H264LiveVideoSource* liveSource = H264LiveVideoSource::createNew(envir(), fChanID);
if (liveSource == NULL) return NULL;
// Create a framer for the Video Elementary Stream:
return H264VideoStreamFramer::createNew(envir(), liveSource);
获取帧
H264LiveVideoSource::doGetNextFrame()
编译通过nfs运行
VLC 播放