carlosonunez / obs-installer-for-apple-silicon

Conveniently build and install OBS from source on your ultra-fast Apple M1 MacBook or Mac
206 stars 22 forks source link

Cannot stream to Facebook Live #21

Closed benshawuk closed 2 years ago

benshawuk commented 2 years ago

Trying to stream doesn't connect - it instantly fails with an error - "Failed to connect to server" as though it isn't attempting connection at all. Probably other streaming services are the same. Intel version connects without issues.

carlosonunez commented 2 years ago

I actually haven't used OBS for streaming, but can you try enabling logging and sending them to me? https://obsproject.com/tools/analyzer?log_url= On Oct 9, 2021, 10:32 -0500, benshawuk @.***>, wrote:

Trying to stream doesn't connect - it instantly fails with an error - "Failed to connect to server" as though it isn't attempting connection at all. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

allesgroupadmin commented 2 years ago

This appears to be the culprit:

22:45:04.943: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmps://rtmp-api.facebook.com:443/rtmp/...
22:45:04.968: RTMP_Connect1, no SSL/TLS support
22:45:04.969: [rtmp stream: 'adv_stream'] Connection to rtmps://rtmp-api.facebook.com:443/rtmp/ failed: -2          
22:45:04.969: ==== Streaming Stop ================================================
carlosonunez commented 2 years ago

Might be a missing build flag. I'll look into this. While I do that, can you send me the full log (with any credentials scrubbed)? On Oct 9, 2021, 22:49 -0500, allesgroupadmin @.***>, wrote:

This appears to be the culprit: 22:45:04.943: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmps://rtmp-api.facebook.com:443/rtmp/... 22:45:04.968: RTMP_Connect1, no SSL/TLS support 22:45:04.969: [rtmp stream: 'adv_stream'] Connection to rtmps://rtmp-api.facebook.com:443/rtmp/ failed: -2 22:45:04.969: ==== Streaming Stop ================================================ — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

allesgroupadmin commented 2 years ago

Might be a missing build flag. I'll look into this. While I do that, can you send me the full log (with any credentials scrubbed)?

Absolutely, if there's anything you can think of that you'd like me to try & you're busy, this is a problem for me so I can spend some time trying to fix this lol. https://obsproject.com/logs/MJaati6v8GURyIYa

carlosonunez commented 2 years ago

I know this isn't what you're experiencing, but does OBS normally have decklink support enabled? On Oct 10, 2021, 10:05 -0500, allesgroupadmin @.***>, wrote:

Might be a missing build flag. I'll look into this. While I do that, can you send me the full log (with any credentials scrubbed)? … Absolutely, if there's anything you can think of that you'd like me to try & you're busy, this is a problem for me so I can spend some time trying to fix this lol. https://obsproject.com/logs/MJaati6v8GURyIYa — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

allesgroupadmin commented 2 years ago

I know this isn't what you're experiencing, but does OBS normally have decklink support enabled?

We don't have any decklink equipment installed, so not for us. It appears support for outputting to decklink was merged into OBS here.

carlosonunez commented 2 years ago

Good to know. I'll look into it. On Oct 10, 2021, 10:53 -0500, allesgroupadmin @.***>, wrote:

I know this isn't what you're experiencing, but does OBS normally have decklink support enabled? … We don't have any decklink equipment installed, so not for us. It appears support for outputting to decklink was merged into OBS here. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

carlosonunez commented 2 years ago

@allesgroupadmin I just pushed a new release. Can you give it a try?

allesgroupadmin commented 2 years ago

Absolutely, I'll let you know how it goes.

-------- Original Message -------- On Oct 11, 2021, 1:14 AM, Carlos Nunez wrote:

