Server issue after close connection two clients

RVMedia support and discussion (components for displaying and controlling IP cameras, webcams, video conferencing, video chats, recording audio and video files)
Post Reply
friman
Posts: 25
Joined: Fri Jul 17, 2015 4:26 am

Server issue after close connection two clients

Post by friman » Wed Oct 28, 2015 2:30 pm

Hello

Still the same issue with server, I run two clients app, chat and share camera between them, after close boths instances. Then when I try to run an instance again it is unable to connect to the server again. The RVCamReceiver1SessionConnected event is not triggered ...... and only shows an error showed bellow. I could not find exactly where this error is fire. I have add both images to help my references. So, after that I should force close server (because do not allow restart) and reopen again.
Please let me know if is possible fix that or if I am coding something wrong.

Regards

Image

Image

Sergey Tkachenko
Site Admin
Posts: 14654
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Wed Oct 28, 2015 7:29 pm

Does this error occur in our unmodified demo projects or in your application?

friman
Posts: 25
Joined: Fri Jul 17, 2015 4:26 am

Post by friman » Wed Oct 28, 2015 8:55 pm

That occur on my application, but for example if some client close abnormal on server side it look like connected, then start also this problem. Other small bug is that some times it doesnot detect chat message sent by some side (client) and after repeat message is when it start to work normal.
In some moments (testing with demos) when user A start video and user B accept video request, user B is disconnected.

Sergey Tkachenko
Site Admin
Posts: 14654
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Wed Oct 28, 2015 9:18 pm

1) If a client is terminated abnormally, the server tries to keep a connection to this client for some time. It's because the server does not know about the client termination, there are may be other reasons why the client is not responding (for example, a temporal connection problems).
After some (not too long) time the server drops this connection, you can see it in its log window.

2) A problem with not-receiving text messages after some time of inactivity must be fixed in RVMedia 4. It happened because the system closes connections because of inactivity, we added special measures to keep connections alive.

3)
In some moments (testing with demos) when user A start video and user B accept video request, user B is disconnected.
Can you explain with more details, what do you mean by accepting video request? If you placed a breakpoint in an event, a connection may be timed out while debugging.

friman
Posts: 25
Joined: Fri Jul 17, 2015 4:26 am

Post by friman » Wed Oct 28, 2015 9:22 pm

Hi,
I will try record some small video when it happend and will share.

Sergey Tkachenko
Site Admin
Posts: 14654
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Thu Oct 29, 2015 5:16 pm

If an exception when using the components in your application, please create a project (as simple as possible) reproducing it, and send to us.

friman
Posts: 25
Joined: Fri Jul 17, 2015 4:26 am

Post by friman » Thu Oct 29, 2015 5:18 pm

Hi,
Thanks for your reply, anyway hrs ago I sent to you an small code to your email. Please check it and let me know.
Thanks on advance

Sergey Tkachenko
Site Admin
Posts: 14654
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Thu Oct 29, 2015 5:28 pm

Sorry, I did not receive it.
If it included an exe file, please send without it.
Please sent to both [email protected] and richviewgmailcom.

friman
Posts: 25
Joined: Fri Jul 17, 2015 4:26 am

Post by friman » Thu Oct 29, 2015 5:35 pm

I sent again to both emails, please check.
Thanks

Sergey Tkachenko
Site Admin
Posts: 14654
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Thu Oct 29, 2015 8:19 pm

I received them.

friman
Posts: 25
Joined: Fri Jul 17, 2015 4:26 am

Post by friman » Fri Oct 30, 2015 12:06 pm

Ok, please write back if you find some solution for that.
Thanks

Sergey Tkachenko
Site Admin
Posts: 14654
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Sun Nov 01, 2015 5:45 pm

I sent a corrected version of your project to you.
You created your client application basing on our demo projects, but removed processing of several important events.

friman
Posts: 25
Joined: Fri Jul 17, 2015 4:26 am

Post by friman » Thu Nov 05, 2015 8:26 am

Hi Serguey

Sorry for my delayed answer. I got it and solved my trouble.
Thanks

Post Reply