Results 1 to 2 of 2

Thread: Is getting client port possible?

  1. #1
    Join Date
    Aug 2012
    Posts
    25

    Default Is getting client port possible?

    Hi,

    Due to some customers' requirement, I need to know the exact port which a specific client uses to connect to wowza.
    For example, a mobile device uses 80 port for a http connection, but after some NAT/PAT transition in 3G network it could be changed to another different port .

    Is there an api that I can get this shifted port? or I should extract it from request header?

    Thanks in advance.

    update:
    I tried httpSession.getHTTPHeaderMap() and the header info it showed did not include any fields related to client port.
    protocol=HTTP/1.1
    connection=keep-alive
    host=xxx.xxx.xxx.xxx:1935
    accept-language=zh-TW, en-US
    accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    context=vod/_definst_/sample.mp4/playlist.m3u8
    method=GET
    user-agent=Mozilla/5.0 (Linux; U; Android 4.0.1; zh-tw; Galaxy Nexus Build/ITL41F) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
    referer=""
    accept-encoding=gzip,deflate
    uri=GET /vod/_definst_/sample.mp4/playlist.m3u8 HTTP/1.1
    accept-charset=utf-8, iso-8859-1, utf-16, *;q=0.7"
    weichung
    Last edited by weichung; 02-19-2014 at 02:51 AM.

  2. #2
    Join Date
    May 2013
    Posts
    681

    Default

    Please refer to ticket #81809.

Similar Threads

  1. Replies: 1
    Last Post: 10-08-2014, 12:30 AM
  2. Seperate Admin Port and http / rtsp port
    By cussons in forum General Forum
    Replies: 1
    Last Post: 02-09-2012, 11:48 AM

Posting Permissions

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