Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-01-02 09:20:45 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ca977ef739d5cd2a172860a15b1b0729995364cf
ca977ef7
1 parent
bb6dfe40
hotfix #216, http-callback post in application/json content-type. 1.0.17
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
3 行增加
和
2 行删除
README.md
trunk/src/app/srs_app_http_client.cpp
trunk/src/core/srs_core.hpp
README.md
查看文件 @
ca977ef
...
...
@@ -383,6 +383,7 @@ Supported operating systems and hardware:
*
2013-10-17, Created.
<br/>
## History
*
v1.0, 2015-01-02, hotfix
[
#216
](
https://github.com/winlinvip/simple-rtmp-server/issues/216
)
, http-callback post in application/json content-type. 1.0.17
*
v1.0, 2015-01-01, hotfix
[
#270
](
https://github.com/winlinvip/simple-rtmp-server/issues/270
)
, memory leak for http client post. 1.0.16
*
v1.0, 2014-12-29, hotfix
[
#267
](
https://github.com/winlinvip/simple-rtmp-server/issues/267
)
, the forward dest ep should use server. 1.0.15
*
v1.0, 2014-12-29, hotfix
[
#268
](
https://github.com/winlinvip/simple-rtmp-server/issues/268
)
, the hls pcr is negative when startup. 1.0.14
...
...
trunk/src/app/srs_app_http_client.cpp
查看文件 @
ca977ef
...
...
@@ -81,7 +81,7 @@ int SrsHttpClient::post(SrsHttpUri* uri, string req, string& res)
<<
"Connection: Keep-Alive"
<<
__SRS_CRLF
<<
"Content-Length: "
<<
std
::
dec
<<
req
.
length
()
<<
__SRS_CRLF
<<
"User-Agent: "
<<
RTMP_SIG_SRS_NAME
<<
RTMP_SIG_SRS_VERSION
<<
__SRS_CRLF
<<
"Content-Type:
text/html
"
<<
__SRS_CRLF
<<
"Content-Type:
application/json
"
<<
__SRS_CRLF
<<
__SRS_CRLF
<<
req
;
...
...
trunk/src/core/srs_core.hpp
查看文件 @
ca977ef
...
...
@@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// current release version
#define VERSION_MAJOR 1
#define VERSION_MINOR 0
#define VERSION_REVISION 1
6
#define VERSION_REVISION 1
7
// server info.
#define RTMP_SIG_SRS_KEY "SRS"
#define RTMP_SIG_SRS_ROLE "origin/edge server"
...
...
请
注册
或
登录
后发表评论