Comments (27)
Many Unity apps are already using WebRTC for voice communication and general network data. I'm surprised Android support isn't a priority when many mobile & VR games would hugely benefit from this.
+1 on request, it could change the Unity networking landscape
from com.unity.webrtc.
Thanks, everyone. We understood a need exists for supporting mobile platforms.
I will plan the roadmap containing this support.
from com.unity.webrtc.
At the moment, we don't have plans to support RenderStreaming on Android.
We may reconsider this in the future if the demand is strong, so please let us know what you are trying to do.
from com.unity.webrtc.
Happy to help as well if there is a way to do it. I am already maintaining my own (very limited) version for the past 5 years for the asset WebRTC Video Chat and moving this to a community maintained version would be great
from com.unity.webrtc.
We have a plan to support Android platform as of version 2.4.
This would be released in February.
from com.unity.webrtc.
How do we get involved as a community to help out with the Android portion? We need this to be cross-platform and deployable to all places Unity targets.
from com.unity.webrtc.
@nsmith1024
We are working on the iOS platform support and this should be released this month.
from com.unity.webrtc.
So I'm a bit confused at this point regarding the status. Is Android support added to the latest 2.4.0 release as indicated in the readme or is it moved back to 2.5.0 and will it be released in June?
from com.unity.webrtc.
My understanding is that this project doesn't build on Android. However you can view/receive the stream from a Windows machine on an Android device or Web Browser (Using the relevant WebRTC API/Libraries) as a regular app (Not Unity).
from com.unity.webrtc.
I think you're correct, but then I would suggest to the authors to communicate this much more clearly. It now seems to be a cross-platform lib, which it is not. A confirmation of the above and a possible roadmap from the author would be greatly appreciated!
from com.unity.webrtc.
Essentially, we want to communicate simple messages (two-way) and stream video (one-way) between our React Native application and our Android app. The latter is built in Unity, specifically for the Pico 4K 2G VR HMD. One eye-buffer is recorded and streamed to the React-Native application where it is displayed.
As long as we play our implementation (with custom java signaling server) within the editor, or build for windows, everything works as expected. But as soon as we actually build for Android (note that switching platform does not have the same result) we get the error.
The type or namespace name WebRTC does not exist in the namespace Unity
I hope this clears things up.
From what I understand about this comment @karasusan,
At the moment, we don't have plans to support RenderStreaming on Android.
It is possible to communicate simple messages back- and forth? For now, we are unable to build, so we cannot check this on Android.
from com.unity.webrtc.
We are also in the need of having webrtc support for on mobile platforms like android and ios. In our case we have to stream the unity view from a mobile device to a webapp for remote support.
from com.unity.webrtc.
Is there any update on android support? We need cross-platform integration with communication and streaming between pc, ios, oculus quest (android), etc
from com.unity.webrtc.
Its now Dec 2020, does this work on Android and IOS yet?
from com.unity.webrtc.
@nsmith1024
We are working on the iOS platform support and this should be released this month.
Awesome, what about Android?
Can your WebRTC encode the video and audio from the phone camera and stream it to YouTube Live?
See this video on YouTube Live and WebRTC
https://www.youtube.com/watch?v=htN-gIPOkP0
from com.unity.webrtc.
@nsmith1024
Android support is planned for the next milestone. It might be released in February.
Thanks for sharing the awesome video, I have never seen it.
I think YouTube does not provide an API for live streaming via WebRTC.
You need to use the other software to convert to the RTMP protocol from WebRTC.
https://stackoverflow.com/questions/61003528/how-to-stream-video-from-my-webrtc-to-facebook-rtmp-server-directly
from com.unity.webrtc.
@nsmith1024
Android support is planned for the next milestone. It might be released in February.Thanks for sharing the awesome video, I have never seen it.
I think YouTube does not provide an API for live streaming via WebRTC.
You need to use the other software to convert to the RTMP protocol from WebRTC.
https://stackoverflow.com/questions/61003528/how-to-stream-video-from-my-webrtc-to-facebook-rtmp-server-directly
Thanks for the reply, I found a link to an article mentioning how to use WebRTC with YouTube, maybe its of use?
https://webrtchacks.com/youtube-does-webrtc-heres-how/
So do you think if i stream WebRTC from my phone camera (Unity app) to my own server, and then on my server use ffmpeg to convert the WebRTC stream in real-time to RTMP, sending that to YouTube live that would work? If so do you know how to do it?
I saw this YouTube video that talks about converting WebRTC to RTMP, there is also a GIT
YouTube: https://www.youtube.com/watch?v=ZlQfWs_XTvc
GIT: https://github.com/muxinc/webrtc-rebroadcaster
Tutorial: https://www.meetecho.com/blog/firefox-webrtc-youtube-kinda/
Do you think your Unity version of WebRTC would work with this git package to stream life from Unity IOS to YouTube Live?
from com.unity.webrtc.
@nsmith1024
I am not sure the combination works as you expect.
We are preparing to release the version which supports iOS platform so you can try to integrate them.
from com.unity.webrtc.
Our team is struggling to develop but the plan is delayed.
Android support is released at the end of March.
from com.unity.webrtc.
Great to see the progress being made! I hope we'll see this released soon.
As I mentioned above, we ultimately want to stream video (one eye buffer) from the Android app (built in Unity) to a web application. Since render streaming is another package, I was wondering if this update will include the option to also stream video through WebRTC?
from com.unity.webrtc.
Great to see the progress being made! I hope we'll see this released soon.
As I mentioned above, we ultimately want to stream video (one eye buffer) from the Android app (built in Unity) to a web application. Since render streaming is another package, I was wondering if this update will include the option to also stream video through WebRTC?
Unity Render Streaming package depends on the WebRTC package. Therefore, we need to update the URS package after the WebRTC package to add Android support.
from com.unity.webrtc.
Thanks! So to answer my question: As I understand it, this update will not be able to stream video through WebRTC from an android device yet. We'll have to wait for an update on the URS package for that, or choose an alternative.
Please correct me if I'm wrong on the above. If it's correct, however, is there a timeline for the URS android update? I couldn't find it on Github.
from com.unity.webrtc.
@BoyBouw
I can not say when it will be released clearly, but I think by May.
from com.unity.webrtc.
@mikeslinkman
I mistook setting the milestone for this issue.
Android support will be released in April.
from com.unity.webrtc.
okay, thanks for clearing that up!
from com.unity.webrtc.
@karasusan 🙏🏽 🙏🏽 🙏🏽 Thank you so much.
from com.unity.webrtc.
Hi, I have a question, this new version in April contain support ARMv7 android architecture?
We need both Android CPU architectures.
from com.unity.webrtc.
Related Issues (20)
- [BUG]: No data sent on VideoStreamTracks on Pico after multiple cleanups HOT 1
- [BUG]: Segmentation Fault on Startup with High Resolution Display (Version 2021.3.20f1) HOT 1
- [BUG]: Freezing when RTCPeerConnection is closing HOT 2
- [BUG]: Encoder/Decoder priority HOT 2
- [BUG]: Wrong Candidate Pair Generation while establishing ICE Connection HOT 1
- [BUG]: E2ELantency calculation
- [BUG]: High Latency in Receiving Video Stream with H264 codec
- [BUG]: HOT 1
- [BUG]: Unable to connect streams between two devices with relay-only mode forced
- [BUG]: '__debug' file not found while building the plugin on MAC and xcode15 HOT 1
- WebGL branch [thaina/experimental/webgl-platform]
- [REQUEST]: Mipmap support for incoming video streams
- [BUG]: How get spectrum data from receiving audio stream track?
- [BUG]: High temperature and battery consumption on Android AR glasses HOT 2
- [BUG]: android build with auto graphics api
- [REQUEST]: Add OnSignalingStateChange property to RTCPeerConnection class
- [REQUEST]: Android native buffer rendering on Vulkan
- [REQUEST]: what's DummyAudioDevice used for ?
- [BUG]:
- [BUG]: OnIceCandidate
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 com.unity.webrtc.