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

List:       helix-server-cvs
Subject:    [Server-cvs] include hxpush2cdn.h,1.3.2.2,1.3.2.3
From:       yijil () helixcommunity ! org
Date:       2012-07-30 3:31:20
[Download RAW message or body]

Update of /cvsroot/server/include
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv29655

Modified Files:
      Tag: SERVER_15_0
	hxpush2cdn.h 
Log Message:
Committed to : SERVER_CURRENT_RN, SERVER_15_0_RN

Reviewed by: Richard and James

Synopsis:
=========
[Bug 270505] HLS_CDN: Cannot check CDN upload status in monitor or logs

Branch: SERVER_15_0_RN, HEAD

Suggested Reviewers: Anyone

Description:
============
There is no information for checking status about upload HLS CDN

My Fix:
Add information in registry for check, then user can access regview.html to check \
stream status. Bellow is information from regview.html.

contents of Push2CDNConnections.Entry0
Name	            Value	                                                Type
AccountName	        Akamai1	                                                Variable
LostFileCount	        7	                                                    Variable
StreamName	        /broadcast/Riders.mp4	                                    Variable
UploadURL	        http://us.iphone21.encoder-test.akadns.net/10002/realnetworks/	Variable


Add new class Push2CDNRegViewManager to manage the relationship between items in \
registry and live stream or cdn accounts.


Files affected:
===============
New files:
server_rn/cdn/push2cdn/pub/regview.h
server_rn/cdn/push2cdn/regview.cpp

Modified files:
server/engine/core/core_proc.cpp
server/include/hxpush2cdn.h
common/include/hxiids.h
server_rn/cdn/push2cdn/Umakefil
server_rn/cdn/push2cdn/accountconfig.cpp
server_rn/cdn/push2cdn/push2cdnpln.cpp
server_rn/cdn/push2cdn/push2cdnstreamhandler.cpp
server_rn/cdn/push2cdn/push2cdnuploader.cpp
server_rn/cdn/push2cdn/pushobject.cpp
server_rn/cdn/push2cdn/source2account.cpp
erver_rn/cdn/push2cdn/pub/accountconfig.h
server_rn/cdn/push2cdn/pub/push2cdnstreamhandler.h
server_rn/cdn/push2cdn/pub/push2cdnuploader.h
server_rn/cdn/push2cdn/pub/source2account.h

Testing Performed:
================
Leak Tests: None
Performance Tests: N/A

Platforms Tested: Win32

QA Hints
========
None.



Index: hxpush2cdn.h
===================================================================
RCS file: /cvsroot/server/include/hxpush2cdn.h,v
retrieving revision 1.3.2.2
retrieving revision 1.3.2.3
diff -u -d -r1.3.2.2 -r1.3.2.3
--- hxpush2cdn.h	20 Jul 2012 10:17:15 -0000	1.3.2.2
+++ hxpush2cdn.h	30 Jul 2012 03:29:43 -0000	1.3.2.3
@@ -72,6 +72,9 @@
                                         REF(IHXBuffer*)     pBuffer,
                                         HXBOOL              bRandom = FALSE) PURE;
 
+    STDMETHOD(GetUploadURL)         (THIS_
+                                    REF(IHXBuffer*)     pUploadURL) PURE;
+
     STDMETHOD(GetAccountName)           (THIS_
                                         REF(IHXBuffer*) pAccountName) PURE;
 
@@ -214,6 +217,31 @@
                                 IHXBuffer*              pBuffer) PURE;
 
     STDMETHOD(UpdateAccounts)   (THIS) PURE;
+
+    STDMETHOD(UploadResult)     (THIS_
+                                const char*             pAccountName,
+                                HXBOOL                  bSendSuccess) PURE;
+};
+
+// {87DBCE37-D1CC-4cdd-A65E-9EDF69F1DA1C}
+DEFINE_GUID(IID_IHXGetAccountMap, 
+0x87dbce37, 0xd1cc, 0x4cdd, 0xa6, 0x5e, 0x9e, 0xdf, 0x69, 0xf1, 0xda, 0x1c);
+
+
+#undef  INTERFACE
+#define INTERFACE IHXGetAccountMap
+DECLARE_INTERFACE_(IHXGetAccountMap, IUnknown)
+{
+    STDMETHOD(QueryInterface)   (THIS_
+                                REFIID riid,
+                                void** ppvObj) PURE;
+
+    STDMETHOD_(ULONG32,AddRef)  (THIS) PURE;
+
+    STDMETHOD_(ULONG32,Release) (THIS) PURE;
+
+    STDMETHOD(GetAccountMap)   (THIS_
+                                void** ppAccountMap) PURE;
 };
 
 // {9A733CEA-6739-41a4-9313-D03BB48597D9}


_______________________________________________
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