RTC Forums
November 24, 2024, 02:23:33 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
TRtcGateway, TRtcHttpGateClient and TRtcGateClientLink
Pages: [
1
]
« previous
next »
Print
Author
Topic: TRtcGateway, TRtcHttpGateClient and TRtcGateClientLink (Read 5030 times)
cochise
Guest
TRtcGateway, TRtcHttpGateClient and TRtcGateClientLink
«
on:
December 21, 2013, 03:23:19 PM »
Hello , i've been using the OLD RTC SDK version in my Chat messenger using the Functions , that means the Client sends a command via a Function and get a result from the server , and that's working well , but when i get the latest RTC version i see there are 3 new components ( TRtcGateway, TRtcHttpGateClient and TRtcGateClientLink ) , they's re really elastic mainly when i see the demo ( GateChatServer + GateChatClient ) , so my question is :
If i will port my Chat messenger to use these great new components will i still be able to use the functions ?
mainly in registration + Loggin ...etc
yours
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: TRtcGateway, TRtcHttpGateClient and TRtcGateClientLink
«
Reply #1 on:
December 21, 2013, 04:56:23 PM »
No, you won't be able to use RTC remote functions with TRtcGateway and TRtcGateClient components. At least not the way you are used to with TRtcServerModule and TRtcClientModule components. With a TRtcGateClient component, you can send data packages to other Clients connected to the same Gateway, or use commands for managing Client groups (add/remove users from groups), but there is no concept of sending remote function calls to the Gateway.
For user authentication, you can use the "GateUserAuth" property on the TRtcGateClient component, which is sent to the Gateway on user login and available on every event on the TRtcGateway component. Make sure to keep your code inside Gateway events as short as possible, because all Gateway functions will be blocked until your code completes execution.
Best Regards,
Danijel Tkalcec
Logged
cochise
Guest
Re: TRtcGateway, TRtcHttpGateClient and TRtcGateClientLink
«
Reply #2 on:
December 21, 2013, 05:10:32 PM »
Many thanks Danijel , that means the better for now is to keep using the RTC Functions .
Because the RTC Functions are used to Interchange the Audio ..etc .
So my question Sir Danijel , which is best ( As for you at least ) keep using the RTC Functions or porting the whole system to use the TRtcGateClient .
Really when i took a look at these new components i was so inspired .
my system is Chat Messenger ( Text + Audio + Video ) ...etc
really need your advice .
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: TRtcGateway, TRtcHttpGateClient and TRtcGateClientLink
«
Reply #3 on:
December 21, 2013, 05:28:17 PM »
If your current system works and meets all your requirements, then I see no reason to change it.
Best Regards,
Danijel Tkalcec
Logged
cochise
Guest
Re: TRtcGateway, TRtcHttpGateClient and TRtcGateClientLink
«
Reply #4 on:
December 21, 2013, 05:36:10 PM »
OK So many thanks Sir Danijel .
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...