README ¶ mpegts-to-webrtc demux mpegts to H264 and Opus then send to a WebRTC client using pion. offer from file, mpegts from stdin read base64 offer from file (needed -offerFile) read mpegts stream from stdin ffmpeg -i {{src}} -c:v copy -c:a libopus -ar 48000 -ac 2 -f mpegts -pes_payload_size 0 pipe:1 | mpegts-to-webrtc -offerFile {{offer-file-path}} offer from stdin, mpegts from ffmpeg read base64 offer from stdin launch ffmpeg as child process and read stdout (needed -ffmpeg) mpegts-to-webrtc -ffmpeg ffmpeg -i {{src}} -c:v copy -c:a libopus -ar 48000 -ac 2 -f mpegts -pes_payload_size 0 pipe:1 < {{offer-file-path}} Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.