[Red5] onMetaData: Expected 1, got 14.
Gregor Rot
gregor at inter-es.si
Thu Jul 19 03:46:03 EDT 2007
In the end I found out that when there was no input from the microphone, the
flv was wrong. Making some noise solved the problem, funny :) (and setting
setSilenceLevel(0) for example).
Br,
Greg
-----Original Message-----
From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On Behalf
Of Gregor Rot
Sent: Wednesday, July 18, 2007 3:46 PM
To: red5 at osflash.org
Subject: Re: [Red5] onMetaData: Expected 1, got 14.
More info: the generated .flv (that has been recorder by red5) is not valid
(the metaData is wrong, there is no info on the audio/video codec according
to a flv analyzer) only after making a second recording. I think the problem
is with the recording stream and cam/mic attachment.
When i end the first recording, i do a:
recordingStream.close();
then i redo
recordingStream.publish("somename", "record");
but the second recording produces an invalid flv.
I tryed to:
1) reattach the cam/mic, or
2) recreate the recordingStream object and reattach, or
3) use recordingStream.play(false) instead of recordingStream.close();
but with no success :|
Gregor
-----Original Message-----
From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On Behalf
Of Gregor Rot
Sent: Wednesday, July 18, 2007 10:37 AM
To: red5 at osflash.org
Subject: [Red5] onMetaData: Expected 1, got 14.
Hi there,
I record a stream then play it back...i have an onMetaData on my client with
1 parameter, and sometimes i get the error "Expected 1, got 14."
The code looks like...:
recordStream.publish("somename", "record");
and then play:
playStream.play("somename");
The cam and mic are attached to the recordStream.
I noticed some similar topics with "Expected 1, got 6." - anybody figured it
out?
Tnx,
Gregor
Ps: I use trunk revision 2217 and Flex 3.
_______________________________________________
Red5 mailing list
Red5 at osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
Red5 at osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
More information about the Red5
mailing list