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

List:       helix-server-cvs
Subject:    [Server-cvs] protocol/common/pub mp_url_parser.h,NONE,1.1.2.2
From:       jzeng () helixcommunity ! org
Date:       2010-10-22 22:23:03
Message-ID: 201010222223.o9MMN5j9021273 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/server/protocol/common/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv5163/server/protocol/common/pub

Added Files:
      Tag: SERVER_14_0_MT_BETA
	mp_url_parser.h 
Log Message:
Synopsis
============
multiplexer cient url handling
Branches:  head, SERVER_14_0_MT_BETA
Suggested Reviewer:  Chytanya 

Description
===========
This is to implement url params with vid and aud track names, as well as bitrate selection.

Please refer to the spec for more details.


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

modified files:
server/protocol/rtsp/crtspbase.cpp,v
server/protocol/rtsp/pub/crtspbase.h,v
server/protocol/common/Umakefil,v
server_rn/protocol/flash/rtmpserv/rtmpserv.cpp,v

new files:
server/protocol/common/mp_url_parser.cpp
server/protocol/common/pub/mp_url_parser.h

Testing Performed
================= 

Unit Tests: 
None. 

Integration Tests: 
Test both live and on-demand, rtmp and rtsp, with various url parameters.


Leak Tests: 
None. 

Performance Tests: 
- None 

Platforms Tested: win32-i386-vc7
Build verified: win32-i386-vc7 






--- NEW FILE: mp_url_parser.h ---
/* ***** BEGIN LICENSE BLOCK *****  
 * Source last modified: $Id: mp_url_parser.h,v 1.1.2.2 2010/10/22 22:23:01 jzeng Exp $
 *   
 * Portions Copyright (c) 1995-2010 RealNetworks, Inc. All Rights Reserved.  
 *       
 * The contents of this file, and the files included with this file, 
 * are subject to the current version of the RealNetworks Public 
 * Source License (the "RPSL") available at 
 * http://www.helixcommunity.org/content/rpsl unless you have licensed 
 * the file under the current version of the RealNetworks Community 
 * Source License (the "RCSL") available at 
 * http://www.helixcommunity.org/content/rcsl, in which case the RCSL 
 * will apply. You may also obtain the license terms directly from 
 * RealNetworks.  You may not use this file except in compliance with 
 * the RPSL or, if you have a valid RCSL with RealNetworks applicable 
 * to this file, the RCSL.  Please see the applicable RPSL or RCSL for 
 * the rights, obligations and limitations governing use of the 
 * contents of the file. 
 *   
 * This file is part of the Helix DNA Technology. RealNetworks is the 
 * developer of the Original Code and owns the copyrights in the 
 * portions it created. 
 *   
 * This file, and the files included with this file, is distributed 
 * and made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY 
 * KIND, EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS 
 * ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES 
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET 
 * ENJOYMENT OR NON-INFRINGEMENT. 
 *  
 * Technology Compatibility Kit Test Suite(s) Location:  
 *    http://www.helixcommunity.org/content/tck  
 *  
 * Contributor(s):  
 *   
 * ***** END LICENSE BLOCK ***** */  

#ifndef _MP_URL_PARSER_H_
#define _MP_URL_PARSER_H_

class CMultiplexerURLParser
{
public:
    CMultiplexerURLParser(IUnknown* pContext);
    virtual ~CMultiplexerURLParser();

    HXBOOL IsMultiplexerEnabled(void);

    void SetURL(const char* pUrl);
    
    HXBOOL IsMultiplexerRequest();

    HX_RESULT GetMultiplexerStreamHeader(CHXSimpleList* pAllHeaders,
                                         CHXSimpleList* pSelectedHeaders);

    

protected:
    IHXRegistry*        m_phxReg;
    IHXErrorMessages*   m_pError;
    BOOL                m_bMultiplexerEnabled;
    BOOL                m_bIsMultiplexerRequest;
    CHXString           m_sVideoStreamName;
    CHXString           m_sAudioStreamName;
    UINT32              m_ulVideoBR;
    UINT32              m_ulAudioBR;

    CHXString           m_sVideoParamName;
    CHXString           m_sAudioParamName;
    CHXString           m_sVideoBRParamName;
    CHXString           m_sAudioBRParamName;

    CHXURLParser*       m_pHXURL;
};

#endif /* _MP_URL_PARSER_H_ */


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

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