[Bug 729123] New: GstSdp.SDPMessage.parse_buffer needs a guint8* + annotation corrections
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Apr 28 09:08:36 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=729123
GStreamer | gst-python | 1.2.4
Summary: GstSdp.SDPMessage.parse_buffer needs a guint8* +
annotation corrections
Classification: Platform
Product: GStreamer
Version: 1.2.4
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-python
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: adrien.aubourg at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Hi,
To generated a sdpmessage from a string, one use in C the
gst_sdp_message_parse_buffer function:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstsdpmessage.html#gst-sdp-message-parse-buffer
The Python introspection hence ask for a Python int. In addition, instead of
returning the SDPMessage, it needs to be passed as an argument. In conclusion,
the parse_buffer function cannot be called at all.
In addition, creating a SDPMessage object can be done via GstSdp.SDPMessage()
or via GstSdp.SDPMessage.new(). With the former, segfault may appear when
calling SDPMessage methods.
More generally, the GstSdp library may need an annotation update to be really
usable with Python bindings. It may be interesting to do it before the arrival
of webrtc element in gstreamer.
I'm willing to propose patches, but I can't guarantee their quality nor their
arrivals.
Adrien
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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