Hi,
I’m playing an FLV using rtmp, it plays fine and I can use the netstream seek call but when it reaches the end of the flv, the net connection gets closes, which is not what I want. Anyway to handle this?
Thanks,
Douglas
Hi,
I’m playing an FLV using rtmp, it plays fine and I can use the netstream seek call but when it reaches the end of the flv, the net connection gets closes, which is not what I want. Anyway to handle this?
Thanks,
Douglas
What player are you using?
Richard
First, I would upgrade your Flash player. What you are running is very old. It may be because you are running inside of Flash CS3. I would install the most recent version of Flash player 10 and try it outside of the Flash environment.
I did the following and it worked great for me:
Install Wowza 1.7.2
Install the examples
Run the SimpleVideoStreaming example and click Play
Seek to close to the end and wait for the video to end
The player has been sitting at the end of the video for the last 3 minutes and it has not disconnected.
Charlie
What video player, Wowza player, JW Player, FLow player, FLVPlayback component, something else?
Richard
There is nothing about the Video object or reaching the end of video that closes the netconnection, so there is probably some code doing it, a NetStream.onPlayStatus handler function gettinig “NetStream.Play.Complete” then closing the netconnection possibly.
Look for “NetStream.Play.Complete” and see if there is code that closes the netconnection following.
Richard
No I don’t know. If you are developing your own player I suggest to take a look at the Wowza SimpleVideoStreaming player, in the wowza examples folder. I would use that as starting place or model.
Richard
The suggestion to “get the latest Flash Player” means the latest Flash plugin:
http://get.adobe.com/flashplayer/
And you can also use the latest version of JW player, which is a Flash app that plays videos. (it is confusing)
Also, did you upgrade Wowza to 1.7.2?
Richard
Yes, I was able to play Extremists.flv from your server and that app. But that means you have the wrong StreamType for this case. To do video recording you have to copy
[wowza-install-dir]/conf/Application.xml
to
[wowza-install-dir]/conf/storydeckrecording/Application.xml
then edit the new file, change /Streams /StreamType to “record”.
Richard
Also, you really should upgrade to Wowza 1.7.2. You are running 1.7.0:
http://stream.storydeck.com:1935
Wowza Media Server Pro10 1.7.0 build11414
This is a critical update because of changes in recent version of Flash Plugin (version 10.0.32.18)
Richard
I tried it with the VideoRecording example, and it works, I am connecting to:
rtmp://stream.storydeck.com/storydeckrecording
[wowza-install-dir]/examples/VideoRecording/client/videorecording.html
Connect, click record, then click stop, and you should see the recording playback.
Richard
I looked at it. Seems okay. It played for 2 or 3 minutes.
Richard
Have you followed the General Tuning instructions:
https://www.wowza.com/docs/how-to-do-performance-tuning
Richard
Check that you uncommented:
ulimit -n 20000
In both these files:
/usr/local/WowzaMediaServerPro/bin/wms.sh
/usr/local/WowzaMediaServerPro/bin/startup.sh
Richard
Reviewing the top of this thread, this seems like a player issue. Have you tried the SimpleVideoStreaming example player?
Richard
With 1.7.2 you can only connect with Flash, not winamp does not work.
Can you zip up your conf and log folders, and if you have a link to a player, send all to support@wowza.com
Richard
Flash Player 10
and I don’t get error if I nc.connect(null)
-Douglas
Sorry about that. I’m using a Video object.
I do have a handler for the complete status but that does not close the connection. It is not consistent but does appear to happen more frequently with large flv (such as the wowza Extreme flv ~4 mins) and I have not seen it with small flvs. I tried capturing seek.failed events (which happen when I explicitly disconnect) but that hasn’t uncovered any thing. Any ideas?
Thanks,
Douglas
Are there any news about this issue?
It also have this issue, I use the SimpleVideoStreaming, this is the trace output:
Attemping to launch and connect to Player using URL C:\Archivos de programa\Wowza Media Systems\Wowza Media Server Pro 1.7.0\examples\SimpleVideoStreaming\client\simplevideostreaming.swf
[SWF] C:\Archivos de programa\Wowza Media Systems\Wowza Media Server Pro 1.7.0\examples\SimpleVideoStreaming\client\simplevideostreaming.swf - 62677 bytes after decompression
testVersion: WIN 9,0,45,0>=9,0,115,0: false
testVersion: WIN 9,0,45,0>=9,0,28,0: true
testVersion: WIN 9,0,45,0>=9,0,60,0: false
nc.onStatus: NetConnection.Connect.Success (Connection succeeded.)
onStatus:
code = NetStream.Play.Reset
description = Playing and resetting video1251404639710.
clientid = 819109366
level = status
onStatus:
code = NetStream.Play.Start
isFastPlay = false
description = Started playing video1251404639710.
clientid = 819109366
level = status
onMetaData
duration = 36.223
creationdate = Thu Aug 27 13:15:43
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
onStatus:
code = NetStream.Buffer.Full
level = status
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
nc.onStatus: NetConnection.Connect.Closed (undefined)
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
updateVideoSize: normal
…
Debug session terminated.