Page 1 of 1

Saving Stream Key(s) in Settings.xml

PostPosted: Fri Aug 30, 2024 12:19 pm
by bryanav8r
Greetings, all. Newish user here migrating from an embedded church service switching system (basically a camera switcher) to the Mini Pro to give us some flexibility and production capabilities over a simplisting A/B switch to feed Castr or the service provided by the installer.

Wondering, to make it easy for the non-tech user, if there is an XML keypair for the Settings.xml file that would allow me to store, in the settings file, the stream key for the distribution/restream services we use. Seems to me (and I may be off base, so if so, please let me know) that, after searching the forum(s), this has been asked before, but never saw any response. I'm not worried about someone pushing the on-air button since the Mini and PC are located in a locked room.

If I'm missing something ...please excuse, but thought I'd throw this out an see if there is any insight or solution that anyone has come across.

TIA

Bryan

Re: Saving Stream Key(s) in Settings.xml

PostPosted: Mon Sep 02, 2024 8:42 pm
by Jim Simon
I'm not aware of this being possible, just because the Streaming Key will sometimes change.

Our handling is to keep a Streaming Keys text file in the Documents folder of the Laptop so it's always easy to Copy/Paste when needed.

Re: Saving Stream Key(s) in Settings.xml

PostPosted: Mon Oct 07, 2024 4:50 pm
by Mackenflow
I'm running a mini pro direct to a streaming platform, no laptop.

It's very inconvenient to have to re-enter a stream key, grrrr

Re: Saving Stream Key(s) in Settings.xml

PostPosted: Mon Oct 07, 2024 8:15 pm
by Gary Adams
There are two things you can do to save a key.

1) Set the key up in the Software Control and start streaming to verify everything is working. Then use File->Save the Startup State. Wait 30 seconds before shutting down the ATEM. When you next power up even without the ATEM software running you should be able to hit On Air and the stream will start as the key is retained in hardware at this point. Note when you power up it will not auto start streaming.

2) Make a custom XML file for YouTube with the stream key inserted. Load this custom file from the Stream->Load Stream Settings and the key will be inserted in the field. This method uses the software but doesn't require typing in the same key. A custom XML would look like this at the top:

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<streaming>
   <service>
      <name>YouTube Test</name>
      <key>You-Tube-Stream-Key</key>
      <servers>
         <server>
            <name>YouTube Test</name>
            <url>rtmp://a.rtmp.youtube.com/live2</url>
         </server>
      </servers>


I verified both of these work with YouTube. I hope this helps.

Gary

Re: Saving Stream Key(s) in Settings.xml

PostPosted: Fri Oct 18, 2024 7:31 pm
by whankin2
Gary, is there an updated XML file that would help to make the YouTube stream work? I keep getting cache full error and YT not receiving date issues. I am using firmware 9.6.2. I suspect it has to do with the bit rate. Any help is greatly appreciated, because currently I cannot stream our services reliably, thanks

Woodrow

Re: Saving Stream Key(s) in Settings.xml

PostPosted: Wed Nov 13, 2024 9:45 pm
by bryanav8r
Thanks, Gary.

I'm using my MiniPro with Castr as my re-distribution feed, so, your #1 seems to be the best way to handle and use #2 as a backup if (when?) some electrical glitch in this 120-year-old electrical wiring building does its thing (my equipment is on the other side of a UPS from the building, so, I'm trying to minimize issues there...) Don't need/want autostreaming, so we're all good from that angle, since we roll slides before any feed from OBS thru the mini and segue to live when we start.

Wondering, though, if I couldn't just put the stream key (it hasn't changed at Castr in 3 years...which is why I chose them...) in the regular settings file using the <key> ... </key> entry? Just a thought.

Thanks much for the feedback and information!

Bryan

Gary Adams wrote:There are two things you can do to save a key.

1) Set the key up in the Software Control and start streaming to verify everything is working. Then use File->Save the Startup State. Wait 30 seconds before shutting down the ATEM. When you next power up even without the ATEM software running you should be able to hit On Air and the stream will start as the key is retained in hardware at this point. Note when you power up it will not auto start streaming.

2) Make a custom XML file for YouTube with the stream key inserted. Load this custom file from the Stream->Load Stream Settings and the key will be inserted in the field. This method uses the software but doesn't require typing in the same key. A custom XML would look like this at the top:

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<streaming>
   <service>
      <name>YouTube Test</name>
      <key>You-Tube-Stream-Key</key>
      <servers>
         <server>
            <name>YouTube Test</name>
            <url>rtmp://a.rtmp.youtube.com/live2</url>
         </server>
      </servers>


I verified both of these work with YouTube. I hope this helps.

Gary

Re: Saving Stream Key(s) in Settings.xml

PostPosted: Fri Nov 15, 2024 9:41 pm
by greggbhill
FWIW:
I frequently do test streams to verify changes in my hardware and software over time. I have a “live” default key and I set up a separate “test” key. I schedule livestreams out a few weeks using the “live” key, and then schedule test streams as needed using the “test” key.

I created 2 macros: 1 that sets the ATEM key to the “live” key, and the other sets the ATEM key to the “test” key. I just press the appropriate macro button prior to starting a stream - no typing, no copy/paste…