2
cybergarage를 사용하여 Obj-C에서 iOS 용 UPnP 컨트롤러를 작성했으며 이제 동일한 cybergarage 라이브러리를 사용하여 동일한 앱용 UPnP 서버를 추가하고 싶습니다.iOS UPnP 서버
그러나 문제가 있습니다. ControlPoint를 제외한 모든 자습서 나 설명서를 찾지 못했습니다.
CGUpnpDevice *device = [[CGUpnpDevice alloc] initWithXMLDescription: @""];
[device setUdn: @"uuid:0000d8c8-20a0-00d8-9999-4858001808d8"];
[device setDeviceType: @"urn:schemas-upnp-org:device:MediaServer:1"];
[device setFriendlyName: @"OMG server by spe"];
[device setUserData: @"omg user"];
[device start];
NSLog(@"running: %i", (bool)[device isRunning]);
가 실행 말한다 : 0 나는 생성자에 대한 올바른 XML을 잘 모릅니다 내가 기본 생성자를 사용하는 경우
[[CGUpnpDevice alloc] init];
가 충돌합니다. 사이버가 게 프로그래밍 경험이있는 사람이 있습니까? 어떤 아이디어를 서버를 실행하는 방법?
iOS에서 UPnP 서버를 도와 줄 수 있습니까? –