How to stream from PC to TikTok using OBS and nginx without stream key

Sdílet
Vložit
  • čas přidán 13. 04. 2022
  • How to stream from PC to TikTok Without a stream key using OBS, please note that this method requires that you have unlocked "mobile gaming".
    This tutorial will show you how to set up your own NGINX rtmp streaming server on Windows 10
    nginx download nginx-win.ecsds.eu/download/
    rtmp code for nginx config
    rtmp {
    server {
    listen 1935; # Listen on standard RTMP port
    chunk_size 4000;
    buflen 10s;
    application show {
    live on;
    record off;
    }
    }
    }
  • Věda a technologie

Komentáře • 51

  • @xxidbr9
    @xxidbr9 Před 2 lety +1

    bro great video, i do use nginx for loadbalancer but never though of this lol 😅

    • @slughead
      @slughead  Před 2 lety

      I mainly use it for reserve proxying, but having discovered the RTMP side of NGINX a few months ago, it's given me so many ideas. can even use it to push to multiple streaming services at once without needing re-stream type services!

  • @Jehb
    @Jehb Před 2 lety +2

    The most informational video i found that actually worked.
    My only problem at the moment is that when i switch apps after going live for mobile gaming, my broadcast ends... any suggestions? Im using an S21 Ultra

    • @slughead
      @slughead  Před 2 lety

      I've had that when I've had the wrong live mode selected

    • @Jehb
      @Jehb Před 2 lety

      @@slughead which live mode do you suggest ? Im on mobile gaming ?

  • @kronick386
    @kronick386 Před 2 lety

    Hello man, thank you for this tips, did i need to do this everytime i wanna stream ? Like going on cmd and launch the config file ?

    • @slughead
      @slughead  Před 2 lety +1

      You would need to have nginx running, you could add that command to a batch file and pop that in your startup folder and it'll launch every time you turn your computer on.

  • @LOX567
    @LOX567 Před 2 lety

    Is that need fast internet to connected

  • @Tracer01410
    @Tracer01410 Před 2 lety +2

    Hello, everything works for me but i can't find a way to mute my phone's microphone. When i live i can be heard on the stream but also via the microphone of the telephone :/ A solution for me ?

  • @newbeeclassic4026
    @newbeeclassic4026 Před 2 lety

    Asanma hookah

  • @zulcua4939
    @zulcua4939 Před 2 lety

    Cmd says it can’t find desktop can someone help

  • @byHelper
    @byHelper Před 2 lety

    Hey. Streaming lags a lot (Not because the OBS client side or the phone). Looks like I have to manage a little bit with the settings in order to set correct buffer times, etc.

    • @slughead
      @slughead  Před 2 lety

      It does a little if your bitrate is high, you don't need it super high if your streaming on mobile, screens are much smaller so low quality isn't going to be noticed.
      From what I've noticed, this is usually due to the wireless transmission speed to and from your phone.
      Try turning the bitrate down a little in OBS and that should solve it, try 2000?

    • @byHelper
      @byHelper Před 2 lety

      @@slughead I've always used 6000. Anyway, I think I've found a better config. Try this one (And I think it is gotta be good if you add it to your description). It just add support for buffering.
      rtmp {
      server {
      listen 1935; # Listen on standard RTMP port
      chunk_size 4000;
      buflen 20s;
      application show {
      idle_streams off;
      live on;


      record off;
      }
      }
      }

    • @slughead
      @slughead  Před 2 lety

      @@byHelper good call on adding a bufferimg amount to the config, will try this tomorrow, should work smoother!

  • @magnusdice8932
    @magnusdice8932 Před 2 lety +1

    Did Tiktok impliment a fix? When I go live on tiktok, then open VLC, it starts to only do audio instead of video

    • @pulseluft
      @pulseluft Před 2 lety

      same for me

    • @slughead
      @slughead  Před 2 lety

      Works fine still, was able to stream skyrim for an hour today using this method

    • @LeleTheMonke
      @LeleTheMonke Před rokem

      i guess you could use other app that does the same

  • @eqyi
    @eqyi Před 2 lety

    fkin LEGEND

  • @ranechris3560
    @ranechris3560 Před 2 lety

    The system cannot find the available path. what problem pls help

    • @slughead
      @slughead  Před 2 lety

      Sounds like you are either not running nginx from the correct path or putting the correct path in for your config file

  • @nftworlds2898
    @nftworlds2898 Před 2 lety

    Is there a technician to block the tiktok microphone in case I put a pre-recorded video of mine, to avoid ambient noise

    • @slughead
      @slughead  Před 2 lety

      It doesn't look like, but if you're playing audio from obs then it should get drowned out

    • @LeleTheMonke
      @LeleTheMonke Před rokem +1

      u could try turing off mic permission for tiktok on ur phone app setting

  • @alialyahya6472
    @alialyahya6472 Před 2 lety

    not working when vlc open my stream. then start tiktok vlc cant open my stream again please help

    • @slughead
      @slughead  Před 2 lety

      Have you got NGINX setup correctly?

  • @yungpaco
    @yungpaco Před 2 lety

    doesnt work anymore for me on my both phones. Iphone 13 mini and Lenovo m8 . they implemented that the live wont be shown wenn streaming or watching videos

    • @slughead
      @slughead  Před 2 lety

      Just tried, still working fine from a Samsung S10

    • @yungpaco
      @yungpaco Před 2 lety

      @@slughead hm thats weird

  • @zulcua4939
    @zulcua4939 Před 2 lety

    Stuggling to get into the folder using cmd someone help

    • @slughead
      @slughead  Před 2 lety

      To get into the folder you want, in the command screen type in "dir" this will display the contents of the current folder, if the one you're looking for is in there type "cd nameoffolder" then press enter

  • @abitsolihin1102
    @abitsolihin1102 Před 2 lety

    Can I add Overlay sir?

  • @k1daL97
    @k1daL97 Před 2 lety

    how did you get mobile gaming? :D

    • @slughead
      @slughead  Před 2 lety

      Randomly, at the time I had just posted me first video in 5 months and only had 2600 followers

    • @k1daL97
      @k1daL97 Před 2 lety

      @@slughead yeah.. fck1n tiktok brainless company.. i got 6k, i've been streaming over 1k hours and nothing..

    • @yungpaco
      @yungpaco Před 2 lety

      i got it 2 month after hitting 2k follower

  • @MatthewJones876
    @MatthewJones876 Před 6 měsíci

    You should put “needs to have basic coding understanding to use method” because you don’t explain the command prompts well, don’t even mention the coding for ++ is in the description. And even then my lines and your lines of coding on that are way different anyway.

    • @slughead
      @slughead  Před 6 měsíci

      There's literally no coding in this video at all, that's just a config file.
      Besides, just use tiktok studio these days. This was before Tiktok studio was released.

  • @fonzhotproperty2463
    @fonzhotproperty2463 Před 2 lety

    really bad video soo long

  • @boomer5977
    @boomer5977 Před 2 lety

    After trying this I got to the step of connecting VLC to the server. I can verify its streaming to 127.0.0.1. But it doesn't accept the real rtmp://realip/show/streamkey url. It also doesn't work if I change rtmp to rtsp. Both the phone and the PC are on the same wifi.

    • @slughead
      @slughead  Před 2 lety

      Are you connecting to your real IP? If you're doing that way you'll need to do some port forwarding on your router. But that's not what you're trying to do, typically they address you'll be connecting to will be a 192.168.x.x address.

    • @boomer5977
      @boomer5977 Před 2 lety

      @@slughead Yeah, sorry the 192.168 address is what I mean by "real ip" rtmp://192.168.x.x/show/test and pressing the orange arrow next to the url box clears it out and doesn't do anything.
      I was about to ask about port forwarding. Does that need to be done?

    • @boomer5977
      @boomer5977 Před 2 lety +1

      @@slughead The specific error in vlc on android is "multiple media cannot be played" after inputting the address.

    • @slughead
      @slughead  Před 2 lety

      @@boomer5977 That's a weird one, how's the wifi signal on your phone? Force restart the app. Add "buflen 20s;" to the server section on it's own line and restart nginx

    • @boomer5977
      @boomer5977 Před 2 lety

      @@slughead 10/10. I'm right next to it. Specifically how do you restart nginx? Is there any other way besides the command line?