Git Product home page Git Product logo

fluttervideo's Introduction

声网视频通话在Flutter中的应用

APP成功运行需要注意以下几个步骤:

1.到声网官网注册账号,并申请APPKey。
2.将申请的APP Key 配置到lib/fast/constants.dart/APPApiKey/Agora_app_id中。
3.APP跑起来后自定义个userid登录,按以下步骤找到视频部分入口
(若想先跳过登录步骤,可将main.dart文件中的变量_isLogin设为true)

Agora视频通话示例--自定义视频通话示例--输入好友id后,点击和好友通话即可

··“官方视频通话示例”为声网官方对于插件agora_rtc_engine的实现demo
··“官方信令系统示例”为声网官方对于插件agora_rtm的实现demo
··“自定义视频通话示例”则是本demo的重点,将以上两个插件结合实现视频的呼叫接听(群视频暂未实现)

自定义相机

自定义相机的实现和webview加载html的功能在一起,按以下步骤运行APP:

1.将main.dart文件中的变量_isLogin设为true
2.APP跑起来后点击WebView示例,进入百度HTML页面(mywebview.dart),等待三秒即会自动跳入自定义识别身份证的相机页面(调用了方法startIdentifyIDCard(context))。
3.进入各个自定义相机页面的入口都在mywebview.dart文件中

lib\home\page\camera\identify_card.dart (自定义识别身份证的相机页面)
lib\home\page\camera\identify_face.dart (自定义识别人脸的相机页面)
lib\home\page\camera\identify_qrcode.dart (自定义扫描二维码的相机页面)

注意

本demo没有完整核验bug,只供部分参考

fluttervideo's People

Contributors

lightforest avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.