1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

srs-librtmp: add make ssl/nossl support for sample

This commit is contained in:
winlin 2014-03-02 11:31:31 +08:00
parent b7a62ba131
commit f24f27deb9
8 changed files with 282 additions and 20 deletions

View file

@ -35,7 +35,7 @@ int main(int argc, char** argv)
printf("srs(simple-rtmp-server) client librtmp library.\n");
printf("version: %d.%d.%d\n", srs_version_major(), srs_version_minor(), srs_version_revision());
rtmp = srs_rtmp_create("rtmp://127.0.0.1/live/livestream");
rtmp = srs_rtmp_create("rtmp://127.0.0.1:1936/live/livestream");
if (srs_simple_handshake(rtmp) != 0) {
printf("simple handshake failed.\n");