找回密码
 立即注册
the发送视频聊天代码 | android开发 2022-05-23 120 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
简单介绍一下应用,主要用于局域网内的消息、表情、文件发送和视频聊天,支持昵称和头像设置... 应用的结构很简单,大部分我都加了注释复杂的代码,短信和语音通过UDP发送,图片文件通过TCP发送(方法有待改进)

视频聊天只是简单的发送图片和重绘,并没有使用RTSP什么的,时间有限,有机会实现一下。


需要改变
HeartBeatBroadcastReceiver 类
意图.getData().getSchemeSpecificPart();
去掉这行代码,这行是我随便找个地方写的,测试用的,忘记删了。
顺便说一句,上面这行代码是监听器安装apk后发送的广播,获取包名。

如果没有sd卡,WinChatApplication中的性能分析代码可能会报错
如果有错误,注释掉Debug的2个方法

(Briefly introduce the application, which is mainly used for message, expression, file sending and video chat in the LAN. It supports the setting of nickname and avatar The structure of the application is very simple. I have annotated most of the complex codes. SMS and voice are sent through UDP, and picture files are sent through TCP (the method needs to be improved)
Video chat is simply sending pictures and redrawing without using RTSP. Time is limited. I have the opportunity to realize it.
Need to change
Heartbeatbroadcastreceiver class
Intention getData(). getSchemeSpecificPart();
Remove this line of code. I wrote this line anywhere for testing. I forgot to delete it.
By the way, this is the name of the broadcast listener after the APK is installed.
If there is no SD card, the performance analysis code in winchatapplication may report an error
If there are errors, comment out the two methods of debug)

[下载]10384647317.rar




上一篇:android应用源码今日星座运势
下一篇:android应用源码可以发信号灯的手电