[[CDDLNATool sharedInstance] searchDevicesBlock:^(NSMutableArray *devicesArray) {
NSLog(@"devices%@", devicesArray);
if (devicesArray.count == 0) return;
[[CDDLNATool sharedInstance] initDLNAWithDevice: devicesArray[0] playUrl: @""];
[[CDDLNATool sharedInstance] startDLNA];
}];
CDMRDLNATool is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'CDMRDLNATool'
CDMRDLNATool is available under the MIT license. See the LICENSE file for more info.