[Live-devel] Streaming on the Device . . .

flavio.oliveira at indt.org.br flavio.oliveira at indt.org.br
Wed Aug 25 17:15:09 PDT 2004


Hi,

The POSIX select() function is not implemented in STDLIB because the Symbian software platform does not in general support asynchronous "ready to read" or "ready to write" notification. Therefore, I got a Symbian version of the select() function, I don't have problems here.

I have problem with socket non-blocking, i get to compile the source above, but the link fails!
I am trying a solution, I don't know what's the problem, because Symbian has fcntl function.
But when I tried to compile I got the message: unresolved external symbol fcntl

    int curFlags = fcntl(newSocket, F_GETFL, 0);
    if (fcntl(newSocket, F_SETFL, curFlags|O_NONBLOCK) < 0) {
      socketErr(env, "failed to make non-blocking: ");
      _close(newSocket);
      return -1;
    }

Flavio


-----Original Message-----
From: live-devel-bounces at ns.live.com
[mailto:live-devel-bounces at ns.live.com]On Behalf Of ext Ross Finlayson
Sent: Tuesday, August 24, 2004 16:48
To: LIVE.COM Streaming Media - development & use
Subject: Re: [Live-devel] Streaming on the Device . . .

>So, I would like to know if Live.com could be the streaming server running 
>on the Device B. What's the difficult to port this API to Symbian?

I don't know much about Symbian, but it should be fairly easy to port this 
code to any environment that has a reasonably standard C++/C compiler and 
supports (i) standard Berkeley-style sockets, (ii) "select()" (or something 
similar), and (iii) "gettimeofday()" (or something similar).

>Do I need the RTSP Server or i could use a VLC api to do this?

No, for your "Device B" you could just use the LIVE.COM code, perhaps using 
the "testOnDemandRTSPServer" test program as a starting point.



More information about the live-devel mailing list