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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Gregor Rot
Sent: Wednesday, July 18, 2007 3:46 PM
To: [email protected]
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Gregor Rot
Sent: Wednesday, July 18, 2007 10:37 AM
To: [email protected]
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
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to