Problem need your help about mediaserver

lad
2012-06-04
2013-05-01
  • lad
    lad
    2012-06-04

    Dear skonno,
    Thank you very much your clinkc library,I recently  do a DLNA project on the ios platform. But i having some trouble to achieve the "MediaServer". Code  as follows:

        CGUpnpAvServer * dms = [ init];
        ;
        ;

    But how do I specified the shared directory path of the MediaSrver? I found a setContentDirectory method in the CGUpnpAvServer class, but I do not know how to use.Could you please give me some tips?thank you!

    Yours,
    ladmini

     
  • Satoshi Konno
    Satoshi Konno
    2012-06-06

    Hi,

    The CGUpnpAvServer is skeleton class. To run as a UPnP/AV media server using the class,
    you have to implement some request handler for SOAP actions of UPnP/AV :-)

    Best Regards,

    Satoshi Konno