winlin

fix bug #38, remove app slash of jwplayer, change to 0.9.46

... ... @@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// current release version
#define VERSION_MAJOR "0"
#define VERSION_MINOR "9"
#define VERSION_REVISION "45"
#define VERSION_REVISION "46"
#define RTMP_SIG_SRS_VERSION VERSION_MAJOR"."VERSION_MINOR"."VERSION_REVISION
// server info.
#define RTMP_SIG_SRS_KEY "srs"
... ...
... ... @@ -131,7 +131,11 @@ int SrsRequest::discovery_app()
// remove the unsupported chars in names.
vhost = srs_string_remove(vhost, "/ \n\r\t");
app = srs_string_remove(app, " \n\r\t");
stream = srs_string_remove(stream, "/ \n\r\t");
stream = srs_string_remove(stream, " \n\r\t");
// remove end slash of app
app = srs_string_trim_end(app, "/");
stream = srs_string_trim_end(stream, "/");
return ret;
}
... ...