robertdoo / red5

Automatically exported from code.google.com/p/red5
0 stars 0 forks source link

Playback does not work in red5 v0.8 #397

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Installed red5 v0.8 & created the application named red5recorderNew.
2. Record the video.
3. Play the recorded video.

What is the expected output? What do you see instead?
Video is supposed to play. But the timer is displayed, but the video is blank.

What version of the product are you using? On what operating system?
Red5 v0.8. Installed in Centos 6.4 64bit.

Please provide any additional information below.
Nil.

Original issue reported on code.google.com by vasanthk...@gmail.com on 18 May 2013 at 6:01

GoogleCodeExporter commented 9 years ago
Marking as invalid for two reasons, #1 this version is quite old and is no 
longer maintained and #2 0.8 is fairly well proven in the field and many still 
rely upon it; I have to assume you have misconfigured something or your client 
app is not working correctly.

Original comment by mondain on 21 May 2013 at 6:37

GoogleCodeExporter commented 9 years ago
Please help me where I could have gone wrong.
Is there anyway to check the logs to figure it out ?

The client works fine with version 1.0, but my customer has problem using that 
version as it consumes 100% memory in their VPS.
So I don't think the problem could be with the client application.

Original comment by vasanthk...@gmail.com on 21 May 2013 at 7:08

GoogleCodeExporter commented 9 years ago
The logs are in red5/log and as far as 100% CPU usage, it could be their app 
causing the spike. You may also want to try the latest 1.0.2 version.

Original comment by mondain on 21 May 2013 at 7:19

GoogleCodeExporter commented 9 years ago
Please find attached with the code that is used for recording and streaming.
Kindly help me to identify the issue with the application.

Original comment by vasanthk...@gmail.com on 22 May 2013 at 12:07

Attachments:

GoogleCodeExporter commented 9 years ago
The appJoin method is incorrect, use this one
    public boolean appJoin(IClient client, IScope scope) {
        return super.appJoin(client, scope);
    }

This may not fix the issue, but now its as it should be; always call 
super.[methodName] when extending red5 classes.

Original comment by mondain on 22 May 2013 at 2:31

GoogleCodeExporter commented 9 years ago
Still the video is not played, only the audio is played.
Can any problem be found in the below trace ?

[INFO] [NioProcessor-2] org.red5.server.adapter.MultiThreadedApplicationAdapter 
- W3C x-category:stream x-event:unpublish c-ip:127.0.0.1 cs-bytes:1250812 
sc-bytes:4141 x-sname:71930036-678e-4c31-873b-e0229df7c3f0 x-file-length:30 
x-name:video1369247692
[INFO] [NioProcessor-2] org.red5.server.adapter.MultiThreadedApplicationAdapter 
- W3C x-category:stream x-event:recordstop c-ip:127.0.0.1 cs-bytes:1250812 
sc-bytes:4141 x-sname:71930036-678e-4c31-873b-e0229df7c3f0 
x-file-name:streams/video1369247692.flv x-file-length:30 x-file-size:1250812
[INFO] [NioProcessor-3] org.red5.server.adapter.MultiThreadedApplicationAdapter 
- W3C x-category:session x-event:connect c-ip:127.0.0.1 c-client-id:1
[INFO] [NioProcessor-3] org.red5.server.adapter.MultiThreadedApplicationAdapter 
- W3C x-category:stream x-event:play c-ip:127.0.0.1 
x-sname:1539adce-0f11-4541-86fa-7523a8ea4c54
[INFO] [NioProcessor-3] org.red5.server.adapter.MultiThreadedApplicationAdapter 
- W3C x-category:stream x-event:play c-ip:127.0.0.1 
x-sname:1539adce-0f11-4541-86fa-7523a8ea4c54 x-name:video1369247692.flv
[WARN] [Red5_Scheduler_Worker-7] org.red5.server.net.rtmp.RTMPConnection - 
Closing RTMPMinaConnection from 127.0.0.1 : 7558 to null (in: 186 out 0 ), with 
id 2078903364 due to long handshake
[INFO] [NioProcessor-3] org.red5.server.adapter.MultiThreadedApplicationAdapter 
- W3C x-category:stream x-event:stop c-ip:127.0.0.1 cs-bytes:3870 
sc-bytes:1251232 x-sname:1539adce-0f11-4541-86fa-7523a8ea4c54 x-file-length:30 
x-file-size:1248032 x-name:video1369247692.flv

Original comment by vasanthk...@gmail.com on 22 May 2013 at 6:43

GoogleCodeExporter commented 9 years ago
Hey Mondain, 

I appreciate you putting effort into this. If it helps, you can check out 
https://www.thanksvideo.com/widget/. You'll see that after recording the video, 
you can play it back with the play button in the lower left hand corner, 
however, the video screen is just black (audio works fine).

- Christian Ostmo

Original comment by c.os...@gmail.com on 23 May 2013 at 3:09