How to set up SRT protocol for IRL streaming | sprEEEzy’s Budget IRL Backpack Guide #1
HTML-код
- Опубликовано: 16 май 2021
- IRL Streaming is the hottest category on Twitch these days, and the tech behind it is advancing at almost the same pace. SRT brings the much needed advancements in reliability and stability, and to our surprise, it's much easier to set up as well.
In this guide we'll cover basic SRT setups, and also share the best SRT settings we've found so far, that make the streams much smoother and reliable. OBS now supports SRT as well, which makes the whole ecosystem perfect for integration in almost every existing stream setup out there as well.
★ sprEEEzy's preferred SRT commands (copy & paste, replace with your address and port)
Encoder/Phone side (Caller): srt://[your_public_address:port]?mode=caller&maxbw=1500000
OBS Side (Listener): srt://[your_local_address:port]?connect_timeout=3000&latency=2000000&listen_timeout=5000000&mode=listener&smoother=live&transtype=live&timeout=5000000
Larix Screencaster (Android): play.google.com/store/apps/de...
Larix Screencaster (iOS):
NoIP (free static address): www.noip.com/remote-access/co...
Discord community: / discord
SRT parameter list: ffmpeg.org/ffmpeg-protocols.h...
OBS latest candidate release: github.com/obsproject/obs-stu...
TBS2603SE Documentation and Guides: www.tbsdtv.com/download/index...
Gear in the video: kit.co/sprEEEzy/spreeezy-s-bu...
Watch sprEEEzy's stream daily at: / spreeezy
★ Info
Croatian variety streamer, started streaming full-time late 2017. The stream is (mostly) family friendly. Gaming background: spreeezy.com/about/
Master's degree, Computer Software Engineering @ FER, Zagreb.
★ Support
Donations: streamelements.com/spreeezy-7...
Contribute for free by using affiliate links or creator codes when making purchases: spreeezy.com/donate/
★ Gear / PC Specs
Camera / Travel Equipment: kit.co/spreeezy/travel-vlog-e...
Studio Gear: kit.co/spreeezy/spreeezy-s-st...
Gaming Gear: kit.co/spreeezy/gaming-gear
Gaming PC: kit.co/spreeezy/spreeezy-s-ga...
Stream PC: kit.co/spreeezy/spreeezy-s-st...
As an Amazon Associate I earn from qualifying purchases.
★ Partners & Business
Want to become a partner? Business inquiries: spreeezy@coderedesports.com
★ Social
Twitch: / spreeezy
Twitter: / spreeezyow
Discord: / discord
Facebook: / spreeezy
Instagram: / spreeezygaming
TikTok: / spreeezygaming
★ Schedule (Twitch Stream)
Monday: 12:00
Tuesday: 12:00
Wednesday: 12:00
Thursday: 12:00
Friday: 12:00
Saturday: -
Sunday: 16:00 (Sometimes community games)
Times are CET (Central European Time, UTC+1). Starting times are estimates and may vary +- 2h.
Animated Graphics by dh Designs
goo.gl/QtFKct
As an Amazon Associate I earn from qualifying purchases. - Хобби
Big news! I've made a dedicated tech channel: ruclips.net/channel/UCt3O3ScWSlpGGiXLVMSNJRg - It'll feature all kinds of IRL / Streaming / Tech videos.
Want to know more on IRL setups? Full playlist available here: ruclips.net/p/PL-czD6_A6J7RXT1EKFFgBP3PJCPaBLPFL
--
One thing that I missed to mention is that you might need to forward the port you're using for the SRT stream (the example "22222" port in the video). I didn't have to myself, but it depends on your router and home network setup!
All info can be found here: portforward.com/, it's not hard at all :)
For best results with SRT, use OBS v27: github.com/obsproject/obs-studio/releases
Please describe "forwarding the port."
@@thegameshooters4188 Hey, it's the process of opening a port on your router, so the stream can access your home network (i.e. the stream PC within in). More here: portforward.com/
Dude, you simply saved my sanity, my work and made an entire idea come out of the paper. I'm starting a totally new streaming/broadcasting company today with your help. Soon i'll be strong and rich enough to thank you properly! This saved my life!!!!
A life saved!
Followed this to the letter and I am infinitely grateful. I am streaming from my phone using this method and did my first actual IRL stream today and it was amazing. Thanks again for making this guide.
Finally found a good video that goes into detail about this. Thank you!
Great video. Good work dude 😎👍
BROOOO !! LEGEND !!! i've literally been racking my last brain cells for, not even exaggerating, 3 or 4 hours oooooweeee
love the SRT stuff!, still trying to get it to run on my setup
Great! Now I'm waiting for the video - how to do it with the GoPro 🔥🔥🔥
Watched the 2 tutorials. Recently looked into IRL streaming and yep .. the running cost of lets say the LiveU unit is the most prohibiting cost. But I also love the idea, that this means the stream is so much more customizable.
I'm a bit confused on the additional commands you applied in the URL. Those commands are from FFmpeg via the libsrt? Does that mean the TBS2603SE is using the libsrt library from FFmpeg when it is doing the encoding? So if a different encoder was used, it may not be using libsrt as its encoding library, and thus these parameters wouldn't work?
Looking good 🤠
very enlightening indeed!!
Gary Birch
I've got it working with WiFi but 4g doesn't work, I've checked everything multiple times and there is something wrong? How do I get this working?
Got it working on obs with my phone but it's very glitchy! (Grey screens, assuming that's connection issues) Am I able to use my phone camera as the live streaming device if so how as the camera app itself of course has loads of overlays and all sorts of stuff in the way. Am I missing something here?
Thanks.
Thanks for the info. I'm currently using the LIVE U and looking for a lighter weight setup.
Join us on the Discord if you need any help or inspiration!
Hey Thank you for this Video. Do i have to setup a srt server in my pc in order to stream and recieve?
works mint
Hardware decoding or software decoding, which do you recommend
TY TY for the info. The mediasource reconnects for me, but it was the Loopy SRT Stats Monitor that will not change back to the live scene.
Update: I fixed the scene changing part. Now the whole thing works like a perfect outdoor IRL streaming charm
Does AVMATRIX SE1217 H.265/264 HDMI Streaming Encoder is able to provide me the same result as the TBS 260 Se would do? If yes, via RJ45 to router streaming to RUclips, do you know the average latency? 2000ms, or the same as RTMP (6 seconds)?
Thank you very much indeed
so this whole srt protocol video is for people who want to stream using the phone? i want to use the gopro i have the same exact setup as you, are the steps differnet? do i need to open my phone at all
Great vid!! A bit off topic, would anyone know of an livestream app that can support UVC camera as an input ideally for Iphone, but I will take Android if have to? Looking to make a simple livestream setup and later explore the SRT feature.
Merci thank from France for your help
I tried 4G it did not work. I encoded my public PC IP Address in my phone.
Yeah a lot of people seem to have this problem, including me but nobody seems to have a solution.
will this work with an M1 Mac running obs?
I use a Galaxy Tab A7 to live stream when I'm on the road. How can I add a 2nd camera? I've tried droidcam and a few others but they don't cast in Fullscreen. I'm trying to use the back camera for driving view and the front camera as an in cabin camera.
Hello, i have probleme with my OBS and my STR video. I use Larix Broadcoaster, and when i connect on my obs's computer, i only have the sound, no image only black screen. Any one can help me ? thx
PS: thank you for you video !
How do you go live with the GoPro?
5:22 Don't understand how you incorporate the phone/screencaster into the mix?? How does my Netgear m1 send the signal back to my computer/obs??
what is the best app for iphone to make this, only larix?
Thanks a lot I always look here for the SRT URL to get Larix working again through OBS, I only get it to work only on Android and not on iOS anymore. Need to refresh phones perhaps! TY alot anyways again! BTW why local ip instead of iNET ip like WAN IP or am I completely stupid since obs doesn't run on routers haha ? :P Always thought that linux was also a router or acting as one, like ipmasq ip masquerade etc. And I always get a message like a pop up that it can't connect to the server but it still works tough!
@ timestamp 6:43 you have a rtmp url under the 'multicaster addr' slot in the 'HDMI' channel . Is this important for us as well?
Nope, its not used
Why did you download Larix screencaster and not broadcaster?
It doesn't matter, they're basically the same; except the video source.
hi sprEEEzy, thank you for all your irl tutorial videos, i've learned so much! is it possible to use camlink/hdmi capture card with our phones and stream with SRT? i've tried the larix broadcaster app but i don't think it supports it. thanks in advance!
Not really. Phones typically don't have strong enough USB ports to handle a high quality inbound video from a capture card. Not to mention there isn't a good app to handle capture cards either.
Any tips on doing this exact same thing but with RTMP?
Dose this work with the Belabox ?
Working if both are connected to wifi but when i used data for my phone even if i have a static no ip it says not connecting to the server. Port forwarding was set up correctly and firewall disabled
GReat vid, looking forward to disconnect protection etc. does it incude automatic scene switch when losing connection?
hi!! nice vid thank you!! any changement? I try but : Can't connect server... How to find what's wrong? it's so easy but it does'nt word ;(
Hi, thx for your vidz, Larix Broadcaster is pretty cool but in local network... How to setup port's router I don't find how to
Got it working but yeah there is still a reconnect bug while recording in OBS
can I do this setup if my PC/desktop in hotel wifi network ?
how do I do this with gopro?
ok Im a little confused maybe because I dont understand how everything works...how do we get the video from Gopro to OBS? I only saw how to do it with the phone...
For tech questions, best you visit our Discord! Discord.gg/spreeezy
Does all this work well in the UK?
Is it possible to have multiple SRT Streams into OBS at the same time? I am looking to have multiple encoders for different angles on my car, and be able to switch different scenes in obs with different SRT Streams. Would it be possible to use a AWS server, or a different port for each stream?
Check out my latest video on Loopy's SRT Monitor!
Of course it is possible. You just need to transmit other signals over different ports.
Do you need to keep your PC/OBS on while you IRL stream?
Yes!
Can I use this app and a sony action camera for IRL streaming? I want to have overlays and alerts .. so can I somehow connect my Sony action cam?
That'd be hard without a mobile encoder + router setup. You really want to use the SRT protocol.
Does this also work with streamlabs obs? Cant get in working in slobs...
Nvm it's working now. lol
Hello! I've got it working with WiFi but 4g doesn't work, I've checked everything multiple times and there is something wrong? How do I get this working? It just says 'cant connect to server'.
Same here.
It wasn’t explained on this video but you need to make a port forward from the public ip to private ip with the chosen port under your home router’s settings
I get cannot connect to server when i try to use srt with my external ip address
I wonder what the lowest acceptable bitrate would be using HEVC + SRT for 720P streaming
720@30? HEVC like 2.8Mbps lower than that it's going to look like crap IMO..
So many technical terms used wrong in this video, but kudos for putting it out there! I'll definitely check it out again later when I'm not mowing 😂
Oh yeah?
@@sprEEEzy sorry... I left you hanging lol
5:40 - "Most home IPs change every day" not really the case anymore. Your phones IP will change often and it probably won't even get its own IPv4 address, but most ISPs don't change your IP very often. Some won't even change it if you ask. My "dynamic" IP hasn't changed in years.
Second, "noip" doesn't give you a static IP. It gives you a dynamic DNS. That way if/when your IP does change, the domain name will follow. Your IP is still dynamic, it's just easier to find if it changes. Also, a domain name shouldn't add a second of delay. DNS responds in milliseconds and your phone only needs to look that up if it expects the IP to change.
Third, I think you missed a crucial step of port forwarding. Unless SRT can somehow work from the outside without port forwarding, viewers will need to enable this on their routers.
Just noticed too you said the 1,500,000 number was in Bytes. I think that might be backwards 🤔 Each Byte is 8 Bits. Bandwidth is typically measured in Bits per second - even with video. If so, 1,500,000 Bits would be 1.43 Megabits, which seems more likely than 1.43 Megabytes (11.44 Megabits).
Again, this is just feedback from what I picked up on. It's fantastic that you're making videos and this appears to be a popular topic! Keep up the great work!
Cool vid, thanks for making it, however I could only get it it to work when my iPhone was on my home wifi (same network as my PC). Doesn't work on a cellular connection. Changing the IP address from your local IP to your global IP doesn't work (yes port is forwarded). I can stream to NOALBS over RTMP etc. but yeah, can't do SRT from outside my home network. Not sure why, checked your Discord for answers, and other internet searches, and couldn't find anything on this to help me figure it out. Insert my sad face, lol.
I'm in the same boat. Was able to get it to work over SRT in September of 2021 but its not working now.
same here
So in OBS media source, is SRT just built in to listen? or do I have to install Nginx or some sort to setup a server?
Built in! Make sure to use at least version 26
@@sprEEEzyHey~, I was able to get my encoder to connect SRT 265. but nothing is showing in obs for some reason. Tried with larix and larix can't connect for some reason. I'm also using NOIP srt://hostname:port?=mode=caller and mode=listener (didn't add any of your appended settings to make sure I can get it running first.
I opened my port for the router, but the website confirmation says its still closed?
I checked netstat and i confirmed my local ip is using the 22222.
I can rtmp 264 nginx just fine, not so sure what I'm missing.
@@Resvlive Try calling your ISP and tell them to turn off CGNAT if it's on.
@@sprEEEzy There seems to be a lot of comments complaining about not being able to initiate a SRT stream over 4G and replies relating to CG-NAT. Carrier grade NAT shouldn’t be at all relevant in this scenario, unless for some reason you reverse the assigned SRT modes of the encoder and decoder pair, so that OBS is the ‘caller’ and the encoder (Larix Broadcaster etc) is the ‘listener’, which is still a perfectly valid configuration, but this would require access to the public IP address of the 4G modem, something which is not achievable for the vast majority of consumer mobile connections due to CG-NAT. The only other circumstance in which I can envisage CG-NAT being relevant is if the ‘home’ computer running OBS /vMix is itself connected to the internet via 4G broadband, in which case it is unlikely that the router’s WAN address could be reachable, again due to existing behind a NAT, in exactly the same manner as the reverse for a mobile phone over 4G.
In all likelihood, everyone here posting almost identical comments about getting their stream to work on the LAN but not having success over the internet is simply not aware of the need for port forwarding to be enabled on their router or a VPN connection to be established.
@@aaronm9353 @Aaron M Thanks for the comment! I'd say you're probably right, because most of the issues were fixed by doing other stuff - firewalls, ports, etc.
Hello, thanks for this nice video. I have a problem connecting via LTE. My cell phone shows me an unknown connection error. Could it be CG-Nat? My ISP doesn't support an IPv4 address on my current contract. So that's my current guess as to why it doesn't work.
Possibly. It not easy to troubleshoot with little info. Maybe best you try the tech channels on our Discord
@@sprEEEzy ty, will do 😊
Cant get it run with mobile Network
I got an Ipv6 Router und try Ipv6 Host Exporsure but nothing funktion. Anyone got an tutorial for the network settings fr ipv6 ??
Hi, can I use a dslr camera for live streaming with SRT protocol?
Yes!
Great video. But instead of OBS....can vMix be used ?
Think so. I can recall seeing vMix SRT somewhere.
Hi! Nice tuto but with my phone (iOS) when I tried with 192... it works but for the 4G part it "could not connect to server". Can someone help please? thanks
Yeah I have exactly the same problem. Works fine with 192 but when switching my phone to the public IP and connecting with 5g it fails to connect to server. Did you ever solve it?
Hi I'm thinking of buying the gear, but in the comments there are a lot of people saying it isn't working with 4g. Can you make a video talking about how to get it work with 4g?
Join our Discord if you have any questions! Theres an FAQ list as a pinned message in the tech channel!
I downloaded the larix screencaster onto my iphone and couldn't get the option to "start" the screencast. I was able to setup the connection url / srt, but unable to start the stream?? There is something called larix grove that I couldn't quite understand. On the OBS end, it looks pretty straight forward, however am I missing something on the larix screencaster side? is it because i am trying to do it on a iphone?
For tech questions, best you visit our Discord! Discord.gg/spreeezy
@greg hunter I just installed Screencaster app on my iPhone 6S and have same issue. Did you get a response/solution to not being able to "start" screencast? (I also haven't seen H265 option yet). It seems the menus are different from this video?
@@BrokerBasil Hey BrokerBasil - best to visit our Discord if you need any help with advanced topics! Discord.gg/spreeezy
@@sprEEEzy yes thanks - done. FYI I ended up using the Broadcaster which it seems is also OK and solves the issue.
hey Mate ! I tried downloading the larix but it doesn't have a start button to start streaming ? and it is also now very different looking app.
First you need to set up a valid connection (IP address, etc)!
it is Larix Screencaster not Larix Broadcaster 🙂
Does GoPro support SRT? Can I send the video from GoPro to OBS with SRT instead of RTMP? Great video!
Unfortunately not. That's why I made a whole series of videos on the topic.
@@sprEEEzy thank you for your quick response! I will look into your other videos aswell.
I have tested this setup with the latest versions, but my OBS keep crashing so I have to remote to it constantly during my stream it's so annoying and I lost some viewers during the crash too 🥲
Use Windows Event Log to find the cause
thank you.. do i need a passphrase?
U can use it if you want
Great video. Really good condensed information. But sad to see all the bots in chat demanding you to play pubg ...
is there a free alterative to larix?
Try IRL Pro
Hello,
Thank you for your super interesting video that I will quickly try.
I would like to configure an SRT server with Nginx and Windows 10, do you know how to do it?
Thank you
SRT server is made by creating an OBS media source with the correct parameters, as explained in my videos.
@@sprEEEzy it's perfect
You simpluly have yo make another video on this topic how to set it up in obs or vlc
Couse it aint working
Only with rtmp
And its realy frustrating i bo8ght all the things and want to work so bad couse your rite about one thing stteaming rtmp on h264 ist wortjit i want it to work on srt , h265 too
Dear sprEEEzy ! I have this setup in front of me - TBS2603SE, GoPro10, Netgear M1 - it works fine using the same network, but I don't get it where to change my external IP on the netgear M1 - the part on this video on 5:16. Please, please help me... I'm sleepless since two nights. Thank you!!
Hey Werner! Come to our Discord (discord.gg/spreeezy) - we're helping everyone over there!
Hei this technique is working just between wife and PC on OBS ?
You can stream to any platform without using OBS, but then you need to use h.264 encoding instead of h.265
@@sprEEEzy Thank you so much
Do you have some video explaining that?
Whatever I do, I can't open ANY port on my computer. I tried EVERYTHING. The port that I specify to open in my Firewall, Windows Defender, AntiVirus, Router ALWAYS (despite showing open in all these places) remains closed when I check it from the outside and NOTHING comes through. Is there a tutorial for THAT? How to get that freaking port open? How come yours is open by default when usually they're all closed by default?
I am stuck at same problem. Did you found any solution?
shouldnt you be using larix broadcaster instead of larix screencaster? i use screencaster and then try to use my phone camera using the camera app and cant figure out a way to remove all the camera buttons for like 30 mins. then realize i should be using broadcaster so that it would work like a camera streaming to obs
I'm not sure I'm following...
Am I wrong or did you forget to mention that you also need to perform a complex SRT server installation first?
OBS media source is the server.
@@sprEEEzy You are right! Thanks.
I have a static ip but no matter what I do I cant get it to work on mobile data
did you figure it out
Great video! Subscribed, liked and inspired. I managed to replicate the WIFI setup - fabulous. Then just changing the IP setting on the mobile phone to the computer IP does not let me connect anymore. Is this the dynamic IP issue? Or my internet provider blocking? Thanks for your reply!
Hey, best you come to our Discord at discord.gg/spreeezy and ask away there!
is there anything for IOS?
How much data uses srt?
Same as other similar protocols.
what do you add to url string in obs media source to add a password for larix broadcaster
That would depend on the platform. Probably something like &key=yourstreamkey
@@sprEEEzy If anybody else asks, append the browser source input string with &passphrase=password
@@sprEEEzy Thanx for the vids... i like using the srt monitor... had two cams and finally set it up for multiple cams steaming on two different cell networks... now i dont go to brb unless they both fail... btw.. i had that happen and they stayed down for almost an hour... i think being on tmobile and verizon and they dropped and came back online at same time that larix servers must have went down.
No router port forwarding required?
It usually is required.
Iphone App doesn't have a start button
You left a big thing out, which is port forwardig on your home router if you want to use the public IP address or the noip domain name. To be honest, I'd rather setup a quick OpenVPN on a raspberry pi or something instead of having it directly exposed to the public internet..
I think u should use Private VPN like OpenVPN or TwinGate in place of port forwarding, If your IP leaks than your stream can be hijacked...
The video has 2 years but maybe someone can help. When changing the local ip to my external ip the srt connection is not working. I followed the video, changing only the ip on the phone.
You need to apply a port forward for the given port.
How to do this?@@sprEEEzy
I wish I found this before selling my tbs for £100 less. Hm. I just couldn’t get it to work was pissing me off badly. I’m a noob ?!
done subscribe sir and like
good video, it works but is there a way to watch the chat for twitch while streaming?
Yes! Realtime Chat (by muxable / muxfd), android and ios app
Didn’t work
why u not uploading or streaming on youtube ??
Cause I'm streaming on Twitch! www.twitch.tv/spreeezy
First to comment!!😀😀
Was going great until we started talking about no ip please can you do a STEP BY STEP litterally no skiped steps, have bought all the things and the nighthawk , thanks 🤩
Did You solve the problem?
@sovereign pokemon ohh I was about to buying it but now I don't know what to do. Have You tried another way?
@sovereign pokemon Maybe your ISP is using carrier grade NAT. Means the public IP you see over on google is the IP of a sub-network with many subscribers from your ISP. You need to get a static IP from your ISP by calling them. They may or may not charge you for it.
When you are going to play a game ?
I'm playing games almost every day, feel free to stop by: www.twitch.tv/spreeezy
@@sprEEEzy i am downloading it now
hevc xD sound funny
i don't like the term budget.
....
lets say "griftless", anyway this is impressive as hell, just hellla impressive.
and uhhhhhhhhhhhh
ip2alwayswins
last i remember this channel was about best pubg player
Please do some pubg stream!
Well you looking healthy 😍🥰
keep uploading pubg videos ,love your gameplay❤👌
Play pubg dude
I've got it working with WiFi but 4g doesn't work, I've checked everything multiple times and there is something wrong? How do I get this working?
I m facing same problem. Please let me know if u find solution.
Same problem here. Someone, please have the answers 😅😅
same here :'d
@@Perceivingmindttv I got it working! I just needed to set up port forwarding on my modem for the port the SRT was going through. It's different for every modem and internet provider so google how to port forward on "your internet provider" and it should work after that. I hope you guys work it out! It works like magic for me!
@@BrandonDrummond can you elaborate this more? Because I've been trying to port forward 5 different ports and all alre "closed" if I check it with a port checker.