Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Flash Player: Live video: (9 Items)
   
Flash Player: Live video  
I am trying to use a Flash streaming media server in live mode by connecting a webcam to the PC. I can run the example 
livedemo fla file on my PC. I can see the live video feed from the Flash Media server, however when I run this file(swf 
file) on our target(simplified QNX 6.3.2 with Flash Lite 3.0), we don't see the video but everything else. When we 
turned on the verbose error we see the following two errors:

# flash-gf -L2 -vvv -f flashlite-565.so -A 1 liveMedia1.swf

1 ((1) main)    FL3 not audio device card -1, device 0
1 ((1) main)    GetSecuritySandbox: /hmi/liveMedia1.swf security 1
trace("rtmp://192.168.2.101/live/livestream")
3 ((6) xmlsocket)       FL3 xmlsocket_thread: line 80 connect() failed, errno 26 0, will retry
3 ((6) xmlsocket)       FL3 xmlsocket_thread: line 97 socket/connect failed, err no 260, will notify

The first error is because we do not have a audio card on our Flash Media Server, but I do not beleive that should stop 
us from getting the video since we can see the video on the PC. 

Any ideas, what could be wrong?

Thanks!
RE: Flash Player: Live video  
I'm not quite sure where to go with this one.  This is an error
condition being reported by an application using networking and not a
networking application per se.

What does ifconfig report?
Can you ping the host that you're trying to connect to?
Is networking working in general or is it just this app that is failing?



-----Original Message-----
From: Yogesh Patil [mailto:community-noreply@qnx.com] 
Sent: Monday, November 10, 2008 12:37 PM
To: general-networking
Subject: Flash Player: Live video


I am trying to use a Flash streaming media server in live mode by
connecting a webcam to the PC. I can run the example livedemo fla file
on my PC. I can see the live video feed from the Flash Media server,
however when I run this file(swf file) on our target(simplified QNX
6.3.2 with Flash Lite 3.0), we don't see the video but everything else.
When we turned on the verbose error we see the following two errors:

# flash-gf -L2 -vvv -f flashlite-565.so -A 1 liveMedia1.swf

1 ((1) main)    FL3 not audio device card -1, device 0
1 ((1) main)    GetSecuritySandbox: /hmi/liveMedia1.swf security 1
trace("rtmp://192.168.2.101/live/livestream")
3 ((6) xmlsocket)       FL3 xmlsocket_thread: line 80 connect() failed,
errno 26 0, will retry
3 ((6) xmlsocket)       FL3 xmlsocket_thread: line 97 socket/connect
failed, err no 260, will notify

The first error is because we do not have a audio card on our Flash
Media Server, but I do not beleive that should stop us from getting the
video since we can see the video on the PC. 

Any ideas, what could be wrong?

Thanks!


_______________________________________________
General
http://community.qnx.com/sf/go/post16318
Re: RE: Flash Player: Live video  
Thanks Robert! for your quick reply,

Networking works in general, I can ping to IP addresses. I can also ping to the host server, it is just this app doesn't
 seem to connect.

Here's what ifconfig reports:

# ifconfig
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33212
        capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
        enabled=0<>
        inet 127.0.0.1 netmask 0xff000000
en0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:0e:99:02:60:e9
        inet 192.168.2.110 netmask 0xffffff00 broadcast 192.168.2.255

Thanks


Re: RE: Flash Player: Live video  
On Mon, Nov 10, 2008 at 01:03:23PM -0500, Yogesh Patil wrote:
> Thanks Robert! for your quick reply,
> 
> Networking works in general, I can ping to IP addresses. I can also ping to the host server, it is just this app 
doesn't seem to connect.
> 
> Here's what ifconfig reports:
> 
> # ifconfig
> lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33212
>         capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
>         enabled=0<>
>         inet 127.0.0.1 netmask 0xff000000
> en0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         address: 00:0e:99:02:60:e9
>         inet 192.168.2.110 netmask 0xffffff00 broadcast 192.168.2.255
> 
> Thanks
> 

If you slay / restart the app does it work.  Was connectivity
established after the app was started?

-seanb
Re: RE: Flash Player: Live video  
It didn't help even after restarting the app...I have attached the sample actionscript file if it helps..

I think it could be some networking/security issue as the error indicates some security code...
Attachment: Text livetest.as 6.43 KB
Re: RE: Flash Player: Live video  
3 ((6) xmlsocket)       FL3 xmlsocket_thread: line 80 connect() failed, errno 26 0, will retry
3 ((6) xmlsocket)       FL3 xmlsocket_thread: line 97 socket/connect failed, err no 260, will notify


It says above Flash Lite xmlsocket thread failed to connect...any ideas...

Re: RE: Flash Player: Live video  
On Mon, Nov 10, 2008 at 05:42:10PM -0500, Yogesh Patil wrote:
> 3 ((6) xmlsocket)       FL3 xmlsocket_thread: line 80 connect() failed, errno 26 0, will retry
> 3 ((6) xmlsocket)       FL3 xmlsocket_thread: line 97 socket/connect failed, err no 260, will notify
> 
> 
> It says above Flash Lite xmlsocket thread failed to connect...any ideas...
> 

errno 260 is ETIMEDOUT.  Is the other end up?

-seanb
Re: RE: Flash Player: Live video  
Yes the other end is up..
Re: RE: Flash Player: Live video  
On Tue, Nov 11, 2008 at 11:12:16AM -0500, Yogesh Patil wrote:
> Yes the other end is up..

Well it doesn't appear to be accepting tcp connections...

-seanb