http.mp3.live.conf 540 B

12345678910111213141516171819202122
  1. # the config for srs to remux rtmp to mp3 live stream.
  2. # @see https://github.com/ossrs/srs/wiki/v2_CN_DeliveryHttpStream
  3. # @see full.conf for detail config.
  4. listen 1935;
  5. max_connections 1000;
  6. daemon off;
  7. srs_log_tank console;
  8. http_server {
  9. enabled on;
  10. listen 8080;
  11. dir ./objs/nginx/html;
  12. }
  13. vhost __defaultVhost__ {
  14. http_remux {
  15. enabled on;
  16. fast_cache 30;
  17. mount [vhost]/[app]/[stream].mp3;
  18. hstrs on;
  19. }
  20. }