Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
ComponentVideoRTP/Sources/RTPRssmComponentVideo.r
/* |
File: RTPRssmComponentVideo.r |
Contains: Resources for Component Video RTPReassembler |
Copyright: © 1997-1998 by Apple Computer, Inc., all rights reserved. |
An RTPReassembler must define at least one reassembler info resource |
(kRTPReassemblerInfoResType) and a public component resource map ('thnr') that |
points to the reassembler info resources. |
QuickTime Streaming uses a reassembler info resource to determine what RTP |
payload type a reassembler handles, and to compare reassemblers that handle the |
same payload type. |
*/ |
#define SystemSevenOrLater 1 |
#define SystemSevenOrBetter 1 |
#include "RTPRssmComponentVidResources.h" |
#include "QTStreamingComponents.r" |
#include "ComponentThing.r" |
resource 'STR#' ( kRTPRssmComponentVideoStringListResource ) |
{ |
{ |
COMPONENT_VIDEO_CODEC_NAME_STRING |
} |
}; |
resource 'thnr' ( kComponentBaseID ) |
{ |
{ |
kRTPReassemblerInfoResType, 1, 0, |
kRTPReassemblerInfoResType, kComponentBaseID, cmpResourceNoFlags, |
} |
}; |
resource kRTPReassemblerInfoResType ( kComponentBaseID ) |
{ |
{ |
{ |
kRTPPayloadSpeedTag, 128, |
kRTPPayloadLossRecoveryTag, 128 |
}, |
kRTPPayloadTypeDynamicFlag, |
0, |
COMPONENT_VIDEO_PROTOCOL_ENCODING_STRING |
} |
}; |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14