h264videofileservermediasubsession.hh
来自「H.264 RTSP 串流(live 555)視窗」· HH 代码 · 共 38 行
HH
38 行
// "liveMedia"
// Copyright (c) 1996-2008 Live Networks, Inc. All rights reserved.
// A 'ServerMediaSubsession' object that creates new, unicast, "RTPSink"s
// on demand, from a MPEG-4 video file.
// C++ header
#ifndef _H264_VIDEO_FILE_SERVER_MEDIA_SUBSESSION_HH
#define _H264_VIDEO_FILE_SERVER_MEDIA_SUBSESSION_HH
#ifndef _MPEG4_VIDEO_FILE_SERVER_MEDIA_SUBSESSION_HH
#include "MPEG4VideoFileServerMediaSubsession.hh"
#endif
class H264VideoFileServerMediaSubsession: public MPEG4VideoFileServerMediaSubsession {
public:
static H264VideoFileServerMediaSubsession* createNew(UsageEnvironment& env, char const* fileName, Boolean reuseFirstSource);
//anson protected:
public:
H264VideoFileServerMediaSubsession(UsageEnvironment& env, char const* fileName, Boolean reuseFirstSource);
void afterPlayingDummy1();
void checkForAuxSDPLine1();
char const* getAuxSDPLine(RTPSink* rtpSink, FramedSource* inputSource);
// called only by createNew();
// redefined virtual functions
virtual FramedSource* createNewStreamSource(unsigned clientSessionId, unsigned& estBitrate);
virtual RTPSink* createNewRTPSink(Groupsock* rtpGroupsock, unsigned char rtpPayloadTypeIfDynamic, FramedSource* inputSource);
virtual ~H264VideoFileServerMediaSubsession();
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?