MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
stmr_msp.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2010 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
25 #ifndef _STMR_MSP_H_
26 #define _STMR_MSP_H_
27 
28 /*---includes for this file--------------------------------------------------*/
29 
30 #include "techtype.h"
31 
32 /*---Constant and macro definitions for public use---------------------------*/
33 
34 /*---Enumerations for public use---------------------------------------------*/
35 
36 /*---Global type defs for public use-----------------------------------------*/
37 
38 /*---Global variable declarations for public use-----------------------------*/
39 
40 /*---Global Function prototypes for public use-------------------------------*/
41 
49 U32BIT MHEG5CreateMeasureRequest(U32BIT requestId, char *url, S32BIT maxBytes);
50 
51 
57 void MHEG5StartMeasureRequest(U32BIT downloadId);
58 
59 
65 S32BIT MHEG5GetMeasureResponseCode(U32BIT downloadId);
66 
67 
73 S32BIT MHEG5GetMeasureStatus(U32BIT downloadId);
74 
75 
82 U8BIT* MHEG5GetMeasureRedirect(U32BIT downloadId);
83 
84 
90 void MHEG5ProcessMeasureRequest(U32BIT downloadId);
91 
92 
98 void MHEG5StopMeasureRequest(U32BIT downloadId);
99 
100 
106 void MHEG5DestroyMeasureRequest(U32BIT downloadId);
107 
108 
115 void MHEG5StreamerNotifyStreamingPerformance(U32BIT requestId, U32BIT speed);
116 
117 
118 #endif /*_STMR_MSP_H*/
void MHEG5DestroyMeasureRequest(U32BIT downloadId)
Destroy HTTP streaming performance measurement request.
Definition: stmr_msp.c:329
void MHEG5StopMeasureRequest(U32BIT downloadId)
Stop HTTP streaming performance measurement request.
Definition: stmr_msp.c:310
void MHEG5ProcessMeasureRequest(U32BIT downloadId)
Process HTTP streaming performance measurement request.
Definition: stmr_msp.c:269
S32BIT MHEG5GetMeasureStatus(U32BIT downloadId)
Return HTTP status of performance measurement request.
Definition: stmr_msp.c:226
void MHEG5StartMeasureRequest(U32BIT downloadId)
Start HTTP streaming performance measurement request.
Definition: stmr_msp.c:185
System Wide Global Technical Data Type Definitions.
S32BIT MHEG5GetMeasureResponseCode(U32BIT downloadId)
Return response code for performance measurement request.
Definition: stmr_msp.c:205
U8BIT * MHEG5GetMeasureRedirect(U32BIT downloadId)
Return the redirection URL for a request that was redirected (HTTP status 3xx).
Definition: stmr_msp.c:248
void MHEG5StreamerNotifyStreamingPerformance(U32BIT requestId, U32BIT speed)
Notify measured streaming performance (speed).
U32BIT MHEG5CreateMeasureRequest(U32BIT requestId, char *url, S32BIT maxBytes)
Create HTTP streaming performance measurement request.
Definition: stmr_msp.c:119