Rtp streaming from live555 server

Hi,

In the streaming plugin, I can use rtp with gstreamer example pipeline, it works fine.
Is there any example/sample live555 streaming code which can be used with rtp type of streaming?

Another question is regarding rtsp streaming type, is there any option to make it run on demand? For example, when a client connects to a rtsp stream on janus, janus will initialize the connection to rtsp server? For now, it looks like the rtsp stream is always running when janus is started.

Thank you.

The configuration file has an example of RTSP streaming.
No, it won’t work on demand. Once you create an RTSP mountpoint, it runs until you destroy it. It’s up to you to orchestrate a create/destroy when people connect to make it look like it’s on demand.

Hi,

Thanks for the reply.

The configuration file has an example of RTSP streaming.

I meant the rtp type of streaming. I saw the example configuration, and I used it together with gstreamer udpsink without problem. But now I’m changing to use live555, so it would be great if there is any sample of live555 streaming to rtp type (NOT rtsp type in configuration).

It’s up to you to orchestrate a create/destroy when people connect to make it look like it’s on demand.

can you please enlighten me how to do this?

The configuration is exactly the same. With rtp, you push RTP packets to Janus yourself, e.g., via gstreamer or ffmpeg. I don’t know how live555 works.

No examples. You just have to use create manually when you want the stream to be available (e.g., you know a user wants to watch it), and destroy when it must be gone (the user left).

You just have to use create manually when you want the stream to be available (e.g., you know a user wants to watch it), and destroy when it must be gone (the user left).

Does create and destroy here like add/remove a stream in streaming plugin on fly? or what exactly does it mean?

Please refer to the documentation for their purpose.

1 Like

Thank you for pointing create & destroy out. I found it in streaming plugin document.