I have experience on FMS and now my company want go to Silverlight+Smooth streaming server
I have tested WOWZA and I see we can work with it
But I can’t resolve the last issue.
for example FMS:
application.onConnect = function(user)
{
Client.prototype.songPlay = function(songsNow)
{
this.songStream = Stream.get(“songs”);
if (this.songStream)
{
this.songStream.play(“mp4:Flash”, 0);
this.songStream.play(“mp4:Take5”, 0, -1, false);
this.songStream.play(“mp4:PrideofMan”, 0, -1, false);
}
};
Client.prototype.stopPlay = function(songsNow)
{
this.songStream.play(false);
};
};
and after that I can play rtmp:\SERVER:port\fms_app\songs
I see I can write same code for WOWZA
but I don’t understand How to do it for Silverlight Smooth Streaming because:
I can’t call “songPlay” (nc.call(“songPlay”,…)) from Silverlight
and I don’t know where I can create Stream
…
Stream stream = Stream.createInstance(vhost, app.getName(), streamName);
stream.play(“mp4:Flash”, 0);
stream.play(“mp4:Take5”, 0, -1, false);
stream.play(“mp4:PrideofMan”, 0, -1, false);
…
and how can I play it from Silverlight player (http://localhost:1935/app/songs.mp4/Manifest ???)
But if I can do the query - http://localhost:1935/app/FileA_FileB_FileC.mp4/Manifest
and on the fly create stream
public void onStreamCreate(IMediaStream stream)
{
Stream stream = Stream.createInstance(vhost, app.getName(), streamName);
stream.play(“mp4:FileA”, 0);
stream.play(“mp4:FileB”, 0, -1, false);
stream.play(“mp4:FileC”, 0, -1, false);
}
and Smooth Streaming PLayer will play it I think it will resolve my problem.
Sorry for my bad English.