Reading list Switch to dark mode

    Guide for Magento 2 Live Stream

    Updated 9 April 2024

    Magento 2 Live Stream allows the admin to integrate a live stream system into their Magento 2 store.

    With the help of this module, the admin can invite multiple influencers and allow them to go livestream for any product promotion.

    Simultaneously, the admin can add multiple streams along with date and time, and the same customer can check influencers’ profiles and the old and upcoming streams.

    Additionally, you can use Magento 2 audio player to add audio content for the product.

    Also, if you want to apply multiple promotional rules for your store then you can check our Magento 2 special promotion.

    Features

    • Provides live stream from the influencers to joined customers.
    • The influencer can see their pending and completed streams.
    • Customers can check the pending and upcoming streams on the live-stream screen
    • Influencers can download the stream.
    • Viewers can send the message to the influencer while live streaming is going on and vice-versa
    • The admin and influencer can edit or delete the streams
    • The influencer can show his products while streaming in the slider.

    Installation

    The installation is quite simple just like the standard Magento 2 extensions.

    Start your headless eCommerce
    now.
    Find out More

    #1 Download Module

    Firstly, you need to log in to the Webkul Store, go to My Account>My Purchased Products section, verify, and then download and extract the contents of this zip folder on the system.

    #2 Upload Folder

    Once the module zip is extracted, follow path src>app and then transfer the app folder into the Adobe Commerce Cloud root directory on the server as shown below:

    screenshot_from_2024_01_18_15_14_20-1-1-1

    #3 Run Commands

    After uploading the module folder, you need to run the following commands in the Magento 2 root directory:

    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy

    Install Node v16.20.2 and NPM v8.19.4

    After running the above command the admin make sure to run the below commands on terminal.

    npm init

    Press enter key and at last write yes and press the enter key to create package.json file.

    npm install [email protected]
    npm install fs
    npm install [email protected]
    npm install @mapbox/[email protected]
    npm install socket.io
    npm install [email protected]
    npm install cors
    Composer require php-ffmpeg/php-ffmpeg

    Set Max Upload limit in php ini file to minimum 20 MB.

    Install FFMPEG Library in server also with below commands.

    sudo add-apt-repository ppa:mc3man/trusty-media
    sudo apt-get update
    sudo apt-get install ffmpeg
    sudo apt-get install frei0r-plugins

    After everything is done run below command on terminal.

    node server.js > /dev/null &

    Make sure pub/media folder has proper permissions.

    Then need to run the below command for reindex and flush.

    php bin/magento indexer:reindex
    php bin/magento cache:flush

    Multi-Lingual Configuration

    Therefore, for Multilingual support, please navigate to Store>Configuration>General >Locale Options.  Also, select your desired language from the Locale option.

    Configuration-Settings-Stores-Magento-Admin-1536x730-1-1

    Thus, in this way, a multi-lingual configuration can be done.

    Language Translation

    For Magento 2 Live Stream translation, navigate to the following path in your system src/app/code/Webkul/LiveStream/i18n.
    Open the file named en_US.CSV for editing as shown in the below screenshot.

     Magento 2 Live Stream

    Now, upload it to the path src/app/code/Webkul/LiveStream/i18n where the installation of Magento 2 is on the server. The module gets translated into the desired language.

    The user can edit the CSV like the image below.

    screenshot_from_2024_02_28_15_24_25

    After editing and translating the CSV file, you need to save the translated file name according to your region language and country code such as – de_DE.CSV.

    Followed by uploading the translated file to the same folder from where you have obtained it. Now your module translation is complete.

    screenshot_from_2024_01_09_17_28_02__1_-1

    Thus, in this way, language translation can be done.

    How to Get Server Credentials?

    For generate turn and stun server credentials please check this blog.

    Configuration

    For Magento 2 Live Stream configuration the admin needs navigate “Store>Configuration>LiveStream Configuration”.

    Node Server Settings

    • Host Name: Here the admin needs to enter their hostname server.
    • Port Number: By default port number will be “3000”.
    • Upload Server Private Key File: Here the admin needs to provide a file from your host provider.
    • Upload Server Certificate File: The admin can get this file from their host provider.
    • Upload Server CA Bundle File: The admin can get this ‘server. ca-bundle’ file from your host provider.
     Magento 2 Live Stream

    Stun Server

    • URL: Here the admin needs to enter the URL of the Stun server.
    • Active: Here the admin can activate or disable the Stun Server.

    Turn Server

    • URL: The admin needs to enter the URL for the turn server.
    • Username:  Enter the username for the turn server.
    • Password: The admin needs to provide a password for the turn server.
    • Active: Here the admin can activate or disable the turn server.
    Configuration-Settings-Stores-Magento-Admin-1-2

    Stream Clip Duration

    • Duration: In this section, the admin must specify the duration of each stream clip to segment the live video into smaller portions. This segmentation facilitates faster downloading for influencers accessing the video content.

    Email Templates

    • Influencer Invite Template: Here the admin can choose their custom influencer invite email template.
    Configuration-Settings-Stores-Magento-Admin-2-3

    Manage Influencers

    Here the admin can manage their influencer’s profiles such as inviting and deleting by navigating “LiveStream>Influencers”.

    Influencers-LiveStream-Magento-Admin

    Invite Influencers

    Here the admin can invite influencers for product promotion live stream by simply clicking “Invite Influencers” filling in the details and then clicking on “Invite”.

    Invite-Influencer-Magento-Admin

    Influencers Invite Email

    The influencers will get invite emails as per the below screenshots and from this email, the influencers will get their login URL and credentials.

     Magento 2 Live Stream

    Manage Stream

    Here the admin can manage the stream such as add, edit, and delete the streams. For adding a new stream the admin needs to click “Add Stream”.

    Streams-LiveStream-Magento-Admin

    Add Stream

    By clicking on “Add Stream” the admin needs to fill in the below details to add a new stream:

    • Title: Here the admin can define their stream title.
    • Description: In this section, the admin can define stream description.
    • Scheduled Date: Here the admin can schedule the date and time for the live stream.
    •  Influencer: From this dropdown, the admin can assign this stream to the influencer.
    •  Thumbnail: Here the admin can upload a stream thumbnail.
    •  Products: From this dropdown, the admin can select a product which they want to promote through live stream.
    Stream-Magento-Admin

    Influencer Profile

    Once the admin sends an invitation to the influencer, they will receive login credentials. Upon logging into their account, influencers can review and manage their profiles, as well as access pending and completed streams.

    My-Account

    Influencer Pending Streams

    Here the influencers can check their pending streams and manage like edit and view by navigating “My Account>Pending Streams”.

    My-Account-1-1

    View and Go Live

    After checking pending streams, the influencers can click on “View” for going live and then click on “Go Live”.

    Similarly, the influencers can send messages to their customer and vice versa. If they wish to stop broadcasting then they need to click on “Stop Broadcast”.

     Magento 2 Live Stream

    Download Broadcast

    After the stop broadcast, the influencers can download the same broadcast by clicking “Download”.

     Magento 2 Live Stream

    Completed Streams

    Here the influencers can check their completed streams by navigating “My Account>Completed Streams”.

     Magento 2 Live Stream

    Customers End

    From here the customer can check upcoming streams and previous streams in the right top corner and click “Live Streams”.

     Magento 2 Live Stream

    Check Influencer Profile

    Customer can check influencers’ profile and their social media account by clicking “Influencers Name”.

    testing-magento-vachak-com-livestream-influencer-profile-id-29-1-1

    Support

    So, that is all about the Magento 2 Live Stream extension. If you have any queries regarding the plugin, please contact us at Webkul Support System.

    Current Product Version - 4.0.1

    Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    Table of Content