{"id":16540703,"url":"https://github.com/fcwu/crtmpserver","last_synced_at":"2025-06-25T21:34:28.824Z","repository":{"id":139401122,"uuid":"12376749","full_name":"fcwu/crtmpserver","owner":"fcwu","description":"crtmpserver 1.0 debianize","archived":false,"fork":false,"pushed_at":"2013-08-27T01:44:18.000Z","size":2012,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T08:51:48.336Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.rtmpd.com/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fcwu.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-26T10:39:03.000Z","updated_at":"2013-10-11T17:42:08.000Z","dependencies_parsed_at":"2023-03-13T10:48:59.224Z","dependency_job_id":null,"html_url":"https://github.com/fcwu/crtmpserver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcwu%2Fcrtmpserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcwu%2Fcrtmpserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcwu%2Fcrtmpserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcwu%2Fcrtmpserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fcwu","download_url":"https://codeload.github.com/fcwu/crtmpserver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241782937,"owners_count":20019486,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T18:53:07.355Z","updated_at":"2025-03-04T04:26:02.301Z","avatar_url":"https://github.com/fcwu.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Instructions how to compile and use C++ RTMP Server (a.k.a crtmpserver)\n\nRequirements:\n* GCC and other C++ tools\n* SVN\n* libdl, libssl, libcrypto\n(make sure you have the \"devel\" packages of libdl, ssl and crypto installed prior to compiling)\n\nIn order to get the source code, issue the following command:\n\nsvn co --username anonymous https://svn.rtmpd.com/crtmpserver/trunk crtmpserver\nWhen it asks for password, hit Enter key\n\nCompile the package. Do the following steps:\n\ncd crtmpserver/builders/cmake\ncmake .\n\n(this step will create all the Makefile's that are required. If some package is missing, the cmake will complain)\n\nmake\n\nThe compilation procedure should be finished within few minutes.\n\nAfter you compiled the package, it's time to test it. Run the following command:\n\n./crtmpserver/crtmpserver crtmpserver/crtmpserver.lua\n\nIf everything goes well, you'll get on your console a table with IP's, ports, protocols, and application names\nIf you see this table, then crtmpserver  is working.\n\nLets test it the server. Follow these simple steps:\n\n* Download a simple FLV or MP4 file. You can dowload a sample file from here: http://www.mediacollege.com/adobe/flash/video/tutorial/example-flv.html\n* Place the file you downloaded into the crtmpserver/media folder\n* Download an FLV player. For this example, we'll use JW Player. Get it here: http://www.longtailvideo.com/players/jw-flv-player\n* Extract the JW Player to a directory which is accessible through your web server\n* Go to the extracted directory and create an HTML file which will include the player and play the file. Here's an example:\n\n\u003chtml\u003e\n\u003cbody\u003e\n\u003cscript type='text/javascript' src='swfobject.js'\u003e\u003c/script\u003e\n\n\u003cdiv id='mediaspace'\u003eThis text will be replaced\u003c/div\u003e\n\n\u003cscript type='text/javascript'\u003e\n  var so = new SWFObject('player.swf','mpl','640','360','9');\n  so.addParam('allowfullscreen','true');\n  so.addParam('allowscriptaccess','always');\n  so.addParam('wmode','opaque');\n  so.addVariable('file','file-download');\n  so.addVariable('streamer','rtmp://127.0.0.1/flvplayback/');\n  so.write('mediaspace');\n\u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n\n* Change the 127.0.0.1 to either the IP of your crtmpserver or simply use a hostname of your machine\n* Replace file-download with the actual filename of your sample you download. Remeber to omit the .flv if it's an FLV file\n* Open a web browser and point it to to the web server IP/Hostname and the directory you installed the player\n(example: http://127.0.0.1/player)\n* You should see a player. Click the play button and the video should be played.\n\nIf you see the video, then everything works well.\n\nInstalling crtmpserver:\n\n* Go to the directory crtmpserver/cmake\n* Run the following command: cmake -DCRTMPSERVER_INSTALL_PREFIX=\u003cpath\u003e (for example /usr/local/crtmpserver)\n* After previous command done start build project with command: make\n* After build comlete run command: make install\n* After install you has installed crtmpserver in \u003cpath\u003e(in our case /usr/local/crtmpserver)\n* Now you can start crtmpserver with command: \n\tsudo \u003cpath\u003e/sbin/crtmpserver --uid=\u003cUID\u003e \u003cpath\u003e/etc/crtmpserver.lua\n  in our case:\n\tsudo /usr/local/crtmpserver/sbin/crtmpserver --uid=\u003cUID\u003e /usr/local/crtmpserver/etc/crtmpserver.lua\n\nAlso look into builders/packing directory. There are several OS specific builders.\n* in directory \"debian\" builder for Debian, also can be used for Ubuntu and other distributions based on debian\n* in directory \"freebsd\" builder(port) for FreeBSD\n\ncrtmpserver settings\n* All crtmpserver settings are located in a detailed file calle: crtmpserver.lua\n\nSupport/Help:\nIf you're lookingo for assistance with crtmpserver, feel free to join us at:\nhttp://groups.google.com/group/c-rtmp-server\n\nCredits:\n* crtmpserver written by: Gavriloaie Eugen-Andrei\n* Documentation (this file): Hetz Ben Hamo, Andriy Beregovenko\n* TinyXML: Lee Thomason\n* lua: Roberto Ierusalimschy, Waldemar Celes, Luiz Henrique de Figueiredo\n* Performance: Vlad Galu\n* Protocols: Mircea Danila Dumitrescu\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffcwu%2Fcrtmpserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffcwu%2Fcrtmpserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffcwu%2Fcrtmpserver/lists"}