blob: 1d5da2fda3dc1621dcbe0180feeb053977d1f640 [file] [log] [blame]
Jeremy Ronquillo11851d32020-06-08 15:13:08 -07001#!/bin/bash
Jeremy Ronquilloec2d3e42020-06-05 11:33:39 -07002
Jeremy Ronquillo11851d32020-06-08 15:13:08 -07003# Copyright 2019-present Open Networking Foundation
4#
Jeremy Ronquillo6046ce32020-06-18 11:06:29 -07005# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
Jeremy Ronquillo11851d32020-06-08 15:13:08 -07006
7QUALITY=$1
8
9while true; do
10 ffmpeg -re -i /opt/cdn/movies/$QUALITY.mp4 -c copy -f flv rtmp://{{ tuple "ant-media" . | include "cdn-remote.get_domain" }}:1935/LiveApp/$QUALITY;
Jeremy Ronquillo6046ce32020-06-18 11:06:29 -070011done