Could RTMP link information be added to the live stream page text?

User guides, discussions and problem reports for the new BATC Website
Post Reply
greg
Posts: 14
Joined: Wed Apr 24, 2019 10:25 am

Could RTMP link information be added to the live stream page text?

Post by greg » Sun Feb 18, 2024 8:38 pm

Hi all

On the main site streamer page you see the links to Members and repeaters.
Clicking on one of them (to me) shows "Enable Adobe Flash to view this low-latency stream". Could you put a link under the video that shows the rtmp stream (it just needs to be rtmp://rtmp.batc.org.uk/live/{callsign}) and whichever app handles it, such as VLC, can grab the stream and start displaying it instantly.

The source for the page would only need a tiny alteration as the information is already stored in the JSON field 'json.stream_output_url' so it would be a simple matter to add a hardcoded string. The part of the webpage that handles this is at around line 479, "jQuery(document).ready(function($)"

If you added a new id into the HTML source such as <span id="rtmpstream"></span> on the stream active line then you could use
$("#rtmpstream").html('<a href="' + json.stream_output_url + '">RTMP stream</a>');

I hope this gets added, but until that time I am willing to do this manually to get the most realtime stream.

73 de M0ODZ Greg

Post Reply

Return to “New BATC WebSite and Online Shop”