I have been trying to setup multiple live streams using one wowza instance. The application involves streaming 100 different live channels from one wowza instance.
I have written a wowza module that creates multiple live streams using startMediaCasterStream API. The data comes to the server from various encoders. So we have defined several sdp files each with its own unique set of UDP ports for video and audio.
For instance, sample sdp file is as follows:
o=- 15211995571097108025 15211995571097108025 IN IP4 nucleus
c=IN IP4 127.0.0.1
m=audio 35002 RTP/AVP 96
a=fmtp:96 profile-level-id=15; object=2; cpresent=0; config=400027203fc0
m=video 35000 RTP/AVP 97
We have 10 such sdp files placed in content folder. Each sdp file differs from the other only in the video and audio port number. And then we have separate players on different client machines connecting to each of the sdp file.
Does creating such multiple streams create some performance impact on the wowza server? Or should we create different application (creating multiple directories live, live2, live3, etc within conf and application folder)? How do we reduce the initial buffering time? How scalable is this? Can we run 100 such sdp files at the same time? Is there any better way to do this?