[Live-devel] How to response custom rtsp header and limit the client number?

Eric_Hsieh at alphanetworks.com Eric_Hsieh at alphanetworks.com
Sun Apr 23 18:08:36 PDT 2017


Hi Ross

We are working on a small memory and poor cpu camera.
we would like to
1) limit the number of client, do you have any suggestion about this?
2) if system cpu usage is very high, we want to response special custom rtsp header.
   for example:
   c->s
   SETUP rtsp://127.0.0.1/profile1/track1
   CSeq: 4
   Session: 1231234
   Transport: RTP/AVP;unicast;client_port=6296-6207

   s->
   RTSP/1.0 453 No Resources
   CSeq: 4

   Now, we are handling this issue on RTSPServer.cpp. We detect cpu usage to check if
   we need to response 453 or not. We are still looking a better way to do this.
   Any suggestion would be very helpful. Thanks a lot.
This electronic mail transmission is intended only for the named recipient. It contains information which may be privileged,confidential and exempt from disclosure under applicable law. Dissemination, distribution, or copying of this communication by anyone other than the recipient or the recipient's agent is strictly prohibited. If this electronic mail transmission is received in error, Please notify us immediately and delete the message and all attachments of it from your computer system. Thank you for your cooperation.



More information about the live-devel mailing list