hwilliamgo / fuzzy-video-drill Goto Github PK
View Code? Open in Web Editor NEWlearn and practise audio video coding stuff
License: MIT License
learn and practise audio video coding stuff
License: MIT License
【现象】在遇到远端网络或者近端网络问题导致发送失败,本队rtmp内部自动重试重发,发生崩溃。
【原因】初步估计为网络重试的无限递归调用导致的栈溢出,引起程序崩溃。
【排查】
如何解决这个不断重发导致的崩溃问题?
使用rtmp推流时,在观看端的清晰度非常低,该问题需要得到优化。
Describe the bug
竖屏开播,RtmpPushActivity中推出去的流是横屏的
To Reproduce
Steps to reproduce the behavior:
Expected behavior
竖屏推流,流画面应该是竖着的。
Screenshots
暂无
Desktop (please complete the following information):
Smartphone (please complete the following information):
与设备无关
Additional context
无
重构目标
对api_hw_jni.cpp中的多个jni反射函数做重构,将上层不同java类的映射cpp函数和相关全局变量做拆分,拆分到不同的cpp文件中,不要全部逻辑堆放到这一个文件中。
重构原因
多个不相关的函数和全局变量混在一起,到后期新增逻辑或者新增某个jni模块的话,这个文件内容越来越多,越来越不好管理。
重构效果
每个上层java类对应一个c层的实现文件,方便管理和查找。
重构成本
2 h
重构目标
请查看LiveRtmp子模块中的不安全的全局JNIEnv变量,对这个变量的访问会引发崩溃,暂时已经注释掉了相关逻辑,后续待修复。
重构原因
趁这次机会也引入和学习JNIEnv多线程访问机制。
重构效果
支持JNIEnv的多线程访问。
重构成本
预估需要4h。
背景
当前RTMP推流只有视频流,没有音频流,导致观看端听不到声音,需要也推声音出去。
解决方法
额外考虑
考虑也能够支持推纯音频流。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.