Opensource ip/web camera media server based on gstreamer as good example
In case you are looking for quite sophisticated gstreamer pipeline example
you can take a look at streaming media server that I placed on github. It
works with Web and IP cameras, show video stream in browser on demand and
writing it on the disk as well. It uses gstreamer 1.0. Hope it could be
useful and save you some time.
Repo is here