Check if stream exist on server side
I have an application to which a user publishes live stream . Before publishing stream I need to check if stream already exist . How can I do that ? I used
myStream = Stream.get(streamName)
if(myStream){
trace("Exist");
}else{
trace("Not Exist");
}
It always returns true and it looks like it creates a stream if it doesnt exist . How else can I check this ? If stream already exist and if some one replublishes it , stream looks little jittery .
