ossrs / srs-bench

SB(SRS Bench) is a set of benchmark and regression test tools, for SRS and other media servers, supports HTTP-FLV, RTMP, HLS, WebRTC and GB28181.
https://ossrs.net
MIT License
388 stars 222 forks source link

fail to use c++ std:string:replace() function #1

Closed chobits closed 8 years ago

chobits commented 8 years ago

https://github.com/ossrs/srs-bench/blob/master/src/main/htl_main_rtmp_publish.cpp#L160 The second parameter of std:string:replace() should be length of replaced string.