ns-allinone-2.35/rap/media-app.cc
MediaSegment::MediaSegment(const HttpMediaData& d) : flags_(0)
{
	start_ = d.st();
	end_ = d.et();
	if (d.is_last())
		set_last();
	if (d.is_pref())
		set_pref();
}
//----------------------------------------------------------------------
// Classes related to a multimedia object
//
// MediaSegment
// MediaSegmentList: segments in a layer
// MediaPage: a stored multimedia object (stream)
//----------------------------------------------------------------------
Classes related to a multimedia object
MediaSegment
MediaSegmentList: segments in a layer
MediaPage: a stored multimedia object (stream)
Classes related to a multimedia object MediaSegment MediaSegmentList : segments in a layer MediaPage : a stored multimedia object ( stream )
MediaSegment::MediaSegment(const HttpMediaData& d) : flags_(0)
{
	start_ = d.st();
	end_ = d.et();
	if (d.is_last())
		set_last();
	if (d.is_pref())
		set_pref();
}
MediaSegment :: MediaSegment ( const HttpMediaData & d ) : flags_ ( 0 ) { start_ = d . st ( ) ; end_ = d . et ( ) ; if ( d . is_last ( ) ) set_last ( ) ; if ( d . is_pref ( ) ) set_pref ( ) ; }
Classes related to a multimedia object
MediaSegment
MediaSegmentList: segments in a layer
MediaPage: a stored multimedia object (stream)
Classes related to a multimedia object MediaSegment MediaSegmentList : segments in a layer MediaPage : a stored multimedia object ( stream )