登录
首页 » Android » AndroidRTC_WebScoke(修改版)

AndroidRTC_WebScoke(修改版)

于 2022-05-22 发布 文件大小:7.77 MB
0 205
下载积分: 2 下载次数: 1

代码说明:

应用背景实现android手机采集音视频进行webrtc处理后, 用 webscoket发送出去, 后台接受后可以实现音视频的通话. 后台代码可在网上查询webtrc node.js版本,直接发布运行即可.关键技术 WebRTC是Google于2011年6月3日开源的即时通讯项目,旨在使其成为客户端视频通话的标准。   刚接触WebRTC的时候你会被里面的一堆概念搞晕,特别是对没接触过音视频的人来说,如WebRTC, ICE, STUN, TURN, P2P, NAT, Jingle, TALK, VOIP, FFMPEG, H264, VP8, NACK, RTP, RTCP, RTSP, RTMP, SIP, XMPP, ISAC, ILBC, OPUS, G711, G722.   晕了吧,凡事都要有个过程的,一步步来吧!不懂了就问问度娘或GOOGLE.大家一起进步吧!加油 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 编写一个求方程ax2 + bx + c = 0的根 的程序
    编写一个求方程ax2 + bx + c = 0的根 的程序
    2022-03-18 20:34:32下载
    积分:1
  • android Samsung BLE实例 和蓝牙4.0开发工具包
    android Samsung BLE实例 和蓝牙4.0开发工具包
    2014-08-26下载
    积分:1
  • 一款迷你计时器
    小小的计时,源码开放,代码易懂,不仅让你的能够随时随地计时,还能够给你的开发带来帮助,占用cpu空间小,
    2022-06-29 01:35:57下载
    积分:1
  • Android-Total(5)
    关于android开发技巧总汇系系列5,内容总结的不错,值得参考(Department on android development skills confluence Series 5, the content summary of good, valuable reference)
    2013-07-12 12:56:58下载
    积分:1
  • button2
    JAVA,android计算器设计,简单计算功能做好了,高级功能有几个例子(JAVA, android calculator design, simple computing functions ready, advanced features are a few examples)
    2013-08-26 00:48:01下载
    积分:1
  • 获取系统图库的图片,调用系统相机,并生成预览,
    ** * 这个是进入相册显示所有图片的界面 *  * @author king * @QQ:595163260 * @version 2014年10月18日  下午11:47:15 */public class AlbumActivity extends Activity {//显示手机里的所有图片的列表控件private GridView gridView;//当手机里没有图片时,提示用户没有图片的控件private TextView tv;//gridView的adapterprivate AlbumGridViewAdapter gridImageAdapter;//完成按钮private Button okButton;// 返回按钮private Button back;// 取消按钮private Button cancel;private Intent intent;// 预览按钮private Button preview;private Context mContext;private ArrayList dataList;private AlbumHelper helper;public static List contentList;public static Bitmap bitmap;protected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);setContentView(Res.getLayoutID("plugin_camera_album"));PublicWay.activityList.add(this);mContext = this;//注册一个广播,这个广播主要是用于在GalleryActivity进行预览时,防止当所有图片都删除完后,再回到该页面时被取消选中的图片仍处于选中状态IntentFilter filter = new IntentFilter("data.broadcast.action");  registerReceiver(broadcastReceiver, filter);          bitmap = BitmapFactory.decodeResource(getResources(),Res.getDrawableID("plugin_camera_no_pictures"));        init();initListener();//这个函数主要用来控制预览和完成按钮的状态isShowOkBt();}BroadcastReceiver broadcastReceiver = new BroadcastReceiver() {           @Override          public void onReceive(Context context, Intent intent) {          //mContext.unregisterReceiver(this);            // TODO Auto-generated method stub          gridImageAdapter.notifyDataSetChanged();        }      };  // 预览按钮的监听private class PreviewListener implements OnClickListener {public void onClick(View v) {if (Bimp.tempSelectBitmap.size() > 0) {intent.putExtra("position", "1");intent.setClass(AlbumActivity.this, GalleryActivity.class);startActivity(intent);}}}// 完成按钮的监听private class AlbumSendListener implements OnClickListener {public void onClick(View v) {overridePendingTransition(R.anim.activity_translate_in, R.anim.activity_translate_out);intent.setClass(mContext, MainActivity.class);startActivity(intent);finish();}}// 返回按钮监听private class BackListener implements OnClickListener {public void onClick(View v) {intent.setClass(AlbumActivity.this, ImageFile.class);startActivity(intent);}}// 取消按钮的监听private class CancelListener implements OnClickListener {public void onClick(View v) {Bimp.tempSelectBitmap.clear();intent.setClass(mContext, MainActivity.class);startActivity(intent);}}// 初始化,给一些对象赋值private void init() {helper = AlbumHelper.getHelper();helper.init(getApplicationContext());contentList = helper.getImagesBucketList(false);dataList = new ArrayList();for(int i = 0; i= PublicWay.num) {toggleButton.setChecked(false);chooseBt.setVisibility(View.GONE);if (!removeOneData(dataList.get(position))) {Toast.makeText(AlbumActivity.this, Res.getString("only_choose_num"),200).show();}return;}if (isChecked) {chooseBt.setVisibility(View.VISIBLE);Bimp.tempSelectBitmap.add(dataList.get(position));okButton.setText(Res.getString("finish") "(" Bimp.tempSelectBitmap.size() "/" PublicWay.num ")");} else {Bimp.tempSelectBitmap.remove(dataList.get(position));chooseBt.setVisibility(View.GONE);okButton.setText(Res.getString("finish") "(" Bimp.tempSelectBitmap.size() "/" PublicWay.num ")");}isShowOkBt();}});okButton.setOnClickListener(new AlbumSendListener());}private boolean removeOneData(ImageItem imageItem) {if (Bimp.tempSelectBitmap.contains(imageItem)) {Bimp.tempSelectBitmap.remove(imageItem);okButton.setText(Res.getString("finish") "(" Bimp.tempSelectBitmap.size() "/" PublicWay.num ")");return true;}return false;}public void isShowOkBt() {if (Bimp.tempSelectBitmap.size() > 0) {okButton.setText(Res.getString("finish") "(" Bimp.tempSelectBitmap.size() "/" PublicWay.num ")");preview.setPressed(true);okButton.setPressed(true);preview.setClickable(true);okButton.setClickable(true);okButton.setTextColor(Color.WHITE);preview.setTextColor(Color.WHITE);} else {okButton.setText(Res.getString("finish") "(" Bimp.tempSelectBitmap.size() "/" PublicWay.num ")");preview.setPressed(false);preview.setClickable(false);okButton.setPressed(false);okButton.setClickable(false);okButton.setTextColor(Color.parseColor("#E1E0DE"));preview.setTextColor(Color.parseColor("#E1E0DE"));}}public boolean onKeyDown(int keyCode, KeyEvent event) {if (keyCode == KeyEvent.KEYCODE_BACK) {intent.setClass(AlbumActivity.this, ImageFile.class);startActivity(intent);}return false;}@Overrideprotected void onRestart() {isShowOkBt();super.onRestart();}
    2014-12-10下载
    积分:1
  • 27-白光T12电烙铁控制板.rar
    27-白光T12电烙铁控制板.rar
    2019-08-21下载
    积分:1
  • android usb 通讯实例源码下载
    源码在压缩包中,解压几次就能看到,android usb 通讯例子
    2014-08-08下载
    积分:1
  • app
    掌握相册界面的开发,实现相册的立体与倒影效果(Grasp the development of album interface, realize the stereo and reflection effect of album)
    2020-06-16 08:20:02下载
    积分:1
  • listviewheSQLitezhishi
    注意:本项目是基于android studio开发的,eclipse可能无法直接使用。 本项目是一个简单的基于安卓的记事本项目源码,添加或删除数据的时候会出现显示bug(实际数据不会受到影响),bug体现在添加或删除一条数据以后会在listview里面会展示复制一遍操作后的数据。而不会清除原有的列表文本。新手朋友可以拿这个项目来试试手感,顺便看看能不能独立解决这个问题。 本项目涉及的知识点有: 1、SQLite的基本使用,增删查改 2、listview,adapeter的基本使用 3、activity生命周期 4、intent、bundle传递参数 5、AlertDialog的基本使用(Note: this project is based on the development of studio eclipse, Android may not be able to directly use. This project is a simple Notepad program source code based on Android, add or delete data will appear when the display bug (actual data will not be affected), bug reflected in add or remove a data will be in inside the listview will show copy again after the operation data. And will not clear the original list of text. Novice friends can take this project to try to feel, by the way to solve this problem can not be solved independently. The knowledge points involved in this project are: 1, the basic use of SQLite, CRUD 2, listview, the basic use of adapeter 3, activity life cycle 4, intent, bundle transfer parameters 5, the basic use of AlertDialog)
    2016-07-25 11:25:09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载