ROUTER - UDP streaming

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

ROUTER - UDP streaming

marisk
Hi,

I am trying to stream my camera using udpsrc and udpsink. I would like to send it to a common router address and port so that it can be accessed by any computer connected to that router. For instance, the sending object will send to 192.168.1.1:1234 and the receiving should receive from udp://192.168.1.1:1234.

When i do this, the sending part works fine, the receiving has an error -

ried to add new watch while one was already there

** (TestImage.exe:9752): CRITICAL **: Could not add signal watch to bus bus2

** (TestImage.exe:9752): CRITICAL **: Bus bus2 has no signal watches attached

Could you please let me know how to acheive this?

thanks
Maris
Reply | Threaded
Open this post in threaded view
|

Re: ROUTER - UDP streaming

Donny Viszneki
I'm not sure what is causing the messages you're getting, but I do
notice one peculiar thing:

You say you'd like to "send to a common router address and port," and
you describe sending data to 192.168.1.1:1234. That address looks to
me like your gateway address (the address of your router) and that
will not by itself make it available to other machines on your
network.

Cheers

On Mon, Sep 24, 2012 at 1:36 PM, marisk <[hidden email]> wrote:

> I am trying to stream my camera using udpsrc and udpsink. I would like to
> send it to a common router address and port so that it can be accessed by
> any computer connected to that router. For instance, the sending object will
> send to 192.168.1.1:1234 and the receiving should receive from
> udp://192.168.1.1:1234.
>
> When i do this, the sending part works fine, the receiving has an error -
>
> ried to add new watch while one was already there
>
> ** (TestImage.exe:9752): CRITICAL **: Could not add signal watch to bus bus2
>
> ** (TestImage.exe:9752): CRITICAL **: Bus bus2 has no signal watches
> attached
>
> Could you please let me know how to acheive this?
>
> thanks
> Maris
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/ROUTER-UDP-streaming-tp4656370.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
http://codebad.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ROUTER - UDP streaming

marisk
Thanks for the reply. Yes it is the router address that I am trying to send to. I want the other systems in the network to be able to grab the stream from the router. Is this possible? If this works within my internal network, I want to be able to stream to the router of some external network and make the stream available to that network. Please let me know how to do this.

I have been trying to use udp for streaming. As it is not always possible to know the IP address of the client to which I need to stream to I want to possibly send to the router that is publicly accessible.  Is there any alternate ways of achieving the udp streaming in windows?
Reply | Threaded
Open this post in threaded view
|

Re: ROUTER - UDP streaming

Donny Viszneki
A router will not relay a datagram that is addressed to itself. If you
want all machines on your network to be able to receive the data, you
should investigate "ip broadcast"

http://en.wikipedia.org/wiki/Broadcast_address

On Tue, Sep 25, 2012 at 4:07 AM, marisk <[hidden email]> wrote:

> Thanks for the reply. Yes it is the router address that I am trying to send
> to. I want the other systems in the network to be able to grab the stream
> from the router. Is this possible? If this works within my internal network,
> I want to be able to stream to the router of some external network and make
> the stream available to that network. Please let me know how to do this.
>
> I have been trying to use udp for streaming. As it is not always possible to
> know the IP address of the client to which I need to stream to I want to
> possibly send to the router that is publicly accessible.  Is there any
> alternate ways of achieving the udp streaming in windows?
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/ROUTER-UDP-streaming-tp4656370p4656374.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
http://codebad.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ROUTER - UDP streaming

marisk
Thanks for the website on ip broadcast. It is very informative. Is it possible to achieve ip broadcasting with gstreamer? Can you please point me to some examples or tutorials?

Reply | Threaded
Open this post in threaded view
|

Re: ROUTER - UDP streaming

Donny Viszneki
That's a good question. On Unix you have to bind a socket to
INADDR_ANY to receive broadcast packets. I recommend that you perform
the following experiment:

1) Install Wireshark
2) Test Wireshark network packet recording capability
3) Find a simple program that sends UDP packets to an IP broadcast address
4) Confirm that your system is receiving packets from #3
5) Create a simple GStreamer pipeline with UDPSrc
6) Confirm that pipeline from #5 receives your packets
7) Create a second GStreamer pipeline with UDPSink
8) Confirm packet receipt with Wireshark or pipeline from #5

Breaking up the challenge into these separate steps ensures a very
clear diagnostic meaning from a failure to complete any step, avoiding
the kind of situation where you get stuck and don't know what to do.

Good luck :)

On Wed, Sep 26, 2012 at 6:23 AM, marisk <[hidden email]> wrote:

> Thanks for the website on ip broadcast. It is very informative. Is it
> possible to achieve ip broadcasting with gstreamer? Can you please point me
> to some examples or tutorials?
>
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/ROUTER-UDP-streaming-tp4656370p4656390.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
http://codebad.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel