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

List:       helix-protocol-cvs
Subject:    [Protocol-cvs] sdp sdpmdgen.cpp,1.33,1.34
From:       jgordon () helixcommunity ! org
Date:       2004-12-02 23:17:56
[Download RAW message or body]

Update of /cvsroot/protocol/sdp
In directory cvs-new:/tmp/cvs-serv14652

Modified Files:
	sdpmdgen.cpp 
Log Message:
Adds ServerPreroll header to the stream header upon reception (MDP only, not PPM).
This preroll is set to the actual preroll to use for internal calculations. 
Value is determined as defined in the client side spec:
https://client.dev.prognet.com/wiki.cgi/PrerollHandling

Updates StreamGroupManager to read this value for internal calculations.
Updates SDP creation to not add this value to the SDP.

Reviewed By: vshetty, ghori


Index: sdpmdgen.cpp
===================================================================
RCS file: /cvsroot/protocol/sdp/sdpmdgen.cpp,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- sdpmdgen.cpp	2 Dec 2004 21:11:51 -0000	1.33
+++ sdpmdgen.cpp	2 Dec 2004 23:17:54 -0000	1.34
@@ -976,7 +976,8 @@
                 }
                 else if(strcasecmp(pPropName, "StreamGroupNumber") == 0 ||
                         strcasecmp(pPropName, "SwitchGroupID") == 0 ||
-                        strcasecmp(pPropName, "DefaultStream") == 0)
+                        strcasecmp(pPropName, "DefaultStream") == 0 ||
+                        strcasecmp(pPropName, "ServerPreroll") == 0 )
                 {
                     // we don't need this but don't add it to the SDP
                 }



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

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