Re: [Flashcoders] NetStream onMetaData does not get called

2010-04-16 Thread allandt bik-elliott (thefieldcomic.com)
just a thought - it's amazing how many times i wrack my brains trying to
find a solution to a problem that is just something i assumed was done that
wasn't

i got nothing apart from that

On 15 April 2010 20:15, Henrik Andersson he...@henke37.cjb.net wrote:

 allandt bik-elliott (thefieldcomic.com) wrote:

 those two functions have to be added as callbacks on a client object which
 is passed into netstream.client - have you done this?


 You get an error if they are called and you haven't. So, I am willing to
 bet that he has.

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] NetStream onMetaData does not get called

2010-04-16 Thread kennethkawam...@gmail.com
I have now working solutions, and here are few things may be
beneficial for someone in the future doing Red5 streaming:

- onMetaData does not get called, but to obtain the length of the
stream you can use NetConnection.call(getStreamLength, Responder,
stream)
- onXMPdata does get called but not all stream (non Adobe encoder
generated) has XMP data embedded
- resume() does not work on its own but it does if you
seek(pausedTime) immediately after
- seek() does not work but it does if you call it twice in succession
- I use 200ms in between

-- 
Kenneth Kawamoto
http://www.materiaprima.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] NetStream onMetaData does not get called

2010-04-15 Thread allandt bik-elliott (thefieldcomic.com)
is it using an f4v? because they have an onXMPData which they use which
fulfills a similar role (although i thought they had metadata as well)

a

On 13 April 2010 17:34, kennethkawam...@gmail.com kennethkawam...@gmail.com
 wrote:

 Hi Flash Coders,

 I have this issue: NetStream onMetaData does not get triggered. Using
 Red5. onPlayStatus does get called correctly without fail though.

 Basically I need to know the duration of the video.

 Has anyone ever experienced the same or have any ideas what is going on...?
 --
 Kenneth Kawamoto
 http://www.materiaprima.co.uk/
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] NetStream onMetaData does not get called

2010-04-15 Thread kennethkawam...@gmail.com
I am monitoring onXMPData as well but that does not get called either.

I am using FLV.

All I wanted from the meta data was the duration of the stream. I can
get that info by calling NetConnection getStreamLength, so that part
is now sorted without receiving the meta data.

However there are numerous other issues with Red5. resume() does not
work after pause(). seek() does not work. I have been spending hours
coming up with workarounds...

There are posts about these issues on the net and Red5 tickets have
been raised for few months too. I wonder if FMS works better - but
anyway it's too late now to switch  :(
-- 
Kenneth Kawamoto
http://www.materiaprima.co.uk/

On 15 April 2010 10:40, allandt bik-elliott (thefieldcomic.com)
alla...@gmail.com wrote:
 is it using an f4v? because they have an onXMPData which they use which
 fulfills a similar role (although i thought they had metadata as well)

 a

 On 13 April 2010 17:34, kennethkawam...@gmail.com kennethkawam...@gmail.com
 wrote:

 Hi Flash Coders,

 I have this issue: NetStream onMetaData does not get triggered. Using
 Red5. onPlayStatus does get called correctly without fail though.

 Basically I need to know the duration of the video.

 Has anyone ever experienced the same or have any ideas what is going on...?
 --
 Kenneth Kawamoto
 http://www.materiaprima.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] NetStream onMetaData does not get called

2010-04-15 Thread allandt bik-elliott (thefieldcomic.com)
those two functions have to be added as callbacks on a client object which
is passed into netstream.client - have you done this?

