Comments (9)
Additional info:
In PeerConnectionUtils: This is what my encoderFactory provides as supportedCodecs:
![image](https://private-user-images.githubusercontent.com/731020/243347536-6cf0a84e-f755-412f-afff-79e475c6d812.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTE4NzYyODQsIm5iZiI6MTcxMTg3NTk4NCwicGF0aCI6Ii83MzEwMjAvMjQzMzQ3NTM2LTZjZjBhODRlLWY3NTUtNDEyZi1hZmZmLTc5ZTQ3NWM2ZDgxMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMzMVQwOTA2MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zYjQxZjQ2NDQ1ZjBmNmZhNjM4MjY4NjQ4OWI1NThjNGFlZTgyZTYzMjI3ODBlZDNlZjk5MjBjMTAzMzc1ZTU2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.atpqhr_EVWHkA1HQb6wHwkFQr3itC7IgGSAGoDHJJVs)
So something is missing...
from mediasoup-client-android.
Same device, other application (based on libwebrtc M105, but I'm sure, H.264 hardware baseline support was already available with M94):
![image](https://private-user-images.githubusercontent.com/731020/243352700-d0d77f9e-62f5-46e4-8927-4956f7d02e83.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTE4NzYyODQsIm5iZiI6MTcxMTg3NTk4NCwicGF0aCI6Ii83MzEwMjAvMjQzMzUyNzAwLWQwZDc3ZjllLTYyZjUtNDZlNC04OTI3LTQ5NTZmN2QwMmU4My5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMzMVQwOTA2MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mNDM0OTM3ZWM4NTI2NDU0OTE0MjBhODIzYTg3NGY0YmJhMjZkMjc3NWExMTFiZmIwYzIxYmUwY2VkYWFlZTUwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.aYmECnn0TvAGbHPkFWzat4m4wdB4UQ_74qc1z0Mp7RA)
I already tried to set the "highProfileSupport" flag to false in order to gain at least baseline support to no avail.
from mediasoup-client-android.
OK, removed the libwebrtc.aar from your package and replaced it with mine.
Now there should be also in the mediasoup landscape possible access to H.264 baseline HW codecs
![image](https://private-user-images.githubusercontent.com/731020/243433178-bcadf8d5-e2d7-4883-9046-81f6162e4e59.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTE4NzYyODQsIm5iZiI6MTcxMTg3NTk4NCwicGF0aCI6Ii83MzEwMjAvMjQzNDMzMTc4LWJjYWRmOGQ1LWUyZDctNDg4My05MDQ2LTgxZjYxNjJlNGU1OS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMzMVQwOTA2MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iYTg4YTQ4ZmFiMDdlNDc0NmUwODY5MTZiN2UxZDQzODZlNGMwZjA4MzI5ZDZmN2VjMmE5OWVmMTA0YTRkMWFmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.0DELfz5Uaa4WVM7wMJoTSCE2w3trFBCEbty1aCX5sf0)
To be continued
from mediasoup-client-android.
Hmm. I think I need some insight
This is what I get from encoderFactory.supportedCodecs() (just H.264 shown):
![image](https://private-user-images.githubusercontent.com/731020/243436605-7228fc9b-e955-4d5d-aa14-565a6ecdc6f5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTE4NzYyODQsIm5iZiI6MTcxMTg3NTk4NCwicGF0aCI6Ii83MzEwMjAvMjQzNDM2NjA1LTcyMjhmYzliLWU5NTUtNGQ1ZC1hYTE0LTU2NWE2ZWNkYzZmNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMzMVQwOTA2MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01MDc3ZTE3ZmFmNWFmYzRhZTFlNWYyZjc5NjQ2Nzc0MzEzNjZjMjNkY2E1YjgxNGVlZTA2NzhkYzAyZTI2NTU0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.8yNqEfrfvHOOZmdfYmYGWu_aWXOJP-uqrs6knQspd-Y)
I'm trying to favour this H.264 (this kind of setup works in JS):
![image](https://private-user-images.githubusercontent.com/731020/243436805-f7d4cd4f-824e-4c42-a5dc-e741e20aa165.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTE4NzYyODQsIm5iZiI6MTcxMTg3NTk4NCwicGF0aCI6Ii83MzEwMjAvMjQzNDM2ODA1LWY3ZDRjZDRmLTgyNGUtNGM0Mi1hNWRjLWU3NDFlMjBhYTE2NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMzMVQwOTA2MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xOTMyMGU4NTE3N2FmOGI0MWQ3Nzc3Y2MwMGE1MzIyYzFmNWI1NWE0MTQ3OTI2ZWE5YWMxNzZhM2Y0MGU3MjIzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.xnxaa4ePTopl8u7E-GVr11mk38su5RzVk7yIfm1EtcM)
![image](https://private-user-images.githubusercontent.com/731020/243437170-e242b3d7-f786-4541-a34b-72abc34ac1e2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTE4NzYyODQsIm5iZiI6MTcxMTg3NTk4NCwicGF0aCI6Ii83MzEwMjAvMjQzNDM3MTcwLWUyNDJiM2Q3LWY3ODYtNDU0MS1hMzRiLTcyYWJjMzRhYzFlMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMzMVQwOTA2MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jYmIwNzQxOTcwYjVhNGRiZmViZjJmYTU2YTA0OTk5ODMyZjk2ODNhNDZkNmQwNTA2ZmNjOTQ1NzA2MDc5NTJmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.DLPrn7hhJs9zaBdm-PIUTpIgB6Kw2pGrnTlYJ_KmUKk)
EDIT: Meanwhile I found I have to provide the profile-level-id as string, not as hex number. But this doesn't change the output: No matching codec found
EDIT2: I also found some typos, but those didn't change the outcome ("level-asymmetry-allowed")
from mediasoup-client-android.
This has been finally revealed w/o solution:
from mediasoup-client-android.
Author
hi neilyoung, do you have resolve the h264 issue? the link https://mediasoup.discourse.group/t/is-this-here-also-the-place-to-discuss-android-mediasoup-things/5266/13 can not visit now
from mediasoup-client-android.
Is mediasoup library actively maintained and can is it a prospective server for scaling, rtp and transcoding with users upto 10 in a room?
from mediasoup-client-android.
Author
hi neilyoung, do you have resolve the h264 issue? the link https://mediasoup.discourse.group/t/is-this-here-also-the-place-to-discuss-android-mediasoup-things/5266/13 can not visit now
I think yes, but finally it was not only done with this part mentioned. I rolled my own mediasoup lib from a fork and also replaced libwebrtc with a more recent version. In the end H.264 worked, even with simulcast (but software encoder only, libwebrtc does something weird with hardware encoded H.264 and simulcast).
from mediasoup-client-android.
Is mediasoup library actively maintained and can is it a prospective server for scaling, rtp and transcoding with users upto 10 in a room?
I think it is no longer actively maintained. Regarding your question: The mediasoup library is a client library for Android, organizing the signaling and media transfer to and from a Mediasoup server instance. Transcoding is not a task for this lib and IMHO also not the RTP for which it is using libwebrtc to my knowledge. The distribution to 10 or more users is task of the Mediasoup server's SFU functionality.
from mediasoup-client-android.
Related Issues (20)
- e2e stream encryption
- Crash Java_org_mediasoup_droid_Consumer_nativeGetKind HOT 1
- Crash GLException org.webrtc.GlUtil in checkNoGLES2Error
- Crash <unknown> New Issue Unhandled BusError
- Crash abort New Issue Unhandled Abort
- Crash memcmp New Issue Unhandled Segfault
- Crash android::RefBase::decStrong New Issue Unhandled BusError
- Crash mediasoupclient::Device::Load New Issue Unhandled Segfault HOT 1
- Application getting crash on VideoTrack.removeSink HOT 1
- Is this project still maintained?
- Build Failed
- C/C++: ld: error: ../../../../deps/webrtc/lib/arm64-v8a/libwebrtc.a:1: unknown directive: version
- Any api for using turn?
- is:issue is:open Excuse me, erroe happened when compile the code downloaded with the zip. what should I do. thank HOT 1
- How to send customized video and audio?
- app crashing when minifyEnabled set true HOT 1
- How to use audio/WebRtcAudioRecord rather than voiceengine/WebRtcAudioRecord
- How to switch to media mode to play WebRTC audio HOT 1
- vulnerable WebRTC lib. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediasoup-client-android.