{"id":15653087,"url":"https://github.com/0x5e/dlnacast","last_synced_at":"2025-10-30T04:49:11.193Z","repository":{"id":77350836,"uuid":"96622914","full_name":"0x5e/DLNACast","owner":"0x5e","description":"DLNA screen mirror in macOS.","archived":false,"fork":false,"pushed_at":"2017-07-09T09:05:24.000Z","size":305,"stargazers_count":33,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-08T03:37:01.580Z","etag":null,"topics":["dlna","macos","swift","upnp"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0x5e.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-07-08T14:10:26.000Z","updated_at":"2024-12-16T17:50:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"7201c4de-5b4f-4fcc-960e-93ffbe78ac35","html_url":"https://github.com/0x5e/DLNACast","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/0x5e%2FDLNACast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x5e%2FDLNACast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x5e%2FDLNACast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x5e%2FDLNACast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x5e","download_url":"https://codeload.github.com/0x5e/DLNACast/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251782776,"owners_count":21642987,"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":["dlna","macos","swift","upnp"],"created_at":"2024-10-03T12:44:39.897Z","updated_at":"2025-10-30T04:49:06.144Z","avatar_url":"https://github.com/0x5e.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DLNACast\nDLNA screen mirror application in macOS.(In progress)\n\n## 踩过的坑\n\n在`[TV] Samsung 6 Series (65)`上踩到的坑：\n\n1. SOAP HTTP Header 的 `SOAPACTION`字段值需要用双引号扩上，否则报`UPnPError: 402`错误。例：`SOAPACTION: \"urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI\"`\n \n2. SOAP Action 的参数是有顺序的，`SetAVTransportURI`参数需要按照`InstanceID`，`CurrentURI`，`CurrentURIMetaData`的顺序来，否则也报`UPnPError: 402`错误。\n\n## 参考资料\n\n[iOS 实现基于 DLNA 的本机图片，视频投屏](https://eliyar.biz/iOS_DLNA_with_local_image_and_video/)\n\n[OSX下面用ffmpeg抓取桌面以及摄像头推流进行直播](http://www.cnblogs.com/damiao/p/5233431.html)\n\n[dlnap](https://github.com/cherezov/dlnap)\n\n[DLNA_UPnP](https://github.com/ClaudeLi/DLNA_UPnP)\n\n[AVCaptureScreenInput - AVFoundation | Apple Developer Documentation](https://developer.apple.com/documentation/avfoundation/avcapturescreeninput)\n\n[iOS如何实现TCP、UDP抓包](https://www.coder4.com/archives/5273)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x5e%2Fdlnacast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x5e%2Fdlnacast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x5e%2Fdlnacast/lists"}