<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi all. I didn't really know how to name this, hope nobody minds....<br>
    <br>
    Anyway, i'm getting into live555 code. I compiled the whole thing as
    a library, ported the mediaServer to android and now comes the
    interesting part.<br>
    <br>
    A Java app sends a byte[] thru JNI to a C routine. The C part should
    have the mediaserver embedded into it, and in such a way that the
    mediaserver can be controlled just like a real object (i know this
    doesn't make sense yet, but it will). That means the server should
    behave like 'expected' upon calling the wrapper's Init(),
    Start/Stop(), Deinit()...<br>
    <br>
    So far I've got some slight understanding of the UsageEnvironment
    classes, but i'm having slight problems on how to break it up. I
    could use an explanation of what it does etc, a background story. So
    far, env->doEventLoop(shouldIQuit); will do the trick i hope.<br>
    <br>
    On top of that, i wanna use the passed-in byte[] for streaming, not
    files. I found this - ByteStreamMemoryBufferSource, so i'll try to
    dump the byte[] into that and feed that to the mediaServer; <br>
    <br>
    Basically, I'm not-so-politely asking how to break up the Media
    Server app into pieces; this approach sounds feasable but might be
    impractical or there might be better ways to accomplish this. That's
    why i'm asking you if you've got any tips for the new guy here :)<br>
    <br>
    I'd like to avoid reimplementing UsageEnvironments and
    TaskSchedulers if possible, and only delete/move the code around :)<br>
    <br>
    Kind regards, <br>
    Aleksandar<br>
    <div class="moz-signature">-- <br>
      <title>RT-RK @ IBC2011 Signature</title>
      <p><font style="font-family: Arial,sans-serif; font-size: 12px;"><strong>Aleksandar
            Milenkovic</strong><br>
          Software Engineer<br>
          <br>
          Phone: +381-(0)21-4801-139<br>
          Fax: +381-(0)21-450-721<br>
          Mobile: +381-(0)64-31-666-82<br>
          E-mail: <a href="mailto:Aleksandar.Milenkovic@rt-rk.com">Aleksandar.Milenkovic@rt-rk.com</a><br>
          <br>
          RT-RK Computer Based Systems LLC<br>
          Fruskogorska 11<br>
          21000 Novi Sad, Serbia<br>
          <a href="http://www.rt-rk.com">www.rt-rk.com</a></font>
      </p>
      <p><font style="font-family: Arial,sans-serif; font-size: 12px;"><strong>RT-RK</strong>
          invites you to visit us @ <span style="color: rgb(255, 0,
            0);"><strong>IBC2011</strong></span>,
          September 9-13 2011, stand <span style="color: rgb(0, 0,
            255);"><strong>5.A01</strong></span>,
          Amsterdam RAI.<br>
          For more information please visit <a
            href="http://www.bbt.rs/">www.bbt.rs</a></font></p>
    </div>
  </body>
</html>