[Live-devel] Need some members to be protected

James Stafford jstafford at ampltd.com
Tue Jul 19 02:58:15 PDT 2011


Hi Ross,

>>  > Do you still want the "fFileSize" member variable to be 
>> "protected:" - i.e., do you want to modify its value in a subclass?
>>
>> Yes. Actually, I need to store the original fileName, so I created a 
>> sublass of it. But to do so, I need to set fFileSize in my constructor.
>
> OK, I'll make that change too.

While making these changes, could you also make the constructor, 
destructor and processSpecialHeader() of H264VideoRTPSource protected.
I need access to the marker bit to determine end of frame (not just end 
of NAL which the fCurrentPacketCompletesFrame seems to indicate for my 
stream) so have subclassed H264VideoRTPSource.

Thanks

-- 
James Stafford


Advanced Micro Peripherals Ltd
Unit 1
Harrier House
Sedgeway Business Park
Witchford
Cambridge
CB6 2HY





More information about the live-devel mailing list