DLNA screen mirror application in macOS.(In progress)
在[TV] Samsung 6 Series (65)
上踩到的坑:
-
SOAP HTTP Header 的
SOAPACTION
字段值需要用双引号扩上,否则报UPnPError: 402
错误。例:SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"
-
SOAP Action 的参数是有顺序的,
SetAVTransportURI
参数需要按照InstanceID
,CurrentURI
,CurrentURIMetaData
的顺序来,否则也报UPnPError: 402
错误。
AVCaptureScreenInput - AVFoundation | Apple Developer Documentation