Wowza Community

startMediaCasterStream rtsp connection

Hi All,

I need to find out the local port number that Wowza got when connecting to an RTSP camera.

We use startMediaCasterStream call to connect to remote cameras.

Is there a callback to intercept when Wowza does the actual connection to the camera so we can find out the local port before the RTSP message exchange begins?

Regards,

Bora.

RTSP port is 554 for TCP/UDP. Are you pulling the stream from the RTSP source via a stream file? The source will advertise itself on that port if acting as as server and you just need to set up a stream file in Wowza up pull the stream in. This article describes that method.

Yes we use stream files to publish streams.

But what I need to find out is the outgoing TCP port of Wowza when it connects to the camera.

This outgoing port should be different for each stream (i.e. each TCP connection).

Regards.