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

add comments and variable for c3 extended-timestamp. to 0.9.82

This commit is contained in:
winlin 2014-04-29 18:16:29 +08:00
parent 80ddddf823
commit 0f498acd7b
4 changed files with 32 additions and 7 deletions

View file

@ -42,7 +42,11 @@ 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:1935/live/livestream");
if (argc > 1) {
rtmp = srs_rtmp_create(argv[1]);
} else {
rtmp = srs_rtmp_create("rtmp://127.0.0.1:1935/live/livestream");
}
if (srs_simple_handshake(rtmp) != 0) {
printf("simple handshake failed.\n");