Saturday, May 20, 2006
ESPer2006 : I went to the programmer's meeting to announce my recent activity after the project at Shibuya this weekend.
In the near future, I think that many home networked devices will support some peer to peer systems such as UPnP. I will focus my development to support such environment in home.
I put the presentation document here. The document is Japanese but, please check it if you have any interesting :-)
In the near future, I think that many home networked devices will support some peer to peer systems such as UPnP. I will focus my development to support such environment in home.
I put the presentation document here. The document is Japanese but, please check it if you have any interesting :-)
Comments:
<< Home
Yes I'm trying to do something with upnp too, I'm using your cyberlink for java library.
Thanks to the example you gave I know how to do what I want to do in Perl.
use UPnP::ControlPoint;
use UPnP::AV::MediaServer;
my $obj = UPnP::ControlPoint->new();
@dev_list = $obj->search(st =>'upnp:rootdevice', mx => 3);
$devNum= 0;
foreach $dev (@dev_list) {
$device_type = $dev->getdevicetype();
if ($device_type ne 'urn:schemas-upnp-org:device:MediaServer:1') {
next;
}
print "[$devNum] : " . $dev->getfriendlyname() . "¥n";
unless ($dev->getservicebyname('urn:schemas-upnp-org:service:ContentDirectory:1')) {
next;
}
$mediaServer = UPnP::AV::MediaServer->new();
$mediaServer->setdevice($dev);
@content_list = $mediaServer->getcontentlist(ObjectID => 0);
foreach $content (@content_list) {
print_content($mediaServer, $content, 1);
}
$devNum++;
}
sub print_content {
my ($mediaServer, $content, $indent) = @_;
my $id = $content->getid();
my $title = $content->gettitle();
for ($n=0; $n<$indent; $n++) {
print "¥t";
But I don't see how to do it in java.
I'm able to get the discovered device list, and the action list. But I'm not sure how to get the content directory. I'm thinking I need to do something with contentdirectoy.getaction("browse"), like you do in the mediaserver class in cmgate. but I'm not sure, any help would be apreciated.
you can contact me at cannonwg@comcast.net if you like, I can give you more details on what I'm trying to do but would rather not disclose that now.
Thanks , Again
Thanks to the example you gave I know how to do what I want to do in Perl.
use UPnP::ControlPoint;
use UPnP::AV::MediaServer;
my $obj = UPnP::ControlPoint->new();
@dev_list = $obj->search(st =>'upnp:rootdevice', mx => 3);
$devNum= 0;
foreach $dev (@dev_list) {
$device_type = $dev->getdevicetype();
if ($device_type ne 'urn:schemas-upnp-org:device:MediaServer:1') {
next;
}
print "[$devNum] : " . $dev->getfriendlyname() . "¥n";
unless ($dev->getservicebyname('urn:schemas-upnp-org:service:ContentDirectory:1')) {
next;
}
$mediaServer = UPnP::AV::MediaServer->new();
$mediaServer->setdevice($dev);
@content_list = $mediaServer->getcontentlist(ObjectID => 0);
foreach $content (@content_list) {
print_content($mediaServer, $content, 1);
}
$devNum++;
}
sub print_content {
my ($mediaServer, $content, $indent) = @_;
my $id = $content->getid();
my $title = $content->gettitle();
for ($n=0; $n<$indent; $n++) {
print "¥t";
But I don't see how to do it in java.
I'm able to get the discovered device list, and the action list. But I'm not sure how to get the content directory. I'm thinking I need to do something with contentdirectoy.getaction("browse"), like you do in the mediaserver class in cmgate. but I'm not sure, any help would be apreciated.
you can contact me at cannonwg@comcast.net if you like, I can give you more details on what I'm trying to do but would rather not disclose that now.
Thanks , Again
I figured it out, it was a lot easier than I thought.
Your really did a nice job with these class libraries.
Your really did a nice job with these class libraries.
Congrats, Satoshi! You have done a great work on everything related with UPnP!
Your CyberLink C library is being very well adopted, and it is a lot cleaner than others freely available.
Hope you continue to do this excellent work! A lot of people are very thankful for your contributions...
Post a Comment
Your CyberLink C library is being very well adopted, and it is a lot cleaner than others freely available.
Hope you continue to do this excellent work! A lot of people are very thankful for your contributions...
<< Home