how to check connection

i want To check that the IP address is online on Streamname.

example

ip 10.10.1.15 accept ch1.stream

try new connect ch1.stream

if(10.10.1.15 connect)

return false;

Thank you

Hi Tatiya123,

Where do you want to check connection ? from as3 while netconnection connect ? or in your another webapp ?

Also you can control client is connected or not , if connected , not watch again logic ,

create custom module in Wowza.

you need to get “the client ip” and “Stream name” in onConnect , httpConnect etc connection methods by overriding.

The best way is creating key value pair to hold ip and stream name and comparing data {hasmap can be used} , when client disconnect, remove the key and data from your list.

If client is watching ch1 , then reject the request .

You can override

public void onConnectReject(IClient client) {

client.rejectConnection();

}//It’s for flash.

Kind Regards,

Emre Karatasoglu

emre.karatasoglu@hotmail.com

LetheaSoftware

http://letheasoftware.com

http://emrekaratasoglu.com[PHP][/PHP]