Handling UPnP service during application states changes

68 views
Skip to first unread message

Sébastien Martini

unread,
Jun 26, 2012, 12:08:12 PM6/26/12
to up...@googlegroups.com
Hi Bruno,

I read your demo project and your tutorial (very well done btw)  and noticed you call:

[[[UPnPManager GetInstance] SSDP] searchSSDP];

for initiating devices search.

I have a couple of questions regarding to this call:

- Does '
searchSSDP' internally implies a call to the 'start' method?
- When the iOS application enters background should we call the 'stop' method?
- Is it safe/expected to call 'searchSSDP' every time the application enters an active state again (receives a foreground notification)?

I'm trying to understand the best way to handle the UPnP service depending on the current state and states transitions of the application.


Cordially,

sébastien





Sébastien Martini

unread,
Jun 28, 2012, 11:04:12 PM6/28/12
to up...@googlegroups.com
A quick follow up to point to related issues I did not know previously:

http://code.google.com/p/upnpx/issues/detail?id=10
http://code.google.com/p/upnpx/issues/detail?id=7

I can confirm the first issue it is a real problem on current iOS version.
Reply all
Reply to author
Forward
0 new messages