Explorar el Código

local network: update (disabled) SAP discovery to the VLCKit 3.0 discovery API

Felix Paul Kühne hace 10 años
padre
commit
813f3d6b1e
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      Sources/VLCLocalServerListViewController.m

+ 2 - 0
Sources/VLCLocalServerListViewController.m

@@ -620,6 +620,7 @@
         return;
 
     _sapDiscoverer = [[VLCMediaDiscoverer alloc] initWithName:@"sap"];
+    [_sapDiscoverer startDiscoverer];
     _sapDiscoverer.discoveredMedia.delegate = self;
 }
 
@@ -627,6 +628,7 @@
 {
     return;
 
+    [_sapDiscoverer stopDiscoverer];
     _sapDiscoverer = nil;
 }