SkillAgentSearch skills...

FanXin

IM服务器端+Api服务器+客户端(android+ios)全部开源的项目->https://github.com/YiChat

Install / Use

/learn @huangfangyi/FanXin
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p> <span style="box-sizing: border-box; font-weight: 700; color: rgb(51, 51, 51); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);"><span style="color: rgb(102, 102, 102); font-family: &#39;Helvetica Neue&#39;, STHeiti, 微软雅黑, &#39;Microsoft YaHei&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">APK体验地址:</span><a href="http://fir.im/wy79" target="_blank" style="font-family: &#39;Helvetica Neue&#39;, STHeiti, 微软雅黑, &#39;Microsoft YaHei&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; white-space: normal; background-color: rgb(255, 255, 255);">http://fir.im/wy79</a></span> </p> <p> <br/> </p> <p> <strong>凡信IOS版体验包</strong><br/>https://www.pgyer.com/Y5mp <br/> </p> <p> <br/> </p> <p> <br/> </p> <p> <span style="box-sizing: border-box; font-weight: 700; color: rgb(51, 51, 51); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">凡信3.0 更新介绍</span><br/><br/><span style="color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">&nbsp;对于凡信项目的背景在此不再赘述,不了解的前往:</span><a href="https://github.com/huangfangyi/FanXin2.0_IM" target="_blank">https://github.com/huangfangyi/FanXin2.0_IM</a><br/><span style="color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">或者:</span><a href="http://www.imgeek.org/article/825307627">http://www.imgeek.org/article/825307627</a><br/><br/><span style="box-sizing: border-box; font-weight: 700; color: rgb(51, 51, 51); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">前言:</span><br/><span style="color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">&nbsp; &nbsp;由于凡信的1.0和2.0都是基于环信SDK 2.x系列开发,而当前环信官方力推的是3.x的系列SDK,在此背景下,作者决定将凡信迁移至3.x的demo上。迁移的同时,对存储机制和网络接口做了一定的优化。与此同时,针对时下火热的直播APP,结合环信的聊天室功能和ucloud,做了两个模块-观看直播和进行直播;针对IM场景中常见的发红包/抢红包,集成了由云账户提供的红包SDK(</span><a href="https://www.yunzhanghu.com/" target="_blank">https://www.yunzhanghu.com</a><span style="color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">),对于想做红包以及账户管理的开发者,是一种非常值得推荐的解决方案,一是开发者不用头疼于安全问题,以及开发中逻辑不严谨导致的资金转移丢包的问题。</span><br/><span style="box-sizing: border-box; font-weight: 700; color: rgb(51, 51, 51); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">资源相关:</span><br/> </p> <ul style="box-sizing: border-box; padding: 0px 40px; color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; white-space: normal; background-color: rgb(255, 255, 255);" class=" list-paddingleft-2"> <li> <p> <br/> </p> </li> <li> <p> github工程源码(主要更新源):<a href="https://github.com/huangfangyi/FanXin3.0" target="_blank">https://github.com/huangfangyi/FanXin3.0</a> </p> </li> <li> <p> 二维码安装: </p> <p> <a href="http://www.imgeek.org/uploads/article/20160717/7d706304e3c4a2258bd50d8a3305d07f.png" target="_blank"><img src="http://www.imgeek.org/uploads/article/20160717/7d706304e3c4a2258bd50d8a3305d07f.png" title="下载.png" alt="下载.png"/></a> </p> </li> <li> <p> <span style="box-sizing: border-box; font-weight: 700; color: rgb(51, 51, 51);">作者QQ:84543217</span>(QQ也只处理外包开发需求) </p> </li> <li> <p> 凡信开发者讨论群:<span style="box-sizing: border-box; font-weight: 700; color: rgb(51, 51, 51);">366135448</span> </p> </li> <li> <p> APP红包功能讨论群(android+ios)<span style="box-sizing: border-box; font-weight: 700; color: rgb(51, 51, 51);">:437758366</span>(1500名小伙伴等着你哦!) </p> </li> </ul> <p> <br/><span style="color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">此次更新分三个部分进行详细介绍</span><br/> </p> <ul style="box-sizing: border-box; padding: 0px 40px; color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; white-space: normal; background-color: rgb(255, 255, 255);" class=" list-paddingleft-2"> <li> <p> 直播功能 </p> </li> <li> <p> 红包功能 </p> </li> <li> <p> 对凡信2.0已有功能的重构以及优化 </p> </li> </ul> <p> <span style="color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">&nbsp;</span><br/><span style="box-sizing: border-box; font-weight: 700; color: rgb(51, 51, 51); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">一.直播功能:</span><br/><br/><span style="color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">直播间的开发涉及三个要点:</span><br/> </p> <ul style="box-sizing: border-box; padding: 0px 40px; color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; white-space: normal; background-color: rgb(255, 255, 255);" class=" list-paddingleft-2"> <li> <p> 一是观看的视频来源(拉流) </p> </li> <li> <p> 二是主播直播的实时视频的推送(推流) </p> </li> <li> <p> 三是直播间:主播与粉丝之间、粉丝和粉丝之间的字幕互动 </p> </li> </ul> <p> <span style="color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">&nbsp;</span><br/><span style="color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">凡信中的解决方案是:</span><br/> </p> <ul style="box-sizing: border-box; padding: 0px 40px; color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; white-space: normal; background-color: rgb(255, 255, 255);" class=" list-paddingleft-2"> <li> <p> 观看直播(拉流)和开始直播(推流)只需要传入一个rtmp视频流即可,本项目用了一个香港卫视的电台直播视频流方便大家测试,另外一种就是通过设置直播间id进行推流,然后输入对应id进行拉流的方式,开发者可以通过两部手机进行测试。前提是保证网络环境良好。 </p> </li> <li> <p> 直播间的互动,一般直播直播平台会有打字弹幕、赠送礼物、私聊等功能,综合起来也就是通信问题。目前凡信中基于环信的聊天室功能,完成了打字互动的部分,其他部分可以依据这个原理实现,无非就是对消息进行分类(聊天消息、礼物消息、私聊消息)。<span style="color: rgb(51, 51, 51); font-weight: 700; line-height: 22.4px;">二、红包功能:-采用云账户提供的红包SDK实现</span> </p> </li> </ul> <p> <br/><span style="color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">&nbsp; 红包在社交APP中的需求越来越多,对于这块的自主开发涉及问题至少会包含以下两点:一是安全问题--支付安全和资金安全。二是丢包问题,如红包玩法中,发红包的资金涉及冻结资金,领取的要结算,过期的要回账,还例如领取状态的通知回调等等。越是复杂高频的收发红包及转账场景,怎么在移动端及服务端保证每笔交易都有完善的跟踪和容错机制,都是开发者必须要考虑的问题。然而设计一个完整的解决方案并研发成功,需要投入的技术成本和时间成本是非常高的,然而红包仅仅是APP的一个辅助模块而已,占据过高的成本得不偿失。为此,云账户推出了适用各种应用场景的红包SDK,帮助解决这个效率问题,开发者可以利用简单的几个小时完成一套红包解决方案。目前,云账户针对主流的SaaS平台推出了集成红包后的demo,具体详情请见:</span><a href="https://www.yunzhanghu.com/download.html" target="_blank">https://www.yunzhanghu.com/download.html</a><span style="color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">&nbsp;(目前得知的是已完成环信、融云、Leancloud、亲加、容联等平台demo的集成,后面几个近期即将发布。)如果有小伙伴对红包或者账户资金管理功能感兴趣的,可以加入红包功能讨论QQ群:366135448,一起探讨APP变现模式,以及红包的新玩法。</span><br/><span style="color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">&nbsp;</span><br/> </p> <p> <br/><br/><span style="box-sizing: border-box; font-weight: 700; color: rgb(51, 51, 51); font-family: &quot;Helvetica Neue&quot;, STHeiti, 微软雅黑, &quot;Microsoft YaHei&quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; background-color: rgb(255, 255, 255);">三、针对凡信2.0已有功能的优化</span><br/> </

Related Skills

View on GitHub
GitHub Stars592
CategoryDevelopment
Updated3d ago
Forks291

Languages

Java

Security Score

80/100

Audited on Mar 30, 2026

No findings