{"id":26802405,"url":"https://github.com/red5pro/red5pro-common","last_synced_at":"2025-04-23T02:37:32.814Z","repository":{"id":23781459,"uuid":"99836702","full_name":"red5pro/red5pro-common","owner":"red5pro","description":"Common interfaces and adapters for use in Red5 Pro projects","archived":false,"fork":false,"pushed_at":"2025-04-01T14:44:39.000Z","size":778,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-01T15:41:48.858Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.red5pro.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/red5pro.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-09T17:45:09.000Z","updated_at":"2022-09-02T19:16:14.000Z","dependencies_parsed_at":"2023-11-07T03:59:44.964Z","dependency_job_id":"d52cfa58-375e-46ec-a6f5-44ef0fb6aea9","html_url":"https://github.com/red5pro/red5pro-common","commit_stats":null,"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red5pro%2Fred5pro-common","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red5pro%2Fred5pro-common/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red5pro%2Fred5pro-common/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red5pro%2Fred5pro-common/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/red5pro","download_url":"https://codeload.github.com/red5pro/red5pro-common/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250359359,"owners_count":21417651,"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":"2025-03-29T21:17:58.780Z","updated_at":"2025-04-23T02:37:32.795Z","avatar_url":"https://github.com/red5pro.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# red5pro-common\n\n## Common / shared interfaces and adapters\n\nThe interfaces and adapters contained here-in are for use in Red5 Pro.\n\n### Networking\n\nClasses to support networking are as follows:\n\n* NetworkManager - provides a public and local / private IP address for the instance\n* PortManager - maintains a given port range and supplies available ports to callers\n\nThe NetworkManager uses topology modes to determine the logic to utilize when locating IP addresses. Topology modes currently consist of\n* DEFAULT - uses the checkip service from Amazon for the public IP and Google dns for the local IP \n* PROPERTIES - uses environment property of `PUBLIC_IP` first, system property of `public.ip`, and the `network.properties` file the public IP. For local IP the environment property is `LOCAL_IP`, system property is `local.ip`, and the same goes for the file.\n* AWS - uses the instance local calls for meta-data\n\n### Maven\n\nIncluding in your maven pom is as easy as adding this xml to your dependencies\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.red5pro\u003c/groupId\u003e\n    \u003cartifactId\u003ered5pro-common\u003c/artifactId\u003e\n    \u003cversion\u003e11.0.0\u003c/version\u003e\n    \u003cscope\u003eprovided\u003c/scope\u003e\n\u003c/dependency\u003e\n```\n\n#### Anonymous Access\n\nFor *public* access to the artifacts, you'll need to modify your Maven `.m2/settings.xml` or use the example below:\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003csettings xsi:schemaLocation=\"http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd\" xmlns=\"http://maven.apache.org/SETTINGS/1.1.0\"\n    xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\u003e\n  \u003cprofiles\u003e\n    \u003cprofile\u003e\n      \u003crepositories\u003e\n        \u003crepository\u003e\n          \u003csnapshots\u003e\n            \u003cenabled\u003efalse\u003c/enabled\u003e\n          \u003c/snapshots\u003e\n          \u003cid\u003ecentral\u003c/id\u003e\n          \u003cname\u003elibs-release\u003c/name\u003e\n          \u003curl\u003ehttps://red5pro.jfrog.io/red5pro/libs-release\u003c/url\u003e\n        \u003c/repository\u003e\n        \u003crepository\u003e\n          \u003csnapshots /\u003e\n          \u003cid\u003esnapshots\u003c/id\u003e\n          \u003cname\u003elibs-snapshot\u003c/name\u003e\n          \u003curl\u003ehttps://red5pro.jfrog.io/red5pro/libs-snapshot\u003c/url\u003e\n        \u003c/repository\u003e\n      \u003c/repositories\u003e\n      \u003cpluginRepositories\u003e\n        \u003cpluginRepository\u003e\n          \u003csnapshots\u003e\n            \u003cenabled\u003efalse\u003c/enabled\u003e\n          \u003c/snapshots\u003e\n          \u003cid\u003ecentral\u003c/id\u003e\n          \u003cname\u003eplugins-release\u003c/name\u003e\n          \u003curl\u003ehttps://red5pro.jfrog.io/red5pro/plugins-release\u003c/url\u003e\n        \u003c/pluginRepository\u003e\n        \u003cpluginRepository\u003e\n          \u003csnapshots /\u003e\n          \u003cid\u003esnapshots\u003c/id\u003e\n          \u003cname\u003eplugins-release\u003c/name\u003e\n          \u003curl\u003ehttps://red5pro.jfrog.io/red5pro/plugins-release\u003c/url\u003e\n        \u003c/pluginRepository\u003e\n      \u003c/pluginRepositories\u003e\n      \u003cid\u003eartifactory\u003c/id\u003e\n    \u003c/profile\u003e\n  \u003c/profiles\u003e\n  \u003cactiveProfiles\u003e\n    \u003cactiveProfile\u003eartifactory\u003c/activeProfile\u003e\n  \u003c/activeProfiles\u003e\n\u003c/settings\u003e\n```\nThe `.m2` directory is located within your home directory, unless otherwise configured.\n\n[Directory Listing](https://red5pro.jfrog.io/ui/native/ext-release-local/com/red5pro/red5pro-common)\n\n#### Example Demo Application\n\nA simple example of using common in your projects is available [here](https://github.com/red5pro/red5pro-server-examples/tree/develop/common-demo).\n\n#### Deploy to Artifactory\n\n**For Internal Use Only**\n\n`mvn clean deploy`\n\nThis assumes you have your maven `settings.xml` properly configured of course.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fred5pro%2Fred5pro-common","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fred5pro%2Fred5pro-common","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fred5pro%2Fred5pro-common/lists"}