Use multiple processes in Android gstreamer!!

Edward Hervey bilboed at bilboed.com
Fri Jun 20 00:19:16 PDT 2014


Hi,

  There's no reason to have two different processes. All processing in
GStreamer will be happening in different threads anyway. Just create two
pipelines in your process.

    Edward

On Thu, 2014-06-19 at 09:02 -0700, Puyol wrote:
> Hello,
> I'am using the android tutorial2 gstreamer, to make a simple pipeline from
> one android phone to another,
> http://docs.gstreamer.com/display/GstSDK/Android+tutorial+2%3A+A+running+pipeline
> Now what i want to do is making two processes to make the android phone send
> and receive audio!
> in Linux i used the commande fork(); and it's working
> p=fork();
> if p==0{
> //pipeline1
> }
> else{
> //pipeline2
> }
> but in the case of android this is not working and that make an error : 
> {
> g_source_set_callback: assertion `source != NULL' failed
> Fatal signal 11 (SIGSEGV) at 0x00000010 (code=1)
> }
> is there any idea to deal with?
> thanks!!
> 
> 
> 
> 
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Use-multiple-processes-in-Android-gstreamer-tp4667584.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140620/09152780/attachment.sig>


More information about the gstreamer-devel mailing list