Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- AWS
- node
- react
- Elastic Beanstalk
- TypeScript
- 감사일기
- Android
- 알려줌
- beanstalk
- nextjs
- https
- JavaScript
- node.js
- angular4
- 안드로이드
- fanzeel
- ios
- 페이스북
- 카카오톡
- S3
- cors
- Route53
- angular
- NeXT
- 웹뷰
- hybrid
- 네이티브
- 도메인
- php
- swift
Archives
- Today
- Total
목록Live (1)
쪼렙 as! 풀스택
Node.js - spawn - ffmpeg 이용하여, facebook, Instagram LIVE 에 영상 송출하기.
function start(streamUrl, streamKey, opt, SOURCE_URL) { if (!opt) { opt = '-ar 44100 -vcodec libx264 -b:v 3200k -f flv'; //ffmpeg 송출 option } const target = streamUrl + (streamUrl.charAt(streamUrl.length - 1) === '/' ? '' : '/') + streamKey; const argStr = `-re -i ${SOURCE_URL} ${opt} ${target}` const command = `ffmpeg ${argStr}` const args = argStr.split(' '); console.log(command) // spawn 을 시작..
개발 일지/Web & Server
2021. 1. 31. 14:32