summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@freedesktop.org>2013-05-13 18:04:01 -0700
committerJoe Rayhawk <jrayhawk@freedesktop.org>2013-05-13 18:04:01 -0700
commit9b973c7eb300cca40df28e0a9be52ca9c3d6939f (patch)
treec025951bed2112fa7fadb94357af7ae6e30f5da9
parent4415dea66024468a4daccd46da7232ff9903f061 (diff)
parent95dee6da3eabf5a20edcd1979c5f9c9cfdcb9f35 (diff)
moin2iki: Importing Moin history for page GStreamer
-rw-r--r--GStreamer.moin17
1 files changed, 17 insertions, 0 deletions
diff --git a/GStreamer.moin b/GStreamer.moin
new file mode 100644
index 0000000..e33dead
--- /dev/null
+++ b/GStreamer.moin
@@ -0,0 +1,17 @@
+#format creole
+
+libnice has been designed to nice integrate with GStreamer, two GStreamer element are provided "nicesrc" and "nicesink" to help with that.
+
+libnice works with both GStreamer 0.10 and GStreamer 1.x
+
+Steps:
+# Create a NiceAgent
+# Create a stream with nice_add_agent
+# Create a nicesrc for each component
+# Set the NiceAgent, stream id and compoenent id on each nicesrc
+# Put the nicesrc elements inside a GstPipeline and connect them to the elements that will receive the packets, most likely rtpbin
+# Set the GstPipeline to the PLAYING state
+# libnice can now receive packets.
+# Use the NiceAgent API to gather candidates and establish connectivity, be aware that as soon as connectivity is established (component state is CONNECTED), nicesrc may start producing data packets
+
+At any time after the Nice Stream has been created, you can create nicesink elements and add them to your pipeline to send packets, you can do that at the same time as the nicesrc elements or later.