[Bug 761700] basedrm: a base class based on CENC common encryption scheme for DRM playback

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 6 21:07:44 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=761700

--- Comment #15 from A Ashley <bugzilla at ashley-family.net> ---
> 
> I could not understand from unit test of dash demux that how can I create
> fake http server which can be used by gst-play as uri.
> 
> BR/
> Rajesh

You will have to create an app, rather than use a command line tool like
gst-play.

You use gst_test_http_src_register_plugin() to cause the fake HTTP source
element to be installed. It is given a very high rank so will be picked in
preference to souphttpsrc. That means any HTTP request from gstreamer will be
served by this fake source element.

You then use gst_test_http_src_install_callbacks() to install a couple of
functions that handle every request for an HTTP source.

You could then use playbin with a URI. That URI will turn up in the src_start()
callback you registered with gst_test_http_src_install_callbacks().

The src-create() callback will be called, which is used to feed the fake data
into the pipeline.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list