Results 1 to 2 of 2

Thread: how to get ip address (and other related things) when there is no IClient object

  1. #1
    Join Date
    May 2012
    Posts
    8

    Default how to get ip address (and other related things) when there is no IClient object

    I've noticed that in some cases there is no IClient object in the IMediaStream object; IMediaStream.getClient() returns null in these cases. This thread deals with the same problem:

    http://www.wowza.com/forums/showthre...29-getIp%28%29


    I've created logging functionality that recorded the following information from that client object:

    client.getIp()
    client.getReferrer()
    client.getUri()
    client.getQueryStr()

    When this client object is not available, is it possible to find the information by other means?
    I'm mainly interested in the ip address, but the others would be nice to be able to log as well.

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    There are similar methods in IHTTPStreamerSession and RTPSession:

    http://www.wowza.com/forums/content....josestreaming)
    http://www.wowza.com/forums/content....TSP-RTP-stream

    Richard

Posting Permissions

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