@devozdemirhasancan/rtmp-srt-server v1.0.4
RTMP to SRT Stream Server
Simple and lightweight server application that converts RTMP stream from GoPro to SRT protocol.
GoPro kameradan gelen RTMP yayınını SRT protokolüne dönüştüren basit ve hafif bir sunucu uygulaması.
Features / Özellikler
- RTMP server for GoPro streaming / GoPro yayını için RTMP sunucusu
- Automatic SRT conversion for OBS / OBS için otomatik SRT dönüştürme
- Windows and macOS support / Windows ve macOS desteği
- Low latency / Düşük gecikme süresi
- Easy to use / Kolay kullanım
Use Cases / Kullanım Senaryoları
Low Latency Streaming from GoPro to OBS / GoPro'dan OBS'ye Düşük Gecikmeli Yayın:
- Receives RTMP stream from GoPro / GoPro'dan RTMP yayını alınır
- Converts to SRT protocol / SRT protokolüne dönüştürülür
- Use as Media Source in OBS / OBS'de Media Source olarak kullanılır
Local Network Streaming / Yerel Ağda Yayın:
- GoPro and OBS must be on same network / GoPro ve OBS aynı ağda olmalı
- No port forwarding required / Port yönlendirme gerekmez
- Stream with low latency / Düşük gecikme ile yayın yapılır
Requirements / Gereksinimler
FFmpeg (Must be installed on your system / Sisteminizde yüklü olmalıdır)
# For Windows / Windows için: # Download FFmpeg from / FFmpeg'i buradan indirin: https://ffmpeg.org/download.html # Copy ffmpeg.exe to this folder / İndirdiğiniz ffmpeg.exe dosyasını bu klasöre kopyalayın # For macOS / macOS için: brew install ffmpeg
Installation / Kurulum
Using Pre-built Binaries / Hazır Executable Kullanımı:
Download the latest release from GitHub / GitHub'dan son sürümü indirin:
- Windows: Download
rtmp-srt-server-win.exe
- macOS: Download
rtmp-srt-server-macos
- Windows: Download
Start the application / Uygulamayı başlatın:
# For Windows / Windows için: ./rtmp-srt-server-win.exe # For macOS / macOS için: ./rtmp-srt-server-macos
Using NPM Package / NPM Paketi Kullanımı:
Install globally / Global olarak yükleyin:
npm install -g @devozdemirhasancan/rtmp-srt-server
Run the server / Sunucuyu çalıştırın:
rtmp-srt-server
From Source / Kaynak Koddan:
Clone and install / Klonlayın ve yükleyin:
git clone https://github.com/devozdemirhasancan/rtmp-srt-server.git cd rtmp-srt-server npm install
Run / Çalıştırın:
npm start
Configuration / Yapılandırma
GoPro Settings / GoPro Ayarları:
- RTMP URL:
rtmp://localhost:7002/live
- Stream Key:
test
- RTMP URL:
OBS Media Source Settings / OBS Media Source Ayarları:
- SRT URL:
srt://127.0.0.1:7005
- Format: mpegts
- SRT URL:
Notes / Notlar
- Press Ctrl+C to stop the application / Uygulamayı durdurmak için Ctrl+C tuşlarına basın
- Works in SRT Listener mode on Windows, Caller mode on macOS / Windows'ta SRT Listener modunda, macOS'ta Caller modunda çalışır
- Logs will be displayed in case of errors / Hata durumunda loglar ekranda görüntülenecektir
Development / Geliştirme
Install Node.js dependencies / Node.js bağımlılıklarını yükleyin:
npm install
Run in development mode / Geliştirici modunda çalıştırın:
npm start
Build executables / Executable oluşturun:
npm run build
Release Process / Yayınlama Süreci
Update version / Versiyon güncelleyin:
npm version patch|minor|major
Push with tags / Tag'lerle push yapın:
git push --follow-tags
GitHub Actions will automatically:
- Create a new GitHub release
- Upload Windows and macOS executables
- Publish to NPM registry
GitHub Actions otomatik olarak:
- Yeni bir GitHub release oluşturur
- Windows ve macOS executable'larını yükler
- NPM registry'ye yayınlar
License / Lisans
MIT License - See LICENSE file for details / Detaylar için LICENSE dosyasına bakın.
Contact / İletişim
Hasan Can Özdemir
- GitHub: @devozdemirhasancan
- Email/E-posta: devozdemirhasancan@gmail.com
10 months ago