⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 h264videofileservermediasubsession.hh

📁 H.264 RTSP 串流(live 555)視窗版本
💻 HH
字号:
// "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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -