Giter Site home page Giter Site logo

webrtcdemo-js's People

Contributors

bansheehannibal avatar choui666 avatar keen-wang avatar tilince avatar yytm avatar zegodev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

webrtcdemo-js's Issues

三人创建同一房间,safair浏览器上显示一路画面卡住

目前测试结果是ios safari 拉流播放一条流时其它流都会暂停,并不是卡住,若选择播放已暂停的流正在播放的流也会自行暂停,推测是ios safari自身策略导致的,目前的解决方法是给video加上控件,让客户自由选择需要播放的流

屏幕共享推流失败,reason=server session closed,reason:23

出现情况及原因:chrome浏览器,屏幕共享在mac和window上能够使用的硬件权限是不一样的,如:共享整个系统时,mac下是不能共享声音的,而window是可以的,若此时你的电脑是mac笔记本,但是安装的window系统,会导致屏幕共享插件提供声音选项,此时会导致共享数据不能被正确推流到服务端;
解决办法:mac电脑安装window系统,在共享整个桌面系统时,不要勾选声音选项

弹幕接收不到

在使用实时音视频功能,web类型 写代码得时候,
发现 弹幕发送提示成功,就是接受得时候没接收到。不知道什么问题,我用官方提供的demo,发送弹幕也没在屏幕上看到有弹幕飘过额,。。。

dispatch request error

onPlayStateUpdate: function (type, streamid, error) {
        if (type == 0) {
          console.info('play  success');
        } else if (type == 2) {
          console.info('play retry');
        } else {
          console.error("play error " + error.msg);
          var _msg = error.msg;
          if (error.msg.indexOf('server session closed, reason: ') > -1) {
            var code = error.msg.replace('server session closed, reason: ', '');
            if (code == 21) {
              _msg = '音频编解码不支持(opus)';
            } else if (code == 22) {
              _msg = '视频编解码不支持(H264)'
            } else if (code == 20) {
              _msg = 'sdp 解释错误';
            }
          }
          alert('拉流失败,reason = ' + _msg); // 报错:dispatch request error
        }
      },

ios safari上连麦创建房间提示"error“

因为demo默认是以标清进行推流,而ios safari目前暂不支持标清的推拉流,高清以及超清是正常可行的。SDK内部标清是根据谷歌标准制定的,适合市面上绝大多数浏览器,SDK暂不会为safari单独做修改

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.