@.***(https://github.com/allesgroupadmin) I just pushed a new release. Can you give it a try?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

allesgroupadmin commented 2 years ago

Build failed: https://0bin.net/paste/JrJu3HqQ#O3gxggwsnIHIG-FLba9Z2/9oU8rEm60W+jLd49Gp6PE

benshawuk commented 2 years ago

Hi @carlosonunez - many thanks for looking at this issue! (And thanks @allesgroupadmin too!) I'm also unable to create the build successfully. Here is my build log: https://0bin.net/paste/74ap0MYE#MZ9kTSRRp-D8eAvrYOy62n4ikabSC7T4nU17Ly+fNhV

I'm also happy to carry out any testing etc. to help get this functionality working.

carlosonunez commented 2 years ago

Build failed: https://0bin.net/paste/JrJu3HqQ#O3gxggwsnIHIG-FLba9Z2/9oU8rEm60W+jLd49Gp6PE

@allesgroupadmin can you send me a different link? This 404s.

allesgroupadmin commented 2 years ago

Build failed: https://0bin.net/paste/JrJu3HqQ#O3gxggwsnIHIG-FLba9Z2/9oU8rEm60W+jLd49Gp6PE

@allesgroupadmin can you send me a different link? This 404s.

Absolutely, here you go: https://0bin.net/paste/a3XTpSvk#t3VTrEqa1J+JS8wjv2AePMMMGrGgNX71Nvh15DoCWdE

carlosonunez commented 2 years ago

Hi @carlosonunez - many thanks for looking at this issue! (And thanks @allesgroupadmin too!) I'm also unable to create the build successfully. Here is my build log: https://0bin.net/paste/74ap0MYE#MZ9kTSRRp-D8eAvrYOy62n4ikabSC7T4nU17Ly+fNhV

I'm also happy to carry out any testing etc. to help get this functionality working.

@benshawuk It's interesting that you're getting this, since these scripts don't set a download strategy. Can you paste the output from this command and report back? (Be mindful of passwords.)

env | grep -i homebrew
carlosonunez commented 2 years ago

Build failed: https://0bin.net/paste/JrJu3HqQ#O3gxggwsnIHIG-FLba9Z2/9oU8rEm60W+jLd49Gp6PE

@allesgroupadmin can you send me a different link? This 404s.

Absolutely, here you go: https://0bin.net/paste/a3XTpSvk#t3VTrEqa1J+JS8wjv2AePMMMGrGgNX71Nvh15DoCWdE

@allesgroupadmin Interesting, as this was definitely fixed in my most recent version.

Can you run this command again, but with LOG_LEVEL=verbose prepended to it? Please delete /tmp/obs, /tmp/vlc-obs and /tmp/cef-obs before doing that. Thanks!

allesgroupadmin commented 2 years ago

Build failed: https://0bin.net/paste/JrJu3HqQ#O3gxggwsnIHIG-FLba9Z2/9oU8rEm60W+jLd49Gp6PE

@allesgroupadmin can you send me a different link? This 404s.

Absolutely, here you go: https://0bin.net/paste/a3XTpSvk#t3VTrEqa1J+JS8wjv2AePMMMGrGgNX71Nvh15DoCWdE

@allesgroupadmin Interesting, as this was definitely fixed in my most recent version.

Can you run this command again, but with LOG_LEVEL=verbose prepended to it? Please delete /tmp/obs, /tmp/vlc-obs and /tmp/cef-obs before doing that. Thanks!

https://0bin.net/paste/H-0Y0-Ol#BBfCVhjeaVhAUTk8v4mo9q3aL6-1v7ON18D3IaTjpRp here you go!

carlosonunez commented 2 years ago

@allesgroupadmin It's interesting that in the first log, you failed because it couldn't find your VLC path, but in the second log, it failed beacuse it couldn't find mbedtls headers.

Can you try installing mbedtls@2 and running this again? Use this command to do so: brew install mbedtls@2.

allesgroupadmin commented 2 years ago

@allesgroupadmin It's interesting that in the first log, you failed because it couldn't find your VLC path, but in the second log, it failed beacuse it couldn't find mbedtls headers.

Can you try installing mbedtls@2 and running this again? Use this command to do so: brew install mbedtls@2.

Warning: mbedtls@2 2.27.0 is already installed and up-to-date.

carlosonunez commented 2 years ago

How about brew install mbedtls?

allesgroupadmin commented 2 years ago

How about brew install mbedtls?

Warning: mbedtls 3.0.0 is already installed and up-to-date.

benshawuk commented 2 years ago

@benshawuk It's interesting that you're getting this, since these scripts don't set a download strategy. Can you paste the output from this command and report back? (Be mindful of passwords.)

env | grep -i homebrew

Hi @carlosonunez , sure. Here is the output:

MANPATH=/opt/homebrew/share/man: HOMEBREW_REPOSITORY=/opt/homebrew PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/opt/php@7.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin HOMEBREW_PREFIX=/opt/homebrew INFOPATH=/opt/homebrew/share/info: HOMEBREW_CELLAR=/opt/homebrew/Cellar

carlosonunez commented 2 years ago

Thanks. I can’t reproduce this in my environment, unfortunately. Can you try deleting both packages and then letting the script re-install? On Oct 11, 2021, 10:33 AM -0500, carlosonunez/obs-installer-for-apple-silicon @.***>, wrote:

allesgroupadmin commented 2 years ago

Thanks. I can’t reproduce this in my environment, unfortunately. Can you try deleting both packages and then letting the script re-install?

I'm not positive whether you're asking me or not, but I did this: https://0bin.net/paste/dE6nSzQ1#Njj8iZuvVHH1Y4c9yPr0oPaHnz5ztdpj9glj50k5CtS

allesgroupadmin commented 2 years ago

@carlosonunez Any news?

carlosonunez commented 2 years ago

Hey, there. I'll be honest: This one is going to take a while (six to eight weeks, at minimum) for me to get to. I can't repro this in my environment, and my day job is consuming a lot of my time.

Forks and pull requests are welcome if you need a solution more quickly.

Apologies. On Oct 13, 2021, 02:49 -0500, Graham @ Alles Group @.***>, wrote:

@carlosonunez Any news? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

carlosonunez commented 2 years ago

Merging this with #25 ; @benshawuk , please re-raise if you're still having issues connecting to Facebook.