Git Product home page Git Product logo

Comments (11)

mvcastellari avatar mvcastellari commented on June 18, 2024 2

Hello @Ahsanch11, if you manage to do this please let me know. I am also trying to do this.

from react-native-webrtc.

fukemy avatar fukemy commented on June 18, 2024 1

I think you can do it by try to implement Custom capturer, then in didCapture delegate, convert it's to image then save to local -> send url to bridge

from react-native-webrtc.

bilal-korir avatar bilal-korir commented on June 18, 2024

Hi @fukemy, can you elaborate more please, if you have any steps or code snippets, that would be helpful, thanks.

from react-native-webrtc.

fukemy avatar fukemy commented on June 18, 2024

Hi @fukemy, can you elaborate more please, if you have any steps or code snippets, that would be helpful, thanks.

you must modify library code, check examplr here
https://stackoverflow.com/a/55731981

from react-native-webrtc.

Ahsanch11 avatar Ahsanch11 commented on June 18, 2024

@fukemy can you have a patch for latest react native webrtc libaray ? Can ypu share with me the example code for that patch you are using ?

from react-native-webrtc.

ciaoamigoschat avatar ciaoamigoschat commented on June 18, 2024

NEWS?
I'm also desperately trying to capture the photo from my camera while streaming with WebRTC on iOS/ANDROID. But I can't find a solution. Help? Is there any workaround?

from react-native-webrtc.

Ahsanch11 avatar Ahsanch11 commented on June 18, 2024

You can use react-native-view-shot and capture a ref of your stream. It is woking on ios but not for android (balck screen).

from react-native-webrtc.

ciaoamigoschat avatar ciaoamigoschat commented on June 18, 2024

Could you provide me with an example for iOS? Currently, I am getting an empty file as a result.

from react-native-webrtc.

fukemy avatar fukemy commented on June 18, 2024

my solution only work for local stream only, not remote. It's my private code from company, I can not share

from react-native-webrtc.

ciaoamigoschat avatar ciaoamigoschat commented on June 18, 2024

I'm also only interested in the local stream. I understand but you can always release a public patch. It can help many people and optimize the code. @fukemy

from react-native-webrtc.

saghul avatar saghul commented on June 18, 2024

Folks, please take the discussion to the community forum.

from react-native-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.