[asterisk-commits] branch oej/sdpcleanup r31714 - in /team/oej/sdpcleanup: ./ include/asterisk/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Jun 3 03:04:27 MST 2006


Author: oej
Date: Sat Jun  3 05:04:26 2006
New Revision: 31714

URL: http://svn.digium.com/view/asterisk?rev=31714&view=rev
Log:
- An audio phone can now call a video phone. 

Need to fix the prefs stuff, so that video codecs are *not*
added to the prefs. Video will eventually need it's own set
of prefs in regards to formats etc, but not really codecs
since we can't do transcoding. This will have to be done
in the prefs code. 

Modified:
    team/oej/sdpcleanup/frame.c
    team/oej/sdpcleanup/include/asterisk/translate.h

Modified: team/oej/sdpcleanup/frame.c
URL: http://svn.digium.com/view/asterisk/team/oej/sdpcleanup/frame.c?rev=31714&r1=31713&r2=31714&view=diff
==============================================================================
--- team/oej/sdpcleanup/frame.c (original)
+++ team/oej/sdpcleanup/frame.c Sat Jun  3 05:04:26 2006
@@ -1008,7 +1008,7 @@
 			break;
 		}
 	}
-	if(ret)
+	if(ret & AST_FORMAT_AUDIO_MASK)
 		return ret;
 
 	if (option_debug > 3)

Modified: team/oej/sdpcleanup/include/asterisk/translate.h
URL: http://svn.digium.com/view/asterisk/team/oej/sdpcleanup/include/asterisk/translate.h?rev=31714&r1=31713&r2=31714&view=diff
==============================================================================
--- team/oej/sdpcleanup/include/asterisk/translate.h (original)
+++ team/oej/sdpcleanup/include/asterisk/translate.h Sat Jun  3 05:04:26 2006
@@ -23,7 +23,8 @@
 #ifndef _ASTERISK_TRANSLATE_H
 #define _ASTERISK_TRANSLATE_H
 
-#define MAX_FORMAT 15	/* Do not include video here */
+//#define MAX_FORMAT 15	/* Do not include video here */
+#define MAX_FORMAT 32	/* Do include video here */
 
 #if defined(__cplusplus) || defined(c_plusplus)
 extern "C" {



More information about the asterisk-commits mailing list