mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support compile srs-librtmp on windows. 2.0.26
This commit is contained in:
parent
5f48d4f566
commit
d6072b16c0
14 changed files with 468 additions and 33 deletions
|
@ -105,11 +105,13 @@ cat << END >$FILE
|
|||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
srs_rtmp_t rtmp;
|
||||
|
||||
printf("Example for srs-librtmp\n");
|
||||
printf("SRS(simple-rtmp-server) client librtmp library.\n");
|
||||
printf("version: %d.%d.%d\n", srs_version_major(), srs_version_minor(), srs_version_revision());
|
||||
|
||||
srs_rtmp_t rtmp = srs_rtmp_create("rtmp://ossrs.net/live/livestream");
|
||||
rtmp = srs_rtmp_create("rtmp://ossrs.net/live/livestream");
|
||||
srs_lib_trace("create rtmp success");
|
||||
srs_rtmp_destroy(rtmp);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue