我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Laravel单向沟通

I want my 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 (https://github.com/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.

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

近期文章

  • pdf的BinaryContent为null
  • 在cakephp3 datetime的服务器中获取不同的日期格式
  • cURL快速流式传输图像
  • 如何在codeigniter中将xls转换为xlsx
  • 谷歌地图API。
  • 未定义的类常量'CONDITION_OPTIONS'
  • 如何将字符串数据更改为Laravel Query格式
  • Laravel 5.4 auth :: check()false
  • .htaccess拒绝除Laravel上的一个文件以外的所有内容
  • 显示单选按钮选择的内容
  • 如何从两个不同的项目加载最新的类
  • PHP Soap客户端调用
  • 使用php MVC / ajax / json删除多条记录时的foreach问题
  • 当请求体> 2k时,Nginx错误得到recv()失败(104:由对等体重置连接)
  • 无法获得请求数据laravel 5.6
  • 为什么php模块不知道安装?
  • 在twilio更新会议活动
  • 为什么php文件不是由cron作业执行的?
  • 使用mysqli无法插入数据
  • PHP变量不作为参考

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华