my need is to publish two different stream (with different name) to the same application on a Wowza media server 3.0.5 running on amazon ec2. Do you think that is possible?
This is what I've done:
- I've created a folder in applications called "cupertino"
- I've created the application.xml file for cupertino streaming to iOS devices
- I've stated send fro wirecast two different stream called
HTTPLivehd.stream both via rtmp to
- I've started receiving both stream in the cupertino application folder from the wowza stream manager
Now the problem...when I go to the test addresses of the streams I always see only one of this streams (always the first one I've started). I don't have any problem in publishing one stream, it seems wowza find something wrong when I try to publish two streams and so only one is visible.
It might be a problem with the uplink bandwidth at the encoder. If you make both streams less than half bitrate (video+audio), does it work then? We have this tool for testing bandwidth between a client (your encoder) and Wowza:
See the difference between (RTMP Based Encoder) and (RTSP/RTP Based Encoder) in the Tutorials section. You don't need to "pull" streams using .stream files and the Stream Manager, if your encoder is "pushing" RTMP streams to your live app. The stream names will be made automatically available for playback from Wowza.
Yes, 1935 is the default port for RTMP. So, you can just omit it.
When you have a streamname like this: rtmp://mywowzaserver:1935/cupertino/_definst_, the last part will be the application name. So you were trying to publish two streams named "_definst_" which is confusing. All you need to do is publish two streams like this: