<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div> 
<div>
<div>Thanks for you answer!</div>

<div>Wenn I check if the kernel detects my camera with dmesg -wH, I see it detects the camera within a second, or less.</div>

<div>But using gstreamer in monitor mode,</div>

<div>$ gst-device-monitor-1.0 -f</div>

<div>gstreamer does not detect my camera. There is no delay detecting, it does not detect it.</div>

<div> </div>

<div>I am running openSUSE 13.2. It is a problem from the OS?</div>

<div> </div>

<div> </div>

<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Samstag, 11. Juli 2015 um 13:39 Uhr<br/>
<b>Von:</b> "Osmo Antero" <osmoma@gmail.com><br/>
<b>An:</b> "Discussion of the development of and with GStreamer" <gstreamer-devel@lists.freedesktop.org><br/>
<b>Betreff:</b> Re: Re: GST_MESSAGE_DEVICE_ADDED never called</div>

<div name="quoted-content">
<div>Re-hi again,
<div> </div>

<div>I can also see the long detection delay with gst-device-monitor-1.0 command.</div>

<div>Ref: <a href="http://manpages.ubuntu.com/manpages/utopic/man1/gst-device-monitor-1.0.1.html" target="_blank">http://manpages.ubuntu.com/manpages/utopic/man1/gst-device-monitor-1.0.1.html</a></div>

<div> </div>

<div>$ man gst-device-monitor-1.0</div>

<div> </div>

<div># In monitor mode</div>

<div>
<div>$ gst-device-monitor-1.0 -f</div>
</div>

<div>...</div>

<div> </div>

<div>I am running Ubuntu 15.04 64bit.</div>

<div> </div>
</div>

<div class="gmail_extra"> 
<div class="gmail_quote">On Fri, Jul 10, 2015 at 10:43 PM, Osmo Antero <span><<a href="osmoma@gmail.com" target="_parent">osmoma@gmail.com</a>></span> wrote:

<blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex;border-left: 1.0px rgb(204,204,204) solid;padding-left: 1.0ex;">
<div>Re-hi,
<div>I want to be more precise.</div>

<div>It can take upto 10 - 15 seconds before audio-recorder (or gstreamer monitor) detects new hw.</div>

<div>The device (like my USB webcam with mic) appears in the GUI but the delay feels like a bug.</div>

<div> </div>

<div>Moma</div>

<div> </div>
</div>

<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"> 
<div class="gmail_quote">On Fri, Jul 10, 2015 at 10:33 PM, Osmo Antero <span><<a href="osmoma@gmail.com" target="_parent">osmoma@gmail.com</a>></span> wrote:

<blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex;border-left: 1.0px rgb(204,204,204) solid;padding-left: 1.0ex;">
<div>
<div><span style="font-family: Consolas , Menlo , Monaco , "Lucida Console" , "Liberation Mono" , "DejaVu Sans Mono" , "Bitstream Vera Sans Mono" , "Courier New" , monospace , sans-serif;background-color: rgb(238,238,238);">Hello,</span></div>

<div>
<div> </div>

<div><span style="background-color: rgb(238,238,238);"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif">Check system messages with dmesg to see if the kernel detects your camera.</font></span></div>

<div><span style="background-color: rgb(238,238,238);"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif">$ dmesg -wH</font></span></div>

<div><span style="background-color: rgb(238,238,238);"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif">...</font></span></div>

<div> </div>

<div><span style="background-color: rgb(238,238,238);"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif">You may also study how audio-recorder handles new and removed audio-input devices.</font></span></div>

<div><span style="background-color: rgb(238,238,238);"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif">Ref: <a href="http://bazaar.launchpad.net/~audio-recorder/audio-recorder/trunk/view/head:/src/gst-devices.c" target="_blank">http://bazaar.launchpad.net/~audio-recorder/audio-recorder/trunk/view/head:/src/gst-devices.c</a></font></span></div>

<div> </div>

<div><span style="background-color: rgb(238,238,238);"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif">Sometimes it takes upto 5 - 6 seconds before audio-recorder (or Gstreamer) reacts to new hw.</font></span></div>

<div><span style="background-color: rgb(238,238,238);"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif">Audio-recorder has also a refresh-button to reload the device list.</font></span></div>

<div><span style="background-color: rgb(238,238,238);"><font face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif">Disconnected devices are handled immediately.</font></span></div>
</div>

<div class="gmail_extra"> </div>

<div class="gmail_extra">A.r: <a href="https://launchpad.net/~audio-recorder" target="_blank">https://launchpad.net/~audio-recorder</a></div>

<div class="gmail_extra"> </div>

<div class="gmail_extra">Moma.</div>

<div class="gmail_extra">
<div>
<div> 
<div class="gmail_quote">On Fri, Jul 10, 2015 at 5:26 PM, Luis Garcia <span><<a href="garcia.luis@gmx.de" target="_parent">garcia.luis@gmx.de</a>></span> wrote:

<blockquote class="gmail_quote" style="margin: 0.0px 0.0px 0.0px 0.8ex;border-left-width: 1.0px;border-left-color: rgb(204,204,204);border-left-style: solid;padding-left: 1.0ex;">
<div>
<div style="font-family: Verdana;font-size: 12.0px;">
<div> 
<div>
<div>It is a logitech camera, an USB Webcam.</div>

<div>I am running Suse Linux.</div>

<div>When I connect the camera it appears in /dev the new device, /dev/video0.</div>

<div>And I added :</div>

<div>    if (!gst_device_monitor_start (monitor))<br/>
    g_error ("Failed to start device monitor!");</div>

<div> </div>

<div>to check if device monitor starts, and it starts without an error.</div>

<div> </div>

<div>Greetings</div>

<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0.0px 10.0px 10.0px;border-left-width: 2.0px;border-left-style: solid;border-left-color: rgb(195,217,229);">
<div style="margin: 0.0px 0.0px 10.0px;"><b>Gesendet:</b> Freitag, 10. Juli 2015 um 18:08 Uhr<br/>
<b>Von:</b> "Olivier Crête" <<a href="olivier.crete@collabora.com" target="_parent">olivier.crete@collabora.com</a>><br/>
<b>An:</b> <a href="gstreamer-devel@lists.freedesktop.org" target="_parent">gstreamer-devel@lists.freedesktop.org</a><br/>
<b>Betreff:</b> Re: GST_MESSAGE_DEVICE_ADDED never called</div>

<div><span>Hi,<br/>
<br/>
Is it a USB Webcam? Are you running a generic desktop distribution<br/>
(Fedora, Ubuntu, etc) or something strange?<br/>
When you connect the camera, does a /dev/video<X> device appear? Check<br/>
the return value of gst_device_monitor_start().</span></div>

<div><br/>
Olivier<br/>
<span>--<br/>
Olivier Crête<br/>
<a href="olivier.crete@collabora.com" target="_parent">olivier.crete@collabora.com</a><br/>
<br/>
_______________________________________________<br/>
gstreamer-devel mailing list<br/>
<a href="gstreamer-devel@lists.freedesktop.org" target="_parent">gstreamer-devel@lists.freedesktop.org</a><br/>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></span></div>
</div>
</div>
</div>
</div>
</div>
<br/>
_______________________________________________<br/>
gstreamer-devel mailing list<br/>
<a href="gstreamer-devel@lists.freedesktop.org" target="_parent">gstreamer-devel@lists.freedesktop.org</a><br/>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br/>
 </blockquote>
</div>
 

<div> </div>
</div>
</div>
<span><font color="#888888">-- </font></span>

<div><span><font color="#888888">Sent from my PC, laptop or phone with Ubuntu-Linux.</font></span></div>
<span><font color="#888888"> </font></span></div>
</div>
</blockquote>
</div>
 

<div> </div>
--

<div>Sent from my PC, laptop or phone with Ubuntu-Linux.</div>
</div>
</div>
</div>
</blockquote>
</div>
 

<div> </div>
--

<div class="gmail_signature">Sent from my PC, laptop or phone with Ubuntu-Linux.</div>
</div>
_______________________________________________ gstreamer-devel mailing list gstreamer-devel@lists.freedesktop.org <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div>
</div>
</div>
</div></div></body></html>