Giter Club home page Giter Club logo

Comments (27)

orgsofthq avatar orgsofthq commented on August 12, 2024 29

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.

karasusan avatar karasusan commented on August 12, 2024 23

Thanks, everyone. We understood a need exists for supporting mobile platforms.
I will plan the roadmap containing this support.

from com.unity.webrtc.

karasusan avatar karasusan commented on August 12, 2024 4

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.

devluz avatar devluz commented on August 12, 2024 3

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.

karasusan avatar karasusan commented on August 12, 2024 3

We have a plan to support Android platform as of version 2.4.
This would be released in February.

from com.unity.webrtc.

FullstackJack avatar FullstackJack commented on August 12, 2024 1

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.

karasusan avatar karasusan commented on August 12, 2024 1

@nsmith1024
We are working on the iOS platform support and this should be released this month.

from com.unity.webrtc.

mikeslinkman avatar mikeslinkman commented on August 12, 2024 1

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.

McPo avatar McPo commented on August 12, 2024

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.

BoyBouw avatar BoyBouw commented on August 12, 2024

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.

BoyBouw avatar BoyBouw commented on August 12, 2024

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.

lukasrandom avatar lukasrandom commented on August 12, 2024

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.

sananbintahir avatar sananbintahir commented on August 12, 2024

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.

nsmith1024 avatar nsmith1024 commented on August 12, 2024

Its now Dec 2020, does this work on Android and IOS yet?

from com.unity.webrtc.

nsmith1024 avatar nsmith1024 commented on August 12, 2024

@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.

karasusan avatar karasusan commented on August 12, 2024

@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 avatar nsmith1024 commented on August 12, 2024

@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.

karasusan avatar karasusan commented on August 12, 2024

@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.

karasusan avatar karasusan commented on August 12, 2024

Our team is struggling to develop but the plan is delayed.
Android support is released at the end of March.

from com.unity.webrtc.

BoyBouw avatar BoyBouw commented on August 12, 2024

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.

karasusan avatar karasusan commented on August 12, 2024

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.

BoyBouw avatar BoyBouw commented on August 12, 2024

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.

karasusan avatar karasusan commented on August 12, 2024

@BoyBouw
I can not say when it will be released clearly, but I think by May.

from com.unity.webrtc.

karasusan avatar karasusan commented on August 12, 2024

@mikeslinkman
I mistook setting the milestone for this issue.
Android support will be released in April.

from com.unity.webrtc.

mikeslinkman avatar mikeslinkman commented on August 12, 2024

okay, thanks for clearing that up!

from com.unity.webrtc.

sreenaths avatar sreenaths commented on August 12, 2024

@karasusan 🙏🏽 🙏🏽 🙏🏽 Thank you so much.

from com.unity.webrtc.

Yusefrahmati avatar Yusefrahmati commented on August 12, 2024

@karasusan

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)

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.