gst-rtsp-server and message from pipeline bus

Damiano Pinarello damiano.pinarello at bticino.it
Wed May 15 05:38:07 PDT 2013


Hi all,

In a normal pipeline I intercept bus message with this 3 lines:

 GstElement *pipeline = gst_pipeline_new("gst-pipeline");
 GstBus *bus = gst_pipeline_get_bus(GST_PIPELINE(pipeline));
 guint bus_watch_id = gst_bus_add_watch(bus, gst_handle_message, data);

where "gst_handle_message" is a function that manage all message from bus.

In gst-rtsp-server how I can do the same thing?

Thanks in advance
Damiano


-- 

 Damiano PINARELLO
 Embedded Software Developer
 Office Phone: +(39) 031 653679 Ext. 4679
 FAX phone: +(39) 031 653283
 Email: damiano.pinarello at bticino.it
 Street address: Via L. Manara 4, 22036 Erba (CO), Italy
 WebSite: www.bticino.it

------------------------------------------------------------------------------
 Please consider your environmental responsibility before printing this Email
------------------------------------------------------------------------------
 This message and any attachments are confidential and they also are legally
 privileged in accordance with the NDA. If you have received this message in
 error, please notify us and remove it from your system.
------------------------------------------------------------------------------


Ce message, ainsi que tous les fichiers joints à ce message,
peuvent contenir des informations sensibles et/ ou confidentielles
ne devant pas être divulguées. Si vous n'êtes pas le destinataire
de ce message (ou que vous recevez ce message par erreur), nous
vous remercions de le notifier immédiatement à son expéditeur, et
de détruire ce message. Toute copie, divulgation, modification,
utilisation ou diffusion, non autorisée, directe ou indirecte, de
tout ou partie de ce message, est strictement interdite.

This e-mail, and any document attached hereby, may contain
confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please
notify the sender immediately and destroy this e-mail. Any
unauthorized, direct or indirect, copying, disclosure, distribution
or other use of the material or parts thereof is strictly
forbidden.


More information about the gstreamer-devel mailing list