<div dir="ltr">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><br></div><div>Moma</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 10, 2015 at 10:33 PM, Osmo Antero <span dir="ltr"><<a href="mailto:osmoma@gmail.com" target="_blank">osmoma@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><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><br></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"><div><br></div><div>Check system messages with dmesg to see if the kernel detects your camera.</div><div>$ dmesg -wH</div><div>...</div><div><br></div><div>You may also study how audio-recorder handles new and removed audio-input devices.</div><div>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></div><div><br></div><div>Sometimes it takes upto 5 - 6 seconds before audio-recorder (or Gstreamer) reacts to new hw.</div><div>Audio-recorder has also a refresh-button to reload the device list.</div><div>Disconnected devices are handled immediately.</div></font></span></div><div class="gmail_extra"><br></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"><br></div><div class="gmail_extra">Moma.</div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Fri, Jul 10, 2015 at 5:26 PM, Luis Garcia <span dir="ltr"><<a href="mailto:garcia.luis@gmx.de" target="_blank">garcia.luis@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12px"><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 name="quote" style="margin:10px 5px 5px 10px;padding:10px 0px 10px 10px;border-left-width:2px;border-left-style:solid;border-left-color:rgb(195,217,229);word-wrap:break-word">
<div style="margin:0px 0px 10px"><b>Gesendet:</b> Freitag, 10. Juli 2015 um 18:08 Uhr<br>
<b>Von:</b> "Olivier Crête" <<a href="mailto:olivier.crete@collabora.com" target="_blank">olivier.crete@collabora.com</a>><br>
<b>An:</b> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<b>Betreff:</b> Re: GST_MESSAGE_DEVICE_ADDED never called</div><span>

<div name="quoted-content">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().</div>

</span><div name="quoted-content"><br>
Olivier<span><br>
--<br>
Olivier Crête<br>
<a href="mailto:olivier.crete@collabora.com" target="_blank">olivier.crete@collabora.com</a><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>Sent from my PC, laptop or phone with Ubuntu-Linux.</div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Sent from my PC, laptop or phone with Ubuntu-Linux.</div>
</div>