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.
I tried httpSession.getHTTPHeaderMap() and the header info it showed did not include any fields related to client port.
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
uri=GET /vod/_definst_/sample.mp4/playlist.m3u8 HTTP/1.1
accept-charset=utf-8, iso-8859-1, utf-16, *;q=0.7"