web api AddSessionWithIP

Problems with Unreal Media Server

web api AddSessionWithIP

Postby tasoss » Tue Nov 13, 2018 12:04 pm

Hello again.
I would like to ask if it possible to call AddSessionWithIP via the web api.
In readme you state

>Unreal Streaming Technologies SDK v13.0/Readme.txt:1. WebCamCommunity web application - improved, uses Flash player, uses AddSessionWithIP method
>Unreal Streaming Technologies SDK v13.0/Readme.txt:2. Media Server\Authentication\Session-based - Web App: uses AddSessionWithIP method

But i can't find such examples in the SDK package.
I have tried to use something like
"Command=AddSessionWithIP&Password=foobar&SecureToken=securetoken&UserName=tasoss2&UserLogID=tasoss2_Id&UserIPaddress=myip&IPAddress=myip"
with no luck.
The token is not added to the media server.
Thanks again!
tasoss
 
Posts: 0
Joined: Wed Jul 05, 2017 3:41 pm

Re: web api AddSessionWithIP

Postby admin » Tue Nov 13, 2018 12:17 pm

Hello,

You can only do AddSessionWithIP via the COM object, not via WebAPI http request.
admin
Site Admin
 
Posts: 1021
Joined: Fri Aug 21, 2009 10:13 am

Re: web api AddSessionWithIP

Postby tasoss » Tue Nov 13, 2018 1:08 pm

Thanks again!
tasoss
 
Posts: 0
Joined: Wed Jul 05, 2017 3:41 pm


Return to Experience and troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest