recording play broken

1 view
Skip to first unread message

Anjo Krank

unread,
Apr 11, 2008, 7:06:33 AM4/11/08
to milenia...@googlegroups.com
Hi,

playing a recorded stream produces a lot of garbage. The audio is
totally whacked... I dropped a file "phone.flv" into streams/ and
tried to play it. You can see it, but it's chooppy and out of sync.

Cheers, Anjo

Milan Toth

unread,
Apr 11, 2008, 7:09:03 AM4/11/08
to milenia...@googlegroups.com
Hi, yes, thats the freshest part, i hate to say this, but i totally
rewritten it yesterday, and i'm working on it since.

regards, Milan

Anjo Krank

unread,
Apr 11, 2008, 7:23:58 AM4/11/08
to milenia...@googlegroups.com
This here doesn't fix it, but it still looks fishy...

Index: MilGraServer/src/com/milgra/server/encoder/RtmpEncoder.java
===================================================================
--- MilGraServer/src/com/milgra/server/encoder/RtmpEncoder.java
(revision 17)
+++ MilGraServer/src/com/milgra/server/encoder/RtmpEncoder.java
(working copy)
@@ -169,7 +169,7 @@
{

old.flvStamp = packetX.flvStamp;
- old.bodySize = packetX.bodyType;
+ old.bodySize = packetX.bodySize;
old.bodyType = packetX.bodyType;

}
@@ -186,7 +186,7 @@
// store new values

old.flvStamp = packetX.flvStamp;
- old.bodySize = packetX.bodyType;
+ old.bodySize = packetX.bodySize;
old.bodyType = packetX.bodyType;
old.flvChannel = packetX.flvChannel;

Reply all
Reply to author
Forward
0 new messages