question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow streaming to general RTMP endpoint

See original GitHub issue

First off, YouTube streaming is one of the most exciting new features (at least new to me!).

Right now, adding the stream key allows livestreaming to YouTube. But since the RTMP url is simple rtmp://$serverUrl/$streamKey, could we instead make YouTube a subset of this feature, perhaps with specific instructions? If this setting was more general, then we could use services like restream.io to easily send streams to many services 😃

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:30
  • Comments:54 (15 by maintainers)

github_iconTop GitHub Comments

28reactions
dom-robinsoncommented, Jul 9, 2019

For interest i tweaked my own install to support ‘any’ RTMP output (I also modded the output to add a news ticker over the top of the streaming output but that is probably a bit specific to my own use case)

The mod is quite simple:

Edit lines 34 and 35 of src/main/kotlin/org/jitsi/jibri/service/impl/StreamingJibriService.kt

private const val YOUTUBE_URL = "rtmp:/"
private const val STREAMING_MAX_BITRATE = 2976

note the single '/' after rtmp:/ - since the YOUTUBE_URL is used throughout the code base then removing it or leaving it blank ends up prefixing anything you type into the stream key box on the UI with a ‘/’ causing problems.

My mod means that you need to then enter the server/app/streamkey format in the UI stream key box.

For example i could use

ingest.id3as.com/live/HJr5JJueX9

Which the code now formats to rtmp://ingest.id3as.com/live/HJr5JJueX9 and passes to FFMPEG which then happily makes the connection. It is cheating slightly since in effect the key includes the server and app name, but since ffmpeg just sees a complete string as the streaming target it works just fine.

Hope that helps someone 😃

16reactions
bgrozevcommented, Apr 23, 2018

We have this on our list (I’ve volunteered to add it), but I don’t know when we’ll get to it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Live RTMP Outputs to Stream to Facebook and YouTube
The RTMP output settings can be used to send the live stream to social ... live event including the Streaming Endpoint (RTMP URL)...
Read more >
Setting up a custom RTMP endpoint for capturing live video ...
Streaming the live video happened over a built-in RTMP endpoint on YouTube ... General Settings where it says Choose Live Streaming Platform.
Read more >
How to Set Up an RTMP Encoder for Live Video Streaming
Learn how to set up an RTMP encoder and choose from the top RTMP live stream hardware and software options for RTMP-enabled video...
Read more >
How to Set Up an RTMP Streaming Server - Linode
Learn how to configure an RTMP Server for streaming, including broadcasting, connecting to streams, and streaming simultaneously to YouTube ...
Read more >
RTMP Streaming: What Is the Real-Time Messaging Protocol?
Here's how to stream with RTMP and other ingest protocols to ... With this move, adaptive bitrate streaming has become more common, allowing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found