How to make streammanager to start some streams automatically, not manually everytime accesing http://localhost:8086/streammanager ? Is there any way to automate this?
Absolutely. If you edit the StartupStreams.xml file in your Wowza Conf directory you can add any stream you would like to auto-start when the server starts.
Thanks,
Benjamin
Use a .stream file to contain the url
file: /content/teststream3.stream
contents: http://localhost:8000/teststream3
Then start like this:
<Root>
<StartupStreams>
<StartupStream>
<Application>teststream3/_definst_</Application>
<MediaCasterType>shoutcast</MediaCasterType>
<StreamName>teststream3.stream</StreamName>
</StartupStream>
</StartupStreams>
</Root>
Then playback:
http://[wowza-address]:1935/shoutcast/teststream3.stream/playlist.m3u8
Richard
Take a look at the MediaCaster API
https://www.wowza.com/docs/how-to-mediacaster-api-to-start-native-rtp-and-mpeg-ts-streams
This HTTPProvider example starts a MediaCaster stream with the above API:
https://www.wowza.com/docs/how-to-parse-post-or-get-variables-in-an-http-provider
Richard
You seem to have concatenated the shoutcast url with a .stream file. Put the shoutcast url in a .stream file.
Richard
Nice and easy, thank you!
I have set up the StartupStreams.xml file with all the streams I need started. Note that these are Shoutcast (really Icecast) relays. While the stream manager shows all the streams as started, they actually aren’t. If I try to play one of them via a HTTP URL (e.g. an iPad), I get a “file not found” on the player. If I stop and restart the stream in the stream manager, it plays correctly. Here’s a sample of what I have in my StartupStreams.xml:
teststream3/definst
shoutcast
http://localhost:8000/teststream3
The stream is playable via VLC from http://localhost:8000/teststream3, so the Icecast side of things is peachy. As I said, the stream manager shows the stream as started, but it appears it really isn’t. Any ideas?
Hello,
I am developing custom webservice for Wowza server that would handle dynamic addition of new icecast servers based on this example:
https://www.wowza.com/downloads/forums/webservice/WebService.zip
but I am stuck on part where I have to provide stream name for wowza server to start. I am aware that based on stream name wowza takes info from file named like stream name and then connects to url inside it. But my question is it possible to connect to such server without relaying on files with URL inside?
Use a .stream file to contain the url
file: /content/teststream3.stream
contents: http://localhost:8000/teststream3
Then start like this:
<Root> <StartupStreams> <StartupStream> <Application>teststream3/_definst_</Application> <MediaCasterType>shoutcast</MediaCasterType> <StreamName>teststream3.stream</StreamName> </StartupStream> </StartupStreams> </Root>
Then playback:
http://[wowza-address]:1935/shoutcast/teststream3.stream/playlist.m3u8
Richard
Hello,
Thank you for your response.
I’ve managed to start recording the session from icecast with “shoutcast-record” stream type and name “mp4:http://10.10.30.171:8000/w.stream” passed as stream name. I am recording this session in dvr application and I was using your example player (LiveDvrStreaming) to start playing track. With use of this link: “http://127.0.0.1:1935/dvr/http___10.10.30.171_8000_w.stream/manifest.f4m?DVR” tracks starts playing but unlike record started from streammanger with URL in file called for example radio.stream I am unable to seek with player, also there is no live seek bar. Is this player or server issue?