This forum post has moved to the following article:
http://www.wowzamedia.com/forums/content.php?75
Enjoy,
The Wowza Team
This forum post has moved to the following article:
http://www.wowzamedia.com/forums/content.php?75
Enjoy,
The Wowza Team
Last edited by charlie; 10-05-2010 at 12:40 PM.
Hi charlie:
If I use ModuleStreamNameAlias with this StartupStream,
and aliasmap.stream text file with contents
Cam1=rtsp://[IP-CAM's IP]/h264/
Cam2=rtsp://[IP-CAM's IP]/h264/
Cam3=rtsp://[IP-CAM's IP]/h264/
Cam4=rtsp://[IP-CAM's IP]/h264/
How to config StartupStreams.xml ?
.
Try it like this:
RichardCode:<StartupStream> <Application>live/_definst_</Application> <MediaCasterType>rtp</MediaCasterType> <StreamName>cam1</StreamName> </StartupStream> <StartupStream> <Application>live/_definst_</Application> <MediaCasterType>rtp</MediaCasterType> <StreamName>cam2</StreamName> </StartupStream>
Hello Charlie,
Should there be any issues with using StartupStreams.xml to start streams that are not always present?
I have rtplive (RTP MPEG-TS) streams that come and go, actually that are not present more than they are.
I have been having some issues with the smoothness of the rtsp decoding after a week or two and I think it may be related to this. Restarting Wowza fixes the rtsp playback.
Thanks
Austin
I think it will work, and if they are present at first then drop out, the MediaCaster system will keep trying to restart them.
Richard
Thanks Richard,
When the streams are streamed to the server they do become available to the iPhone. So they do work as described.
The issue is, I believe, is when the streams are not present for some time the server tries to restart them over and over. This seems to effect the rtsp requests making them not play properly. The video does not play smoothly.
Austin
Austin,
You can change the timeout with this Application.xml /MediaCaster property (in milliseconds):
I'm pretty sure that 12000 (12 seconds), as above, is the default. And that this is also the frequency with which it will attempt to reconnect thereafter. And that 0 will turn it off completely.Code:<MediaCaster> <Properties> <Property> <Name>streamTimeout</Name> <Value>12000</Value> <Type>Integer</Type> </Property> </Properties> </MediaCaster>
Richard
I try to Start multiple streams using different ports in mpegts.stream (= multiple streams with the same name).
So, in my mpegts.stream have udp://0.0.0.0:10000 and I would like to bind another port like 65000.I tried to put in the mpegts.stream both: udp://0.0.0.0:10000 and udp://0.0.0.0:65000 and then I restarted wowza... but java still binf on 10000 and not 65000.
I also tried to put only udp://0.0.0.0:65000 but, using netsat I still observe that 10000 is binded..
Am I oblige to use 10000 in my.streams ???
Thx by advance,
Regards,
You can use any port you like. We just use 1000 as an example. You must have done something else wrong in your testing.
Charlie
So if I want I can specify multiple udp lines in the same .stream right ?