Results 1 to 2 of 2

Thread: how to check connection

  1. #1

    Default 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

  2. #2

    Default

    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
    Last edited by letheasoftware; 10-09-2014 at 07:06 AM.

Similar Threads

  1. Check RTSP and RTMP connection count in plugin
    By andreyl in forum Wowza Streaming Server Java API
    Replies: 2
    Last Post: 07-31-2014, 04:26 PM
  2. Replies: 6
    Last Post: 02-06-2014, 03:34 AM
  3. Connection failed: Over license connection limit.
    By rghazarian in forum Video On Demand Streaming Discussion
    Replies: 4
    Last Post: 11-13-2013, 01:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •