编译完成后的SRS目录结构简介

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

SRS目录结构:

/usr/local/srs

├── conf  #这个目录下都是各种作者写好的配置文件,适应与各种场景。

│   ├── bandwidth.conf

│   ├── console.conf

│   ├── demo.19350.conf

│   ├── demo.conf

│   ├── dvr.path.conf

│   ├── dvr.segment.conf

│   ├── dvr.session.conf

│   ├── edge.conf

│   ├── edge.token.traverse.conf

│   ├── ffmpeg.transcode.conf

│   ├── forward.master.conf

│   ├── forward.slave.conf

│   ├── full.conf

│   ├── hds.conf

│   ├── hls.conf

│   ├── http.aac.live.conf

│   ├── http.flv.live.conf

│   ├── http.heartbeat.conf

│   ├── http.hls.conf

│   ├── http.hooks.callback.conf

│   ├── http.mp3.live.conf

│   ├── http.server.conf

│   ├── http.ts.live.conf

│   ├── ingest.conf

│   ├── mac.dev.conf

│   ├── origin.conf

│   ├── push.mpegts.over.udp.conf

│   ├── push.rtsp.conf

│   ├── ram.hls.conf

│   ├── realtime.conf

│   ├── rtmp.conf

│   ├── security.deny.publish.conf

│   ├── srs.conf

│   ├── transcode2hls.audio.only.conf

│   └── transform.edge.conf

├── etc  #init脚本,放到/etc/init.d目录下,chkconfig --add srs添加到系统服务中(CentOS5,6)

│   └── init.d

│       ├── srs   #SRS的

│       └── srs-api #SRS-api的

├── objs   #应用程序目录

│   ├── ffmpeg

│   │   └── bin

│   │       └── ffmpeg   #ffmpeg 没有的话,看看编译参数。

│   ├── nginx   #html目录,例如HLS流,生成的切片和索引文件会放到这里,当然也可以在配置文件中指定

│   │   └── html

│   │       └── crossdomain.xml

│   ├── srs  #SRS二进制程序

│   ├── srs.log  #SRS日志

│   └── srs.pid  #SRS PID

└── research  #内置的演示页面,类似于:http://www.ossrs.net/srs.release/trunk/research/players/srs_player.html

    └── api-server

        ├── server.py

        └── static-dir

            ├── crossdomain.xml

            ├── index.html

            └── players

                ├── api-server_index.html

                ├── crossdomain.xml

                ├── css

                │   └── bootstrap.min.css

                ├── img

                │   └── tooltip.png

                ├── index.html

                ├── js

                │   ├── AdobeFlashPlayerInstall.swf

                │   ├── bootstrap.min.js

                │   ├── jquery-1.10.2.min.js

                │   ├── jquery-1.10.2.min.map

                │   ├── json2.js

                │   ├── jwplayer.flash.swf

                │   ├── jwplayer.html5.js

                │   ├── jwplayer.js

                │   ├── srs.log.js

                │   ├── srs.page.js

                │   ├── srs.player.js

                │   ├── srs.publisher.js

                │   ├── srs.utility.js

                │   ├── StrobeMediaPlayback.swf

                │   └── swfobject.js

                ├── jwplayer6.html

                ├── nginx_index.html

                ├── osmf.html

                ├── srs_bwt

                │   ├── release

                │   │   └── srs_bwt.swf

                │   └── src

                │       ├── SrsBandwidth.as

                │       ├── srs.bandwidth.js

                │       └── srs_bwt.as

                ├── srs_bwt.html

                ├── srs_chat.html

                ├── srs-http-server_index.html

                ├── srs_player

                │   ├── release

                │   │   └── srs_player.swf

                │   └── src

                │       └── srs_player.as

                ├── srs_player.html

                ├── srs_publisher

                │   ├── release

                │   │   └── srs_publisher.swf

                │   └── src

                │       └── srs_publisher.as

                ├── srs_publisher.html

                ├── srs_reuse_conn

                │   ├── FlashCS5UI.swc

                │   ├── release

                │   │   └── srs_reuse_conn.swf

                │   └── src

                │       └── srs_reuse_conn.as

                └── vlc.html


转载于:https://my.oschina.net/fengjihu/blog/413754

你可能感兴趣的:(编译完成后的SRS目录结构简介)