Home Livestream programatically generated audio/video over RTMP
Reply: 0

Livestream programatically generated audio/video over RTMP

user2649681
1#
user2649681 Published in 2018-02-13 18:10:12Z

I'm looking for a way to stream data generated by a program over RTMP without saving it to an intermediate file to then stream with ffmpeg. For example, if I have a program to run that constantly generates white noise as samples of audio(e.g. a function that outputs a random sample run within an infinite loop), and, if possible, a screen of a solid, random color, is there a way for me to this audio over RTMP more or less as it's being generated? I would imagine, if this is possible, it may involve something along the lines of building up buffers of a fixed number of audio samples and then streaming it somehow over RTMP.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.32054 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO