diff --git a/.travis.yml b/.travis.yml index ffcdeddec1d..fe7d1ec6594 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ script: deploy: provider: releases api_key: - secure: LyeRmOzOq3nleE612AvOR+pA7ygb9/zshJcdO3J87JlT+WzwIz1FHCqYCR8kvNhWZSJiQugPvznBqrcWDL3tFb3Cv9yYQU5JIgJSmsW5bBMJMSGlQuWRLjIVlEh3uACyKorrsaWfMLNckkIMoPN/7A76OcSPpekeGacZJVtv6DEMYmWG6J9ljLX9RH1S4al3aUsKAQam/EUPRq0POo+in2Oj5yI6Rb1zjcSWRjKgvVMz7VkKMpCLsAsr1jwvDrZjGndZphm6MQKCtgCjh8XGYD6Q056uMMHH7hVcz0oX3IVeQokWl0IqQkzLduBXAtw83lLFxe/OBrZNGh7P7YhstBRZuLXx9Dafoilw7DapB/ZaRw/Pbuw7KWLTGu/kEeckDk7mCSzd1WHTeqbVesdxPWfDO2SZSL90s1SXIbsN3B02tcpCKzwJIGOGbBYsI9Xj23VkeANMP7adcLteTuOlehhj7hXz7oDRIOVZFNnBsneTVWTvbWhd3EizE8eKZPxIx0TIO0dIKmcuLUMLB08TjjdWWDgv4nKHPYn/sHiGFJWFteLQdFwy/s8YL1696pOnZJuXt3cbuNgJ8QqVJrj4wW4GC15/WHkSPbk6+9WnJUyiKF1ml4rke3yMvSiYLqS1h0Gts7y0Pv+tkoJMa89UwRJKbqIGuKqFWe/sDKZ4vFw= + secure: RmEv6bgtRwQr7JDFHFNDbv2nKve8Y+299/S9Ez39ZobX4F8870Szl329OjnL2B82wYWQg3GzPZ6pkcsm6OUV1Xms+Bo0a+QIOTddmNmzOyd70+IG7BtFjDa4HQ7rrxOt/kr5NAOP0R9h5oVq1+mlMOMEeB6BBo4SNG4V3YIkuXxVUTOtiJdyJDlqIvjgei7PWIierazTmdDmEkvdeXWKfbMXFKWu8v+vNVXYXsq4rX4f4eyivNYQuOnCKKjr3XB4QAigRijbLubxpc+GAlEQrxSzQkHR95lLE/w6xUkeYM0qL0OF1W3+nWYk7C3gGYVHXIaSse+7+UqhGtroZmxtaiP5duvOhW8ikamvEcLkiYEfvnmTJDUldGR27xQZ7wJRvtWhl4TMqSCHBgTWvPtf7l55rLTZmibsrE0AttJZF1UkPoVQ+j/wvUP8azqaNiwDrDU6F7NHXn8jhoLfnELtPe9Ed6o0JHr+Asuv1sooOOU+af3Y8cYlFTH3+NResrGdSUQ0n9OkRIv1pHN2T/FTLL74HWS0tlahhA6FAIqxfbffypSrMP4NhcwC7YI0dystLxJd1BmOxFBn9ov+vfqNi7yhyG+bwEcFPfi6h0bd5xa3ni0erdKI1ner8GaQSThWkgGD91X+0Rg5VDN9OKg3lcpO7Xz+GbJUpMMuXWpuWcI= skip_cleanup: true file_glob: true file: release/* diff --git a/Makefile b/Makefile index ccc3c5a59c3..cf124bbf0cb 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,8 @@ help: @echo " format format source files" @echo " test run available tests" @echo " run run app" + @echo " release build release assets" + @echo " travis-setup setup travis CI" @echo "" mod-tidy: @@ -99,3 +101,13 @@ release-nodocker: CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $(GOBUILD) -o /tmp/rtsp-simple-server tar -C /tmp -czf $(PWD)/release/rtsp-simple-server_$(VERSION)_linux_arm64.tar.gz --owner=0 --group=0 rtsp-simple-server + +travis-setup: + echo "FROM ruby:alpine \n\ + RUN apk add --no-cache build-base git \n\ + RUN gem install travis" | docker build - -t temp \ + && docker run --rm -it \ + -v $(PWD):/s \ + temp \ + sh -c "cd /s \ + && travis setup releases --force" diff --git a/README.md b/README.md index 3bed7d6066c..14d51f0df0a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Go Report Card](https://goreportcard.com/badge/github.com/aler9/rtsp-simple-server)](https://goreportcard.com/report/github.com/aler9/rtsp-simple-server) [![Build Status](https://travis-ci.org/aler9/rtsp-simple-server.svg?branch=master)](https://travis-ci.org/aler9/rtsp-simple-server) -_rtsp-simple-server_ is a simple, ready-to-use and zero-dependency RTSP video server, a program that allows multiple users to publish or read live video and audio streams. RTSP a standardized protocol that defines how to perform these operations with the help of a server, that is contacted by both publishers and readers in order to negotiate a streaming protocol and write or read data. The server is then responsible of linking the publisher stream with the readers. +_rtsp-simple-server_ is a simple, ready-to-use and zero-dependency RTSP server, a program that allows multiple users to publish or read live video and audio streams. RTSP a standardized protocol that defines how to perform these operations with the help of a server, that is contacted by both publishers and readers in order to negotiate a streaming protocol and write or read data. The server is then responsible of linking the publisher stream with the readers. This software was developed with the aim of simulating a live camera feed for debugging purposes, and therefore to use files instead of real streams. Another reason for the development was the deprecation of _FFserver_, the component of the FFmpeg project that allowed to create a RTSP server with _FFmpeg_ (but this server can be used with any software that supports RTSP).