Giter VIP home page Giter VIP logo

webrtc-srs's Introduction

webrtc-srs's People

Contributors

shenbengit 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

webrtc-srs's Issues

闪退

您好!工程编译完成后install闪退,
No static method toDouble-impl(JLjava/util/concurrent/TimeUnit;)D in class Lkotlin/time/Duration; or its super classes (declaration of 'kotlin.time.Duration' appears in base.apk!classes9.dex)

请问onAddStream、onAddTrack都收不到视频流的原因一般是什么呢?

我们后端自己搭了个p2p,安卓端只需要拉流就行了,服务端用addTrack和addStream不断往安卓端推流,但是我安卓端这边onAddStream、onAddTrack却怎么都无法走这2个回调,是基于你的PULL工程基础上改的。方便的话能加QQ或者开github的讨论吗,感谢大佬。

部分手机过几秒就会停止推流

使用几台华为手机测试,都出现了过几秒会停止推流的情况,即没有上传的网速,使用一台小米测试机就没出现停止推流情况,作者可知道哪里的问题?

能否自定义码率

能否自己设置一个码率,进行推流。capture.startCapture()方法设置的分辨率和帧率,为什么HardwareVideoEncoder中的日志打印出来有很多种分辨率?

android pull 卡顿

web端SRS 拉流很流畅,android pull工程拉取特别卡顿,几乎10几s 刷新下,视频是2880 544的分辨率
控制台一直输出 :
com.shencoder.webrtc_srs.pull D/ACodec: sendVideoFpsDataToiAware time:222000 fps:-1 msg:-1
com.shencoder.webrtc_srs.pull D/ACodec: sendVideoFpsDataToiAware time:222000 fps:-1 msg:-1
com.shencoder.webrtc_srs.pull D/ACodec: sendVideoFpsDataToiAware time:222000 fps:-1 msg:-1
com.shencoder.webrtc_srs.pull I/chatty: uid=10477(com.shencoder.webrtc_srs.pull) JNISurfaceTextu identical 6 lines

请问大佬如何排查或解决?

依赖添加无效

大神,我在自己的项目Gradle里添加依赖
implementation ("com.github.shenbengit:MVVMKit:1.0.3")
implementation ("com.github.shenbengit:WebRTCExtension:1.0.1")
想学习一波,但是并没有用,可能是什么原因呀

请教一下怎样推h264裸流

你好,请教一下从其他设备回调获取到h264裸流byte[]数据,有办法使用webrtc去推流到流媒体服务器么

自定义分辨率推流视频

我在代码
val videoSource = peerConnectionFactory.createVideoSource(capture.isScreencast)
videoSource.adaptOutputFormat(VideoSource.AspectRatio(640,360),360640,VideoSource.AspectRatio(360,640),360640,60)

        surfaceTextureHelper =
            SurfaceTextureHelper.create("surface_texture_thread", eglBaseContext)
        capture.initialize(surfaceTextureHelper, context, videoSource.capturerObserver)


        videoTrack =
            peerConnectionFactory.createVideoTrack("local_video_track", videoSource).apply {
                addSink(svr0)
            }

        capture.startCapture(360,640,20)

中添加了一行代码 videoSource.adaptOutputFormat(VideoSource.AspectRatio(640,360),360640,VideoSource.AspectRatio(360,640),360640,60);
就推流失败,请问怎么解决呢

请教一下怎样推h264裸流

你好,请教一下从其他设备获取到的h264裸流byte[]数据去有办法使用webrtc去流到srs流媒体服务器么

@Override
public void onReceive(byte[] videoBuffer, int size) {
    
}

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.