RTMP netstream commands

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

RTMP netstream commands

bob johnson
Hello!

When I use ffmpeg to send an rtmp to stream to various platforms, it works
great. However, when the source stream ends it seems like ffmpeg
automatically sends the deleteStream netstream command referenced here
https://www.adobe.com/content/dam/acom/en/devnet/rtmp/pdf/rtmp_specification_1.0.pdf

Do you know how I can disable this? I am trying to account for crashes on
my server and take over the stream from another server, but it is not
possible to resume the stream once this command is issued.

If the ffmpeg process is SIGKILL, it does not seem to send the command
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: RTMP netstream commands

Carl Eugen Hoyos-2
2018-08-01 17:10 GMT+02:00, bob johnson <[hidden email]>:

> Hello!
>
> When I use ffmpeg to send an rtmp to stream to various platforms, it works
> great. However, when the source stream ends it seems like ffmpeg
> automatically sends the deleteStream netstream command referenced here
> https://www.adobe.com/content/dam/acom/en/devnet/rtmp/pdf/rtmp_specification_1.0.pdf
>
> Do you know how I can disable this? I am trying to account for crashes on
> my server and take over the stream from another server, but it is not
> possible to resume the stream once this command is issued.
>
> If the ffmpeg process is SIGKILL, it does not seem to send the command

And in that case you can take over the stream from another server?

It is currently impossible not to send deleteStream, I suspect it is
trivial not to send it but nobody so far felt the need or saw the usefulness.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: RTMP netstream commands

bob johnson
Yes, if I SIGKILL, I can take over the stream from another server.

So, it's not really essential. Having control over the netstream command
seemed more elegant to me, but if its not possible, SIGKILL will do.

Thanks Carl!

On Wed, Aug 1, 2018 at 2:21 PM, Carl Eugen Hoyos <[hidden email]> wrote:

> 2018-08-01 17:10 GMT+02:00, bob johnson <[hidden email]>:
> > Hello!
> >
> > When I use ffmpeg to send an rtmp to stream to various platforms, it
> works
> > great. However, when the source stream ends it seems like ffmpeg
> > automatically sends the deleteStream netstream command referenced here
> > https://www.adobe.com/content/dam/acom/en/devnet/rtmp/pdf/
> rtmp_specification_1.0.pdf
> >
> > Do you know how I can disable this? I am trying to account for crashes on
> > my server and take over the stream from another server, but it is not
> > possible to resume the stream once this command is issued.
> >
> > If the ffmpeg process is SIGKILL, it does not seem to send the command
>
> And in that case you can take over the stream from another server?
>
> It is currently impossible not to send deleteStream, I suspect it is
> trivial not to send it but nobody so far felt the need or saw the
> usefulness.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".