Hi,
I'm trying to set up Asterisk integration and have hit a roadblock. In
compiling red5sip I get errors regarding the G.729 codec. I've combed through
the code and have not seen anything wrong. I checked out the latest build (68)
from the trunk. Below is the list of errors I get when I do
ant all
to build red5sip. BTW I'm running this on CentOS. Has anyone successfully
built this version and can they share their method? Does anyone see any
obvious errors?
[javac] [completed
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecFactory.java - #5/234]
[javac] [analyzing
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java - #6/234]
[javac] [analyzing
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecPCMA.java - #7/234]
[javac] [reading java/util/Arrays.class]
[javac] [5 .class files generated]
[javac] ----------
[javac] 1. WARNING in
/home/yos2653/red5sip/src/java/org/openmeetings/utils/PropertiesUtils.java (at
line 10)
[javac] import java.util.Set;
[javac] ^^^^^^^^^^^^^
[javac] The import java.util.Set is never used
[javac] ----------
[javac] 2. WARNING in
/home/yos2653/red5sip/src/java/org/openmeetings/utils/PropertiesUtils.java (at
line 11)
[javac] import java.util.regex.Pattern;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import java.util.regex.Pattern is never used
[javac] ----------
[javac] ----------
[javac] 3. WARNING in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecAttributes.java (at line
103)
[javac] for ( Enumeration keysEnum = codecEncodeAttributes.keys();
keysEnum.hasMoreElements(); ) {
[javac] ^^^^^^^^^^^
[javac] Enumeration is a raw type. References to generic type
Enumeration<E> should be parameterized
[javac] ----------
[javac] 4. WARNING in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecAttributes.java (at line
119)
[javac] for ( Enumeration keysEnum = codecDecodeAttributes.keys();
keysEnum.hasMoreElements(); ) {
[javac] ^^^^^^^^^^^
[javac] Enumeration is a raw type. References to generic type
Enumeration<E> should be parameterized
[javac] ----------
[javac] ----------
[javac] 5. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 38)
[javac] public void encodeInit( int defaultEncodePacketization ) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method encodeInit(int) of type SIPCodecG729 must override a
superclass method
[javac] ----------
[javac] 6. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 48)
[javac] public void decodeInit( int defaultDecodePacketization ) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method decodeInit(int) of type SIPCodecG729 must override a
superclass method
[javac] ----------
[javac] 7. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 58)
[javac] public String codecNegotiateAttribute( String attributeName,
String localAttributeValue, String remoteAttributeValue ) {
[javac]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method codecNegotiateAttribute(String, String, String) of type
SIPCodecG729 must override a superclass method
[javac] ----------
[javac] 8. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 66)
[javac] public int getCodecBlankPacket( byte[] buffer, int offset ) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method getCodecBlankPacket(byte[], int) of type SIPCodecG729
must override a superclass method
[javac] ----------
[javac] 9. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 74)
[javac] public int codecToPcm( byte[] bufferIn, float[] bufferOut ) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method codecToPcm(byte[], float[]) of type SIPCodecG729 must
override a superclass method
[javac] ----------
[javac] 10. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 83)
[javac] public int pcmToCodec( float[] bufferIn, byte[] bufferOut ) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method pcmToCodec(float[], byte[]) of type SIPCodecG729 must
override a superclass method
[javac] ----------
[javac] 11. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 92)
[javac] public int getIncomingEncodedFrameSize() {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method getIncomingEncodedFrameSize() of type SIPCodecG729 must
override a superclass method
[javac] ----------
[javac] 12. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 99)
[javac] public int getIncomingDecodedFrameSize() {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method getIncomingDecodedFrameSize() of type SIPCodecG729 must
override a superclass method
[javac] ----------
[javac] 13. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 106)
[javac] public int getOutgoingEncodedFrameSize() {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method getOutgoingEncodedFrameSize() of type SIPCodecG729 must
override a superclass method
[javac] ----------
[javac] 14. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 113)
[javac] public int getOutgoingDecodedFrameSize() {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method getOutgoingDecodedFrameSize() of type SIPCodecG729 must
override a superclass method
[javac] ----------
[javac] 15. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 120)
[javac] public int getIncomingPacketization() {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method getIncomingPacketization() of type SIPCodecG729 must
override a superclass method
[javac] ----------
[javac] 16. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 127)
[javac] public int getOutgoingPacketization() {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method getOutgoingPacketization() of type SIPCodecG729 must
override a superclass method
[javac] ----------
[javac] 17. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 134)
[javac] public void setLocalPtime( int localPtime ) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method setLocalPtime(int) of type SIPCodecG729 must override a
superclass method
[javac] ----------
[javac] 18. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 145)
[javac] public void setRemotePtime( int remotePtime ) {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method setRemotePtime(int) of type SIPCodecG729 must override a
superclass method
[javac] ----------
[javac] 19. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 156)
[javac] public int getSampleRate() {
[javac] ^^^^^^^^^^^^^^^
[javac] The method getSampleRate() of type SIPCodecG729 must override a
superclass method
[javac] ----------
[javac] 20. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 163)
[javac] public String getCodecName() {
[javac] ^^^^^^^^^^^^^^
[javac] The method getCodecName() of type SIPCodecG729 must override a
superclass method
[javac] ----------
[javac] 21. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 170)
[javac] public int getCodecId() {
[javac] ^^^^^^^^^^^^
[javac] The method getCodecId() of type SIPCodecG729 must override a
superclass method
[javac] ----------
[javac] 22. ERROR in
/home/yos2653/red5sip/src/java/org/red5/codecs/SIPCodecG729.java (at line 177)
[javac] public String[] getCodecMediaAttributes() {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method getCodecMediaAttributes() of type SIPCodecG729 must
override a superclass method
[javac] ----------
[javac] 22 problems (18 errors, 4 warnings)