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

Поделиться
HTML-код
  • Опубликовано: 13 апр 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;
    }
    }
    }
  • НаукаНаука

Комментарии • 51

  • @xxidbr9
    @xxidbr9 2 года назад +1

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

    • @slughead
      @slughead  2 года назад

      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 2 года назад +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  2 года назад

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

    • @Jehb
      @Jehb 2 года назад

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

  • @kronick386
    @kronick386 2 года назад

    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  2 года назад +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 2 года назад

    Is that need fast internet to connected

  • @Tracer01410
    @Tracer01410 2 года назад +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 2 года назад

    Asanma hookah

  • @zulcua4939
    @zulcua4939 2 года назад

    Cmd says it can’t find desktop can someone help

  • @byHelper
    @byHelper 2 года назад

    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  2 года назад

      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 2 года назад

      @@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  2 года назад

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

  • @magnusdice8932
    @magnusdice8932 2 года назад +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 2 года назад

      same for me

    • @slughead
      @slughead  2 года назад

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

    • @LeleTheMonke
      @LeleTheMonke Год назад

      i guess you could use other app that does the same

  • @eqyi
    @eqyi 2 года назад

    fkin LEGEND

  • @ranechris3560
    @ranechris3560 2 года назад

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

    • @slughead
      @slughead  2 года назад

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

  • @nftworlds2898
    @nftworlds2898 2 года назад

    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  2 года назад

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

    • @LeleTheMonke
      @LeleTheMonke Год назад +1

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

  • @alialyahya6472
    @alialyahya6472 2 года назад

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

    • @slughead
      @slughead  2 года назад

      Have you got NGINX setup correctly?

  • @yungpaco
    @yungpaco 2 года назад

    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  2 года назад

      Just tried, still working fine from a Samsung S10

    • @yungpaco
      @yungpaco 2 года назад

      @@slughead hm thats weird

  • @zulcua4939
    @zulcua4939 2 года назад

    Stuggling to get into the folder using cmd someone help

    • @slughead
      @slughead  2 года назад

      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 2 года назад

    Can I add Overlay sir?

  • @k1daL97
    @k1daL97 2 года назад

    how did you get mobile gaming? :D

    • @slughead
      @slughead  2 года назад

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

    • @k1daL97
      @k1daL97 2 года назад

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

    • @yungpaco
      @yungpaco 2 года назад

      i got it 2 month after hitting 2k follower

  • @MatthewJones876
    @MatthewJones876 6 месяцев назад

    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  6 месяцев назад

      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 2 года назад

    really bad video soo long

  • @boomer5977
    @boomer5977 2 года назад

    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  2 года назад

      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 2 года назад

      @@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 2 года назад +1

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

    • @slughead
      @slughead  2 года назад

      @@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 2 года назад

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