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

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

ความคิดเห็น • 51

  • @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 ?

  • @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 ?

  • @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!

  • @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 2 ปีที่แล้ว

      i guess you could use other app that does the same

  • @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!

  • @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

  • @gf2000-i1d
    @gf2000-i1d 2 ปีที่แล้ว

    Is that need fast internet to connected

  • @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

  • @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.

  • @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 2 ปีที่แล้ว +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?

  • @zulcua4939
    @zulcua4939 2 ปีที่แล้ว

    Cmd says it can’t find desktop can someone help

  • @newbeeclassic4026
    @newbeeclassic4026 2 ปีที่แล้ว

    Asanma hookah

  • @MatthewJones876
    @MatthewJones876 ปีที่แล้ว

    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  ปีที่แล้ว

      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.

  • @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?

    • @slughead
      @slughead  2 ปีที่แล้ว

      With OBS, yes

  • @eqyi
    @eqyi 2 ปีที่แล้ว

    fkin LEGEND

  • @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

  • @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?