Results 1 to 4 of 4

Thread: Get Video Referer

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2012
    Posts
    28

    Default Get Video Referer

    Hi guys,

    I want to know how can see the URL referer to each video? And by that, I don't mean the end user IP address cause I know how can check it. I want to know which domain (or URL) end user uses to watch the video?

    Thanks a lot.

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

    Default

    For RTMP clients you can use IClient.getReferrer(), and there is the same method for IHTTPStreamerSession and RTPSession

    For RTMP clients, you can also get the url of the client HTML container in onConnect handler like this:

    String pageUrl = client.getProperties().getPropertyStr("connectpageUrl");
    Richard

  3. #3
    Join Date
    Dec 2012
    Posts
    28

    Default

    Thanks for your reply.
    But I'm not getting it. Can you please explain it more easily?

    Thanks a lot.

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

    Default

    Hi,
    Please find an example of this method in the article below,
    How to combat hotlinking your Adobe Flash SWF file
    String pageUrl = client.getProperties().getPropertyStr("connectpageUrl");
    Jason

Posting Permissions

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