Nginx add RTMP module #4

Open
opened 2 years ago by rbsetiawan · 0 comments
Owner

Adding nginx modules to Linux tidak memungkinkan, untuk issue ini di perlukan rebuild nginx dengan module yang sudah di tentukan !! 👎

  • download module
git clone https://github.com/sergey-dryabzhinsky/nginx-rtmp-module.git

Untuk melakukan kompilasi, kita membutuhkan kompiler bahasa C/C++ dan perlengkapan tambahannya. Di keluarga Debian sudah disediakan paketnya, bernama build-essentials. Kita install bersama beberapa library tambahan

sudo yum install pcre pcre-devel openssl openssl-devel zlib zlib-devel -y

https://github.com/arut/nginx-rtmp-module

  • github : install-and-conf-nginx-with-rtmp-on-Centos-7-64
  • muhardin : Live Streaming dengan Nginx RTMP Module

Add Nginx RTMP Module on UBUNTU 20.04 (dynamic module) 💯 👍

  • digitalocean : How To Set Up a Video Streaming Server using Nginx-RTMP on Ubuntu 20.04
    Install nginx on ubuntu 20.04 #6
sudo apt update
sudo apt install libnginx-mod-rtmp
sudo ufw allow 1935/tcp
sudo systemctl reload nginx.service
sudo nano /etc/nginx/nginx.conf
rtmp {
	server {
		listen 1935;
		chunk_size 4096;
		#allow publish 127.0.0.1;
		#deny publish all;

		application live {
				live on;
				record off;
		}
	}
}

# -------# end of rtmp 

http {
    server {
        listen      8080;
		...
    }
}

## Adding nginx modules to Linux tidak memungkinkan, untuk issue ini di perlukan rebuild nginx dengan module yang sudah di tentukan !! 👎 - download module ``` git clone https://github.com/sergey-dryabzhinsky/nginx-rtmp-module.git ``` Untuk melakukan kompilasi, kita membutuhkan kompiler bahasa C/C++ dan perlengkapan tambahannya. Di keluarga Debian sudah disediakan paketnya, bernama build-essentials. Kita install bersama beberapa library tambahan ``` sudo yum install pcre pcre-devel openssl openssl-devel zlib zlib-devel -y ``` https://github.com/arut/nginx-rtmp-module - [github](https://github.com/thonatos/notes/blob/master/backend-notes/install-and-conf-nginx-with-rtmp-on-Centos-7-64.md) : install-and-conf-nginx-with-rtmp-on-Centos-7-64 - [muhardin](https://software.endy.muhardin.com/aplikasi/live-stream-nginx-rtmp/) : Live Streaming dengan Nginx RTMP Module ## Add Nginx RTMP Module on UBUNTU 20.04 (dynamic module) 💯 👍 - [digitalocean](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-video-streaming-server-using-nginx-rtmp-on-ubuntu-22-04#step-4-adding-monitoring-to-your-configuration-optional) : How To Set Up a Video Streaming Server using Nginx-RTMP on Ubuntu 20.04 Install nginx on ubuntu 20.04 #6 ``` sudo apt update sudo apt install libnginx-mod-rtmp ``` ``` sudo ufw allow 1935/tcp sudo systemctl reload nginx.service ``` ``` sudo nano /etc/nginx/nginx.conf ``` ``` rtmp { server { listen 1935; chunk_size 4096; #allow publish 127.0.0.1; #deny publish all; application live { live on; record off; } } } # -------# end of rtmp http { server { listen 8080; ... } } ```
rbsetiawan added the
Nginx
label 2 years ago
rbsetiawan changed title from Nginx RTMP to Nginx add RTMP module 2 years ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.