php – Laravel one way communication-ThrowExceptions

Exception or error:

I want laravel backend to send a message to my Ionic App whenever there is an entry in my database. I don’t want to do polling at frontend, found this library rukavina/kurento-client-php
( but unable to get any success as I was getting this error.

Array ( 
  [code] => 40201 
  [data] => Array ( 
    [type] => SDP_PARSE_ERROR 
  [message] => Empty offer not valid

Can anyone help me who either implemented kurento-client-php library or worked on similar situation.

How to solve:

Finally did it using Laravel-ratchet and php-zmq.

Leave a Reply

Your email address will not be published. Required fields are marked *