Thanks, I've seen the tutorials and they helped a lot!
I am now able to multiply 2 numbers in flash via Red5.... :)
But where am I going now? I would like to save webcamstreams to a
folder. I've been looking through the simplerecorder example for ages
but I don't know what's happening.
Is there a step-to-step tutorial somewhere?
Maybe someone can explain me line by line what's going on..
Thanks in advance,
Robin Bultot
[code]
public class Application extends ApplicationAdapter {
private IScope appScope;
private IServerStream serverStream;
@Override
public boolean appStart(IScope app) {
appScope = app;
return true;
}
@Override
public boolean appConnect(IConnection conn, Object[] params) {
// Trigger calling of "onBWDone", required for some FLV players
measureBandwidth(conn);
if (conn instanceof IStreamCapableConnection) {
IStreamCapableConnection streamConn =
(IStreamCapableConnection) conn;
SimpleBandwidthConfigure sbc = new SimpleBandwidthConfigure();
sbc.setMaxBurst(8*1024*1024);
sbc.setBurst(8*1024*1024);
sbc.setOverallBandwidth(2*1024*1024);
streamConn.setBandwidthConfigure(sbc);
}
if (appScope == conn.getScope()) {
serverStream = StreamUtils.createServerStream(appScope,
"live0");
SimplePlayItem item = new SimplePlayItem();
item.setStart(0);
item.setLength(10000);
item.setName("on2_flash8_w_audio");
serverStream.addItem(item);
item = new SimplePlayItem();
item.setStart(20000);
item.setLength(10000);
item.setName("on2_flash8_w_audio");
serverStream.addItem(item);
serverStream.start();
}
return super.appConnect(conn, params);
}
@Override
public void appDisconnect(IConnection conn) {
if (appScope == conn.getScope()) {
serverStream.close();
}
super.appDisconnect(conn);
}
[/code]
Johannes Nel wrote:
> http://www.flashextensions.com/index.php?page=free
>
> go through these video tuts.
>
> On 9/14/06, *Robin Bultot (Woedend!)* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> I'm trying to create my first webapp for red5. My knowledge about java
> is less than basic. I'm using Eclipse to build my app.
> The problem is, when I want to compile my app. I get an error
> displayed
> that I'm missing some classes:
>
> Exception in thread "main" java.lang.Error: Unresolved compilation
> problems:
> ByteBuffer cannot be resolved
> log cannot be resolved
> log cannot be resolved
> log cannot be resolved
> log cannot be resolved
> ContextSingletonBeanFactoryLocator cannot be resolved
> log cannot be resolved
>
> at org.red5.server.Standalone.main(Standalone.java:66)
>
> It seems that I need the org.apache package.. Where to get it?
> It would help a lot if there was a tutorial for not-java-developers
> explaining how to create and publish an application for red5.
>
> Thanks
>
> --
> Robin Bultot
>
>
> _______________________________________________
> Red5 mailing list
> [email protected] <mailto:[email protected]>
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
>
> --
> j:pn
> http://www.lennel.org
> ------------------------------------------------------------------------
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.12.3/447 - Release Date: 13-9-2006
>
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org