【发布时间】:2026-01-06 20:55:01
【问题描述】:
当我设置并启动管道时,我得到:
'Could not get/set settings from/on resource' from the bus
代码:
...
// create UDP sink
udpsink = gst_element_factory_make ("udpsink", "sink");
assert (udpsink != NULL);
g_object_set (G_OBJECT (udpsink), "socket", gsocket, NULL);
// add and link gstreamer elements and then start the pipeline
...
请注意,一旦我删除 g_object_set() 或使用它来设置另一个属性(例如“异步”),一切正常。难道'socket'属性在iOS中有任何问题吗?请记住,完全相同的代码在 Linux 中也能正常工作。
有什么想法可能是错的吗?
谢谢
附:请注意,我正在使用从 http://gstreamer.freedesktop.org/data/pkg/ios/1.4.4/ 下载的官方 iOS 包 GStreamer(即 GStreamer.framework),并尝试遵循 http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/tree/gst-sdk/tutorials/xcode%20iOS 示例代码的约定
【问题讨论】:
标签: ios sockets udp media gstreamer