[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] mp4/fileformat/pub qtffplin.h,1.22,1.23
From:       svaidhya () helixcommunity ! org
Date:       2009-08-27 20:25:57
Message-ID: 200908272134.n7RLYnRR013065 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/datatype/mp4/fileformat/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv29874

Modified Files:
	qtffplin.h 
Log Message:
Synopsis
========

Branches:  SERVER_CURRENT, SERVER_13_0
Reviewer(s): Jamie


Description
===========

The changes in the CR take care of selecting the appropriate packetizer based on mime type for
RTMP protocol.

CQTPlusPacketizerFactory - Decides which Packetizer to call based on MimeType
CQTPlusFileFormat     - Overrides ethods of IHXPacketFormat to include RTMP

The m_ulPacketFormat would hold "rtmp" for RTMP sessions.
The CQTPlusFileFormat::InitTracks uses m_ulPacketFormat to pass the protocol as "rtmp"
to CQTPlusPacketizerFactory .

CQTTrackManager - Added a method to disable Hint Tracks.


Files Affected
==============

Changed Files
~~~~~~~~~~~~~
./datatype/mp4/fileformat/qtffplin.cpp
./datatype/mp4/fileformat/pub/qtffplin.h
./datatype/mp4/fileformat/pub/qttrkmgr.h
./datatype_rn/mp4/fileformat/Umakfil
./datatype_rn/mp4/fileformat/qtplusffplin.cpp
./datatype_rn/mp4/fileformat/pub/qtplusffplin.h

New Files
~~~~~~~~~
./datatype_rn/mp4/fileformat/qtpluspacketizerfct.cpp
./datatype_rn/mp4/fileformat/pub/qtpluspacketizerfct.h


Testing Performed
=================
Unit Tests:
None.

Integration Tests:
- Tested the flow of the Packetizer code by forcing ClientSession to set PacketFormat to RTMP.
  Verified that the flow is ok.
- Tested that this code dows not break the already existing code.
  Verified that 3gp and rm files play fine.

Leak Tests:
- None.

Performance Tests:
None.

Platforms Tested:  win32-i386-vc7, linux-rhel4-i686
Build verified:    win32-i386-vc7, linux-rhel4-i686 


Index: qtffplin.h
===================================================================
RCS file: /cvsroot/datatype/mp4/fileformat/pub/qtffplin.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- qtffplin.h	27 Aug 2009 15:58:37 -0000	1.22
+++ qtffplin.h	27 Aug 2009 20:25:54 -0000	1.23
@@ -292,6 +292,8 @@
 
     virtual ~CQTFileFormat(); 
 
+    virtual HX_RESULT InitTracks(CQTPacketizerFactory* pPacketizerFactory);
+
 #ifdef QTCONFIG_3GPP_TAC
     HX_RESULT SetPropertyOnHeader(HX_RESULT status, IHXValues* pHeader,
                                   const char* key, const char* value, 
@@ -303,6 +305,8 @@
     IUnknown* m_pContext;
     IHXCommonClassFactory* m_pClassFactory;
     IHXFormatResponse* m_pFFResponse;
+    ULONG32 m_ulPacketFormat;
+    CQTPacketAssembler* m_pPacketAssembler;
 
 private:
     typedef enum
@@ -373,7 +377,7 @@
 
     IHXFileSwitcher* m_pFileSwitcher;
     CAtomizer* m_pAtomizer;
-    CQTPacketAssembler* m_pPacketAssembler;
+    
 
     ULONG32 m_ulPendingSeekTime;
 
@@ -383,8 +387,6 @@
 
     HXBOOL m_bUnregulatedStreamDataFlow;
 
-    ULONG32 m_ulPacketFormat;
-
     LONG32 m_lRefCount;
 
     UINT32 m_ulFileSize;


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic