Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

byteBuffer error with Red5 8.0 and 8.1 #38

Open
GoogleCodeExporter opened this issue Mar 21, 2015 · 7 comments
Open

byteBuffer error with Red5 8.0 and 8.1 #38

GoogleCodeExporter opened this issue Mar 21, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. move from red5 8.0 RC2 to final 8.0 or 8.1
2. the phone works until the audio streaming begins.
3. then, error ByteBuffer occurs.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
Redphone with 8.0 or 8.1 red5 standalone server

Please provide any additional information below.


Original issue reported on code.google.com by cjr@cyf.com.ar on 13 Jun 2009 at 11:34

@GoogleCodeExporter
Copy link
Author

In red5 final new Mina library is used. So change ByteBuffer to IoBuffer in 
java 
sources and recompile.

Original comment by Maru.S...@gmail.com on 2 Jul 2009 at 9:33

@GoogleCodeExporter
Copy link
Author

maru, thanks for your support, I can't find the place to make the replacement. 
can 
you please be more specific about exactly where to make the replace?
regards,

Original comment by cjr@cyf.com.ar on 2 Jul 2009 at 11:46

@GoogleCodeExporter
Copy link
Author

hello cjr, i have the same problem the file is RTMPUser.java, and that is 
here:WEB-
INF\classes\org\red5\server\webapp\sip, 

i think this is the file.

hi maru, i changed the import line and others, but i have one problem, how can 
i 
recompile the project, when i load the project in eclipse i need a lot of 
libraries, 
and that libraries are not in the source, when i checkout the project,

i downloaded that libraries, and add to the project, but i need the last one: 
org.springframework.context.ApplicationContextAware

i don´t know where i can find that package, 

another thing, where is IoBuffer?, i have an error when i change ByteBuffer to 
IoBuffer

thankyou

jaime

Original comment by jalc...@gmail.com on 2 Jul 2009 at 6:02

@GoogleCodeExporter
Copy link
Author

jaime, I agree with you, but now:
I can't compile, error:
package org.apache.mina common does not exist
any ideas?

Original comment by cjr@cyf.com.ar on 2 Jul 2009 at 7:45

@GoogleCodeExporter
Copy link
Author

all libs are in your red5 server folder.
Libs you need: red5.jar, /lib/slf4j-api-1.5.6.jar, 
/lib/spring-context-2.5.6.jar", 
lib/spring-core-2.5.6.jar, lib/mina-core-2.0.0-M6.jar, 
lib/jcl-over-slf4j-1.5.6.jar


Remove org.apache.mina.common.ByteBuffer import, use 
org.apache.mina.core.buffer.IoBuffer instead.

Original comment by Maru.S...@gmail.com on 2 Jul 2009 at 11:32

@GoogleCodeExporter
Copy link
Author

I forgot about external libs. Download also JMF library: 
http://java.sun.com/javase/
technologies/desktop/media/jmf/2.1.1/download.html

Original comment by Maru.S...@gmail.com on 2 Jul 2009 at 11:43

@GoogleCodeExporter
Copy link
Author

I'm very close to make it.
only a few errors when compile, here come's the first one:
RTMPUser.java:100: warning: [unchecked] unchecked conversion
found   : org.red5.io.utils.ObjectMap
required: org.red5.io.utils.ObjectMap<java.lang.String,java.lang.String>
ObjectMap< String, String > map = (ObjectMap) 
notify.getCall().getArguments()[0];

so, how can I fix this?
any ideas will be appreciated,
regards,

Original comment by cjr@cyf.com.ar on 3 Jul 2009 at 1:12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant