<div dir="ltr">Problem solved :<div><br></div><div>* Server (Android) : <b>openslessrc</b> ! audioconvert ! audioresample ! audio/x-raw,format=S16LE,channels=1,rate=48000 ! udpsink host=192.168.1.150 port=5003</div><div>* Client (Windows) : udpsrc port=5003 ! audio/x-raw,format=S16LE,channels=1,rate=48000 ! volume volume=0.8 ! autoaudiosink sync=false</div>

<div>* Add in manifest.xml : <uses-permission android:name="android.permission.RECORD_AUDIO"/></div><div>* Delay is 200 ms or so.</div><div><br></div><div>Regards.</div></div><div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-02-10 13:42 GMT+01:00 JPM <span dir="ltr"><<a href="mailto:jpmelian@gmail.com" target="_blank">jpmelian@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">The log in adb logcat is :<div><br></div><div><div>02-10 13:32:22.495: I/ActivityManager(580): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.gst_sdk_tutorials.tutorial_2/.Tutorial2 bnds=[600,1381][792,1573]} from pid 851</div>


<div>02-10 13:32:22.515: D/audio_hw_primary(181): select_devices: out_snd_device(2: speaker) in_snd_device(0: )</div><div>02-10 13:32:22.515: D/ACDB-LOADER(181): ACDB -> send_afe_cal</div><div>02-10 13:32:22.575: D/dalvikvm(580): GC_FOR_ALLOC freed 2250K, 23% free 15394K/19928K, paused 55ms, total 56ms</div>


<div>02-10 13:32:22.595: D/dalvikvm(4502): Late-enabling CheckJNI</div><div>02-10 13:32:22.605: I/ActivityManager(580): Start proc com.gst_sdk_tutorials.tutorial_2 for activity com.gst_sdk_tutorials.tutorial_2/.Tutorial2: pid=4502 uid=10058 gids={50058, 3003}</div>


<div>02-10 13:32:22.625: D/dalvikvm(179): GC_EXPLICIT freed 42K, 1% free 9046K/9124K, paused 3ms+4ms, total 29ms</div><div>02-10 13:32:22.655: D/dalvikvm(179): GC_EXPLICIT freed <1K, 1% free 9046K/9124K, paused 2ms+3ms, total 25ms</div>


<div>02-10 13:32:22.675: D/dalvikvm(179): GC_EXPLICIT freed <1K, 1% free 9046K/9124K, paused 1ms+5ms, total 21ms</div><div>02-10 13:32:22.695: D/dalvikvm(4502): Trying to load lib /data/app-lib/com.gst_sdk_tutorials.tutorial_2-2/libgstreamer_android.so 0x41ef0b60</div>


<div>02-10 13:32:22.705: D/dalvikvm(4502): Added shared lib /data/app-lib/com.gst_sdk_tutorials.tutorial_2-2/libgstreamer_android.so 0x41ef0b60</div><div>02-10 13:32:22.705: D/dalvikvm(4502): Trying to load lib /data/app-lib/com.gst_sdk_tutorials.tutorial_2-2/libtutorial-2.so 0x41ef0b60</div>


<div>02-10 13:32:22.705: D/dalvikvm(4502): Added shared lib /data/app-lib/com.gst_sdk_tutorials.tutorial_2-2/libtutorial-2.so 0x41ef0b60</div><div>02-10 13:32:22.785: I/GStreamer(4502): GStreamer initialization complete</div>


<div>02-10 13:32:22.865: I/GStreamer(4502): Activity created. There is no saved state, playing: false</div><div>02-10 13:32:22.875: I/GStreamer(4502): Gst initialized. Restoring state, playing:false</div><div>02-10 13:32:22.895: I/Adreno-EGL(4502): <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I0404c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13</div>


<div>02-10 13:32:22.925: D/OpenGLRenderer(4502): Enabling debug mode 0</div><div>02-10 13:32:22.985: I/ActivityManager(580): Displayed com.gst_sdk_tutorials.tutorial_2/.Tutorial2: +398ms</div><div>02-10 13:32:31.664: D/audio_hw_primary(181): select_devices: out_snd_device(2: speaker) in_snd_device(0: )</div>


<div>02-10 13:32:31.664: D/ACDB-LOADER(181): ACDB -> send_afe_cal</div></div><div><br></div><div>It seems that there are not any audio input devices : "D/audio_hw_primary(181): select_devices: out_snd_device(2: speaker) in_snd_device(0: ) " .</div>


<div><br></div><div>I am totally lost. </div><div><br></div><div>Regards.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-09 17:53 GMT+01:00 JPM <span dir="ltr"><<a href="mailto:jpmelian@gmail.com" target="_blank">jpmelian@gmail.com</a>></span>:<div>

<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I have upgraded SDK tutorial-2 to 1.2.2 version and it is OK with the pipeline :</div>


<div><br></div><div>data->pipeline = gst_parse_launch("<b>audiotestsrc</b> ! audio/x-raw,format=S16LE,channels=1,rate=48000 ! udpsink host=192.168.1.140 port=5003", &error);</div>
<div><br></div><div>When I check this one : data->pipeline = gst_parse_launch("<b>autoaudiosrc</b> ! audio/x-raw,format=S16LE,channels=1,rate=48000 ! udpsink host=192.168.1.140 port=5003", &error);</div>


<div>
<br></div><div>there are not errors indications on the android device screen (log is "State changed to PAUSED/PLAYING") but I can not hear any sound in the client (PC Windows 7).</div><div><br></div><div>Is it possible android device microphone is deactivated ? </div>



<div><br></div><div>Regards.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-09 15:52 GMT+01:00 Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span>:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div>On So, 2014-02-09 at 14:19 +0100, Sebastian Dröge wrote:<br>
> On So, 2014-02-09 at 14:04 +0100, JPM wrote:<br>
> > Do you know if there are any tutorial about how to upgrade to GStreamer<br>
> > 1.2.x ?.<br>
><br>
> Check the differences between the tutorials from <a href="http://gstreamer.com" target="_blank">gstreamer.com</a> and these<br>
> here: <a href="http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/" target="_blank">http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/</a><br>
><br>
> The differences are not really large. You can get the latest version for<br>
> Android here: <a href="http://gstreamer.freedesktop.org/data/pkg/android/1.2.3/" target="_blank">http://gstreamer.freedesktop.org/data/pkg/android/1.2.3/</a><br>
><br>
> (The 1.2.3 release is not yet announced, will be in a few minutes after<br>
> I finished uploading the other parts)<br>
<br>
</div>And they're not final, I'll upload final 1.2.3 tarballs later this<br>
evening.<br>
<br>
<a href="http://gstreamer.freedesktop.org/data/pkg/android/1.2.2/" target="_blank">http://gstreamer.freedesktop.org/data/pkg/android/1.2.2/</a> contains the<br>
previous stable release and should work just fine for you too.<br>
<div><div><br>
--<br>
Sebastian Dröge, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
Expertise, Straight from the Source<br>
</div></div><br></div></div><div>_______________________________________________<br>
gstreamer-android mailing list<br>
<a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>