Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0x5e/DLNACast
DLNA screen mirror in macOS.
https://github.com/0x5e/DLNACast
dlna macos swift upnp
Last synced: about 2 months ago
JSON representation
DLNA screen mirror in macOS.
- Host: GitHub
- URL: https://github.com/0x5e/DLNACast
- Owner: 0x5e
- Created: 2017-07-08T14:10:26.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-09T09:05:24.000Z (about 7 years ago)
- Last Synced: 2024-06-03T00:32:31.281Z (4 months ago)
- Topics: dlna, macos, swift, upnp
- Language: Swift
- Homepage:
- Size: 298 KB
- Stars: 28
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DLNACast
DLNA screen mirror application in macOS.(In progress)## 踩过的坑
在`[TV] Samsung 6 Series (65)`上踩到的坑:
1. SOAP HTTP Header 的 `SOAPACTION`字段值需要用双引号扩上,否则报`UPnPError: 402`错误。例:`SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"`
2. SOAP Action 的参数是有顺序的,`SetAVTransportURI`参数需要按照`InstanceID`,`CurrentURI`,`CurrentURIMetaData`的顺序来,否则也报`UPnPError: 402`错误。## 参考资料
[iOS 实现基于 DLNA 的本机图片,视频投屏](https://eliyar.biz/iOS_DLNA_with_local_image_and_video/)
[OSX下面用ffmpeg抓取桌面以及摄像头推流进行直播](http://www.cnblogs.com/damiao/p/5233431.html)
[dlnap](https://github.com/cherezov/dlnap)
[DLNA_UPnP](https://github.com/ClaudeLi/DLNA_UPnP)
[AVCaptureScreenInput - AVFoundation | Apple Developer Documentation](https://developer.apple.com/documentation/avfoundation/avcapturescreeninput)
[iOS如何实现TCP、UDP抓包](https://www.coder4.com/archives/5273)