To receive a streaming server redirect in text form, and not through a redirect with the 302nd code, you need to add a parameter ?text_redirect=yes to the link.
http://video.ahcdn.com/key=C5RJmkKeeOXiz7lCGsw0eg,end=1476100377/ip=1.2.3.4/output.mp4?text_redirect=yes
There will be a link to the streaming server in the body:
http://ip5154398.ahcdn.com/key=87WJWOmNTl5EhiX9O9gQCg,,end=1476100377/state=WNAO/reftag=012378793/ssd/61/0/15624800/output.mp4
There is one more option to receive the text redirect :
Non-optimal streaming server could be chosen without specifying surfer's IP. Text link shouldn't be cached (only for video rewinding purposes). For new viewing with another user new link should be obtained.