mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
hotfix #290, use iformat only for rtmp input. 2.0.95
This commit is contained in:
commit
cc22ca4890
3 changed files with 10 additions and 1 deletions
|
@ -510,6 +510,7 @@ Supported operating systems and hardware:
|
||||||
|
|
||||||
## History
|
## History
|
||||||
|
|
||||||
|
* v2.0, 2015-01-17, hotfix [#290](https://github.com/winlinvip/simple-rtmp-server/issues/290), use iformat only for rtmp input. 2.0.95
|
||||||
* v2.0, 2015-01-08, hotfix [#281](https://github.com/winlinvip/simple-rtmp-server/issues/281), fix hls bug ignore type-9 send aud. 2.0.93
|
* v2.0, 2015-01-08, hotfix [#281](https://github.com/winlinvip/simple-rtmp-server/issues/281), fix hls bug ignore type-9 send aud. 2.0.93
|
||||||
* v2.0, 2015-01-03, fix [#274](https://github.com/winlinvip/simple-rtmp-server/issues/274), http-callback support on_dvr when reap a dvr file. 2.0.89
|
* v2.0, 2015-01-03, fix [#274](https://github.com/winlinvip/simple-rtmp-server/issues/274), http-callback support on_dvr when reap a dvr file. 2.0.89
|
||||||
* v2.0, 2015-01-03, hotfix to remove the pageUrl for http callback. 2.0.88
|
* v2.0, 2015-01-03, hotfix to remove the pageUrl for http callback. 2.0.88
|
||||||
|
@ -564,6 +565,7 @@ Supported operating systems and hardware:
|
||||||
* v2.0, 2014-10-18, remove supports for OSX(darwin). 2.0.1.
|
* v2.0, 2014-10-18, remove supports for OSX(darwin). 2.0.1.
|
||||||
* v2.0, 2014-10-16, revert github srs README to English. 2.0.0.
|
* v2.0, 2014-10-16, revert github srs README to English. 2.0.0.
|
||||||
|
|
||||||
|
* v1.0, 2015-01-17, hotfix [#290](https://github.com/winlinvip/simple-rtmp-server/issues/290), use iformat only for rtmp input. 1.0.22
|
||||||
* <strong>v1.0, 2015-01-15, [1.0r1 release(1.0.21)](https://github.com/winlinvip/simple-rtmp-server/releases/tag/1.0r1) released. 59472 lines.</strong>
|
* <strong>v1.0, 2015-01-15, [1.0r1 release(1.0.21)](https://github.com/winlinvip/simple-rtmp-server/releases/tag/1.0r1) released. 59472 lines.</strong>
|
||||||
* v1.0, 2015-01-08, hotfix [#281](https://github.com/winlinvip/simple-rtmp-server/issues/281), fix hls bug ignore type-9 send aud. 1.0.20
|
* v1.0, 2015-01-08, hotfix [#281](https://github.com/winlinvip/simple-rtmp-server/issues/281), fix hls bug ignore type-9 send aud. 1.0.20
|
||||||
* v1.0, 2015-01-03, hotfix to remove the pageUrl for http callback. 1.0.19
|
* v1.0, 2015-01-03, hotfix to remove the pageUrl for http callback. 1.0.19
|
||||||
|
|
|
@ -209,6 +209,13 @@ int SrsFFMPEG::initialize_transcode(SrsConfDirective* engine)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// for not rtmp input, donot append the iformat,
|
||||||
|
// for example, "-f flv" before "-i udp://192.168.1.252:2222"
|
||||||
|
// @see https://github.com/winlinvip/simple-rtmp-server/issues/290
|
||||||
|
if (input.find("rtmp://") != 0) {
|
||||||
|
iformat = "";
|
||||||
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// current release version
|
// current release version
|
||||||
#define VERSION_MAJOR 2
|
#define VERSION_MAJOR 2
|
||||||
#define VERSION_MINOR 0
|
#define VERSION_MINOR 0
|
||||||
#define VERSION_REVISION 94
|
#define VERSION_REVISION 95
|
||||||
|
|
||||||
// server info.
|
// server info.
|
||||||
#define RTMP_SIG_SRS_KEY "SRS"
|
#define RTMP_SIG_SRS_KEY "SRS"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue