Skip to content

Integrate third party webrtc scalable broadcaster or server  #1118

Closed

Description

@maxlinux2000

Imagine being a teacher who wants to teach his students through this chat.
Ideally, the teacher can make a broadcast transmission WebRTC with audio, video, screen, files, and that students can record the video on their mobiles / computer.

The scenarios can be manifold : telepresence conferences , live events ...

here some examples:
https://www.webrtc-experiment.com/

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. changed the title [-]webrtc scalable broadcasting [/-] [+]Integrate third party webrtc scalable broadcaster or server [/+] on Oct 16, 2015
  2. Sing-Li commented on Oct 16, 2015

    @Sing-Li
    Member

    The webrtc-experiment styled multi-users video chat service (or broadcast) is already in the current version of Rocket.Chat, and should be working. See #933. This style of mesh network conferencing is absolutely not scalable.

    Scalable broadcast will require infrastructure support (someone has to pay for the server-side bandwidth and computing resources) and integration of third-party (proprietary/patented) server/gateway/cloud services. Modified title to reflect this.

  3. maxlinux2000 commented on Oct 16, 2015

    @maxlinux2000
    Author

    mmm.... and connect rocket.chat to http://www.kurento.org/ as third-party server?
    It's opensource and seem good.

  4. Sing-Li commented on Oct 16, 2015

    @Sing-Li
    Member

    The key question is, @maxlinux2000 - would you be willing to set up a server and offer the hosting and bandwidth for us to test during the development phase.

    Even if you are willing, how many other users are willing and want to specifically run and manage a kurento server, pay for its resources and bandwidth, in order to use the features described.

  5. maxlinux2000 commented on Oct 16, 2015

    @maxlinux2000
    Author

    mmm... ok, I can setup a VPS in digitalocean with kurento and pass to you developper the access.
    The have only 20GB of space, but for testing is enought.

    Obviously the server is only for testing porpouse, but I will write a simple script for auto setup, so everyone can have a private kurento media server for 5$ monthly in digitalocean or other similar company.

    Please, still some days in order to setup a VPS for testing. (I need time to study kurento before)

    regards
    MaX

  6. Sing-Li commented on Oct 16, 2015

    @Sing-Li
    Member

    Awesome! Please keep us updated.

  7. xjtufjj commented on Nov 1, 2015

    @xjtufjj

    For this feature, I suggest to take a look at jitsi-meet(https://github.com/jitsi/jitsi-meet), which is a mature webrtc based conference platform. Based on my limited knowledge, it uses the SFU as the forwarding core, not the MCU, which needs a lot CPU resource.

  8. telemakhos commented on Nov 5, 2015

    @telemakhos

    +1 for jisti-meet or a jitsi-videobridge solution. Janus gateway is another great option

  9. compuguy commented on Nov 12, 2015

    @compuguy

    If this becomes an option, it would need to be configurable (i.e. allow rocketchat to use a in house broadcaster and/or render, especially in some situations where internet connectivity is limited or none.

  10. compuguy commented on Dec 10, 2015

    @compuguy

    @Sing-Li If webrtc-experiment can be enabled, and pointed to a server, it needs to be documented somewhere.

  11. maxlinux2000 commented on Jan 6, 2016

    @maxlinux2000
    Author

    sorry for the delay but i'm stayed very busy for months.
    I tested kurento, but is very slow (20seconds of delay). May be with a more powerful machine....
    So I abandoned kurento and reading above about jitsi-meet I test it.

    jitsi-meet is amazing!! 👍

    work just fine in a VPS server with ubuntu 14.04 64bit, 512MB ram - 20GB HD.

    here the script to install anc configure it automatly


    #!/bin/bash
    
    echo "LANG=en_US.UTF-8
    LANGUAGE=en_US.UTF-8
    LC_TIME=en_US.UTF-8
    LC_MONETARY=en_US.UTF-8
    LC_ADDRESS=en_US.UTF-8,
    LC_TELEPHONE=en_US.UTF-8
    LC_NAME=en_US.UTF-8
    LC_MEASUREMENT=en_US.UTF-8
    LC_IDENTIFICATION=en_US.UTF-8
    LC_NUMERIC=en_US.UTF-8
    LC_PAPER=en_US.UTF-8
    " > /etc/default/locale
    
    export LC_ALL=en_US.UTF-8
    export LANG=en_US.UTF-8
    export LANGUAGE=en_US.UTF-8
    export LC_TIME=en_US.UTF-8
    export LC_MONETARY=en_US.UTF-8
    export LC_ADDRESS=en_US.UTF-8,
    export LC_TELEPHONE=en_US.UTF-8
    export LC_NAME=en_US.UTF-8
    export LC_MEASUREMENT=en_US.UTF-8
    export LC_IDENTIFICATION=en_US.UTF-8
    export LC_NUMERIC=en_US.UTF-8
    export LC_PAPER=en_US.UTF-8
    
    #! update
    apt-get update
    apt-get -y upgrade
    
    #! add swapfile
     sudo dd if=/dev/zero of=/swapspace bs=1M count=1000
     fallocate -l 1G /swapfile
     chmod 600 /swapfile
     mkswap /swapfile
     swapon /swapfile
     echo "/swapfile   none    swap    sw    0   0" >> /etc/fstab
     sysctl vm.swappiness=10
     echo "vm.swappiness=10" >> /etc/sysctl.conf
     sysctl vm.vfs_cache_pressure=50
     echo "vm.vfs_cache_pressure = 50" >> /etc/sysctl.conf
    
    #! end swapfile
    
    apt-get install -y curl git screen mc
    
    #! changing skin mc
    cd /usr/share/mc/skins/
    mv default.ini default.ini.stop
    ln -s gotar.ini default.ini
    cd ~ 
    #! end mc
    
    
    echo 'deb http://download.jitsi.org/nightly/deb unstable/' >> /etc/apt/sources.list
    wget -qO - https://download.jitsi.org/nightly/deb/unstable/archive.key | apt-key add -
    
    apt-get update
    apt-get -y install jitsi-meet
    
    
    

    @Sing-Li: if you want to try to use jitsi-meet with rocket.chat I can setup a server for you

  12. 19 remaining items

  13. Sing-Li commented on Apr 22, 2016

    @Sing-Li
    Member

    @shtefcs thanks for the links. We were struggling with the 10 users limit on google hangout ourselves and hope to integrate a superor solution from an infrastructure provider very soon.

  14. shtefcs commented on Apr 22, 2016

    @shtefcs

    Ok, great to hear that.

    Really excited to see it.

  15. shtefcs commented on Apr 28, 2016

    @shtefcs

    @Sing-Li not sure about 10 user limit, didn't use hangout myself, but was part of some high traffic broadcast, it was worked without problems.

    I just talked with the guys from https://www.designveloper.com/, they integrated Hangout OnAir API into streaming platform they just built with meteor https://www.crowdr.tv/

  16. graywolf336 commented on May 19, 2016

    @graywolf336
    Contributor

    As an update to this, we are starting to look into jitsi and have hopes to have it integrated if not in release 0.33 than in 0.34 but it will be in alpha and will need to be tested heavily. :)

  17. bt commented on May 19, 2016

    @bt
    Contributor

    Great news! 👍

    Will be happy and excited to test in the alpha 😁

  18. Sing-Li commented on Jun 9, 2016

    @Sing-Li
    Member

    TESTING NOW!

    THIS WEEK ONLY

    On https://demo.rocket.chat

    When you are in a Direct Message or Private Group. You will notice a new video button on the toolbar , just click it anytime to start a video conference with all those in the room

  19. modified the milestones: 0.34.0, on Jun 14, 2016
  20. engelgabriel commented on Jun 14, 2016

    @engelgabriel
    Member

    Initial implementation of the integration merged as beta. Let's open other issues for bug reports and feedback.

  21. andreas-bulling commented on Jun 17, 2016

    @andreas-bulling

    Is there some documentation on how to set it up/test?

  22. geekgonecrazy commented on Jun 25, 2016

    @geekgonecrazy
    Contributor

    @andreas-bulling currently in beta we will write some proper documentation once it exits beta.

    But you just simply goto administration and enable jitsi. You can setup your own jitsi meet server then if you want: https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md

  23. asshewale commented on Dec 8, 2017

    @asshewale

    Hiii @maxlinux2000 : I have integreted Jitsi in Rocket chat actually we are using our own server instead Rocket chat or Jitsi, My issue is when two users are chatting and one of them initiating a video call to other user (For this we are using Jitsi) the other user should get notify about the video call initiated by user one and he will be able to connect to him.

    I am not able to understand how should i accomplish this, i read your comments above, you have deep exposure in Rocketchat + Jitsi, will you please help me to resolve my issue. please .

  24. pipewrk commented on Feb 11, 2018

    @pipewrk

    Is this integrated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: Request

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions