Method not available in RTSPMediaFactory

Aborilov Pavel aborilov at gmail.com
Wed Sep 16 22:36:15 PDT 2015


I use RTSPMediaFactoryURI from Python and I have to override method
do_create_element, and it works.

On 09/17, Adam Langley wrote:
> I am using Gstreamer RTSPMediaFactory (libgstrtspserver 1.0) v 1.2.3-0.
> From Python, I have derived from the MediaFactory, and overridden
> create_element. Unfortunately, my create_element is never called, so the
> RtspServer complains no launch line specified.
> 
> I printed out all the methods declared in the super instance, and got this:
> 
> ['set_buffer_size', 'set_suspend_mode', 'set_protocols', 'construct',
> 'get_suspend_mode', 'get_launch', 'set_launch', 'is_eos_shutdown',
> 'get_permissions', 'get_address_pool', 'set_shared', 'is_shared',
> 'set_address_pool', 'get_protocols', 'get_buffer_size', 'set_permissions',
> 'set_eos_shutdown']
> No create_element!
> 
> No wonder, my implementation is never being called... but why is there no
> create_element function?
> 

> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list