On 15 April 2010 12:19, kennethkawam...@gmail.com kennethkawam...@gmail.com
 wrote:

 I am monitoring onXMPData as well but that does not get called either.

 I am using FLV.

 All I wanted from the meta data was the duration of the stream. I can
 get that info by calling NetConnection getStreamLength, so that part
 is now sorted without receiving the meta data.

 However there are numerous other issues with Red5. resume() does not
 work after pause(). seek() does not work. I have been spending hours
 coming up with workarounds...

 There are posts about these issues on the net and Red5 tickets have
 been raised for few months too. I wonder if FMS works better - but
 anyway it's too late now to switch  :(
 --
 Kenneth Kawamoto
 http://www.materiaprima.co.uk/

 On 15 April 2010 10:40, allandt bik-elliott (thefieldcomic.com)
 alla...@gmail.com wrote:
  is it using an f4v? because they have an onXMPData which they use which
  fulfills a similar role (although i thought they had metadata as well)
 
  a
 
  On 13 April 2010 17:34, kennethkawam...@gmail.com 
 kennethkawam...@gmail.com
  wrote:
 
  Hi Flash Coders,
 
  I have this issue: NetStream onMetaData does not get triggered. Using
  Red5. onPlayStatus does get called correctly without fail though.
 
  Basically I need to know the duration of the video.
 
  Has anyone ever experienced the same or have any ideas what is going
 on...?
  --
  Kenneth Kawamoto
  http://www.materiaprima.co.uk/
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] NetStream onMetaData does not get called

2010-04-15 Thread kennethkawam...@gmail.com
 those two functions have to be added as callbacks on a client object which
 is passed into netstream.client - have you done this?

...so does onPlayStatus and bunch of other callbacks. Yes of course I have ;)

Actually I get onXMPData from certain streams. Probably ones I don't
get XMP is the file exported to FLV directly from FinalCut.

Still I should get meta data. Do you have any experiences with Red5?
-- 
Kenneth Kawamoto
http://www.materiaprima.co.uk/

On 15 April 2010 17:39, allandt bik-elliott (thefieldcomic.com)
alla...@gmail.com wrote:
 those two functions have to be added as callbacks on a client object which
 is passed into netstream.client - have you done this?

 On 15 April 2010 12:19, kennethkawam...@gmail.com kennethkawam...@gmail.com
 wrote:

 I am monitoring onXMPData as well but that does not get called either.

 I am using FLV.

 All I wanted from the meta data was the duration of the stream. I can
 get that info by calling NetConnection getStreamLength, so that part
 is now sorted without receiving the meta data.

 However there are numerous other issues with Red5. resume() does not
 work after pause(). seek() does not work. I have been spending hours
 coming up with workarounds...

 There are posts about these issues on the net and Red5 tickets have
 been raised for few months too. I wonder if FMS works better - but
 anyway it's too late now to switch  :(
 --
 Kenneth Kawamoto
 http://www.materiaprima.co.uk/

 On 15 April 2010 10:40, allandt bik-elliott (thefieldcomic.com)
 alla...@gmail.com wrote:
  is it using an f4v? because they have an onXMPData which they use which
  fulfills a similar role (although i thought they had metadata as well)
 
  a
 
  On 13 April 2010 17:34, kennethkawam...@gmail.com 
 kennethkawam...@gmail.com
  wrote:
 
  Hi Flash Coders,
 
  I have this issue: NetStream onMetaData does not get triggered. Using
  Red5. onPlayStatus does get called correctly without fail though.
 
  Basically I need to know the duration of the video.
 
  Has anyone ever experienced the same or have any ideas what is going
 on...?
  --
  Kenneth Kawamoto
  http://www.materiaprima.co.uk/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] NetStream onMetaData does not get called

2010-04-15 Thread Henrik Andersson

allandt bik-elliott (thefieldcomic.com) wrote:

those two functions have to be added as callbacks on a client object which
is passed into netstream.client - have you done this?


You get an error if they are called and you haven't. So, I am willing to 
bet that he has.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] NetStream onMetaData does not get called

2010-04-13 Thread kennethkawam...@gmail.com
Hi Flash Coders,

I have this issue: NetStream onMetaData does not get triggered. Using
Red5. onPlayStatus does get called correctly without fail though.

Basically I need to know the duration of the video.

Has anyone ever experienced the same or have any ideas what is going on...?
-- 
Kenneth Kawamoto
http://www.materiaprima.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders