Coder Social home page Coder Social logo

1 to Many is working? about webrtc-ios HOT 4 CLOSED

stasel avatar stasel commented on August 15, 2024
1 to Many is working?

from webrtc-ios.

Comments (4)

stasel avatar stasel commented on August 15, 2024

Hi saroar,
Unfortunately, in this demo app, I have implemented only one to one calls. Group calls are out of the scope for this demo.
Group call has several different implementation methods, I suggest watching the Intro to WebRTC video where it is briefly explained.

from webrtc-ios.

tchapi avatar tchapi commented on August 15, 2024

Hi @stasel and thanks for your demo app that is very useful.

Just a quick question : how would you implement sending the stream to another party while maintaining the actual functionality ?
I would like to send the stream to another supplementary WebRTC peer to record it there.

My custom signaling app can of course broadcast the sdp and ice messages to all the needed parties but I guess I need to instantiate two WebRTCClient in the app, one for each peer connection.

If you have any hints that would be great.
Thanks again !

from webrtc-ios.

stasel avatar stasel commented on August 15, 2024

Hi @tchapi Sorry for the late response.
I'm happy that you (and many other) find this small demo app useful understanding how WebRTC works.

There are two possible solutions of doing this:

  1. Connect directly to two WebRTC clients, one is the other peer and one is the recording peer. The disadvantage of this is that the client will have to send two streams to two different peers which consumes double the resources on the device (battery, cpu and traffic).
  2. Have a MCU Server to handle the broadcast (and recording). Basically you need to deploy a server which the client connects to (instead of directly to the other peer) and this server broadcasts the video/audio to the other parties (and can of course, record)

I am not very familiar with the implementation of a MCU server but they are mentioning it in the intro to WebRTC video from 2013 at 23:21.

Good luck!

from webrtc-ios.

tchapi avatar tchapi commented on August 15, 2024

Thanks !

from webrtc-ios.

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.