Results 1 to 6 of 6

Thread: How to get the Ip Address in wowza media Server?

  1. #1

    Default How to get the Ip Address in wowza media Server?

    Hai
    i developed Chat Application using wowza media Server with your Example of Chat Application.Now i want to get the user ip Address.is it possible,if so How i do this?kindly Guide me

  2. #2

    Default

    IClient -> client.getIp()

  3. #3

    Default

    thanks Iradium!how to apply in Flash ?

  4. #4

    Default

    something this:

    public void getUserIP(IClient client, RequestFunction function, AMFDataList params) {
    IClient clie = client.getAppInstance().getClientById(params.getString(PARAM1));

    AMFDataObj tmp = new AMFDataObj();
    tmp.put("ip", clie.getIp());

    sendResult(client, params, tmp);
    }

  5. #5
    Join Date
    Sep 2011
    Posts
    1,933

    Default

    Hi
    do it like this:

    public void getUserIP(IClient client, RequestFunction function, AMFDataList params)
    {
    AMFDataObj tmp = new AMFDataObj();
    tmp.put("ip", client.getIp());

    sendResult(client, params, tmp);
    }

    There's no need to get the client as you already have it.

    Jason

  6. #6

    Default

    Thanks Jason

Similar Threads

  1. Streaming from Adobe flash media encoder to wowza media server to encode in HLS
    By adityam in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 09-17-2013, 08:25 AM
  2. Hide Ip address of wowza server
    By pnethaga in forum General Forum
    Replies: 1
    Last Post: 01-04-2013, 12:19 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
  •