Comments (12)
Could not reproduce this issue.
Some UPnP devices don't sent the right notifications (BYE) at shut down (so
they are only removed after atimeout).
What UPnP device is used here ?
Original comment by [email protected]
on 5 Sep 2011 at 1:30
from upnpx.
Is it possible to make pcap file of the traffic between the device and the upnp
stack while the device is switched off?
Original comment by [email protected]
on 5 Sep 2011 at 4:02
from upnpx.
Thanks for your reply
Could you please tell me the steps to make pcap file so that i can send you.
We are using a camera which is upnp enabled & connected on a wifi network.
In our testing we have seen the following things:
1. When we switch OFF the camera, the device list in demo app is updating after
1:25 to 1:50 minutes & removing the camera name from the list.
2. When we switch ON the camera, the device list in demo app is updating after
1.2 to 2.2 minutes & showing the camera name in the list.
We have another query, in our application we are searching the upnp devices for
10 to 15 seconds only & don't want to run the upnp discovery continuously in
the background. For this we are using the following code, Could you please
guide us, are we going in the right direction or doing some mistake.
To start the upnp discovery we are using the following code:
UPnPDB* db = [[UPnPManager GetInstance] DB];
mDevices = [db rootDevices]; //--BasicUPnPDevice
[mDevices retain];
[db addObserver:(UPnPDBObserver*)self];
//--Optional; set User Agent
[[[UPnPManager GetInstance] SSDP] setUserAgentProduct:@"upnpxdemo/1.0" andOS:@"OSX"];
//--Search for UPnP Devices
[[[UPnPManager GetInstance] SSDP] searchSSDP];
To stop the upnp discovery we are using the following code:
[[[UPnPManager GetInstance] SSDP] stopSSDP];
Original comment by [email protected]
on 7 Sep 2011 at 7:30
from upnpx.
Hi,
The way you use ssdp is just fine, the update methods will be called when
devices are removed or added from the network.
You can make the pcap file with Wireshark (http://www.wireshark.org/).
It looks like:
- the camera dont send a "NOTIFY with ssdp:byebye" when swithed off, so the
stack will only remove it after a timeout.
- the camera don't send a "NOTIFY with ssdp:alive" at startup
See UPnP specifications, "1.2 Advertisement"
But the wireshark pcap will make things clear, try to capture while doing the
sequence : switch camera on, start upnpx demo, stop camera, wait until it
disappears, start camera again and wait until it appears
Send the pcap to my email if you want, I update the ticket when the issue is
solved/found.
Thanks
Bruno
Original comment by [email protected]
on 7 Sep 2011 at 1:07
from upnpx.
[deleted comment]
from upnpx.
[deleted comment]
from upnpx.
[deleted comment]
from upnpx.
[deleted comment]
from upnpx.
Could reproduce on device, not on emulator.
Original comment by [email protected]
on 13 Sep 2011 at 9:17
- Changed state: Accepted
from upnpx.
Thanks to report this.
Original comment by [email protected]
on 13 Sep 2011 at 10:56
- Changed state: Fixed
- Added labels: Type-Defect
- Removed labels: Type-Other
from upnpx.
Hi,
We have tested this issue on the new release (Release 1.2.3), it is still there.
What steps will reproduce the problem?
1. Switch on the demo application. Demo app will show all the upnp devices
2. Now switch OFF any upnp device, demo app's upnp list is taking time to
remove that upnp device which is just switched off.
3. Now again switch On that device. If we test this on iphone simulator it will
show that device again in the upnp device list after some time(1 to 2 minutes),
but if we test this on iphone device, demo app will not show that upnp device
again in the list.
4. If we force quit the demo app & start all over again immediately after
switching ON the upnp device, that device will get populated in the upnp device
list(both on simulator & iPhone device).
What is the expected output? What do you see instead?
Demo app should immediately update the list which the upnp device is switched
ON & OFF both on iphone simulator & device.
What version of the product are you using? On what operating system?
upnpx-1.2.3.tar.gz upnpx Release 1.2.3 UPnP upnpx
Please provide any additional information below.
Testing the upnpx demo
Original comment by [email protected]
on 22 Sep 2011 at 11:49
from upnpx.
Do i need to post a fresh issue for this?
Original comment by [email protected]
on 23 Sep 2011 at 4:24
from upnpx.
Related Issues (20)
- SoapAction parameters are not order preserved HOT 3
- UPnP device discovery output differs in iphone device & simulator. HOT 1
- stopSSDP doesn't stop the UPnP searching completely
- communicating between a DMS and DMR using iPhone DMC HOT 2
- mediaServer1ItemObject always have uriCOllection belongs to the last item in the same folder
- iOS 5.x destroys sockets on standby (screen lock) - thereafter searchSSDP::Search leads to crash HOT 2
- 1.2.4 bug upnp event headerlength parse error in httpsession.cpp
- SSDPDiscovery: allow to set search target HOT 1
- UPnPDBObserver: change semantics to get explicit 'deviceAdded' or 'deviceRemoved' calls
- better BasicUPnPDevice implementation
- Add new device should change the SoapActionFactory.m
- upnpx parser error on windowsMediaServer item
- Issue with scdp code generator HOT 1
- Upnp Update do not run immediately HOT 1
- iPhone not deteting my Samsung Smart Tv HOT 1
- Not building in iOS 7 HOT 1
- Rendering Videos not working
- Exceptions when running in seperate thread
- Crash if used on network segment where router is running DD-WRT firmware and UPnP control is enabled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from upnpx.