Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

ffmpeg rtmps Resource temporarily unavailable #47

@DavidM42

Description

@DavidM42

Describe the bug
When I try to use the ffmpeg example, then ffmpeg always crashes with the following error

[rtmps @ 0x182c130] Cannot open connection tls://live-upload.instagram.com:443
rtmps://live-upload.instagram.com:443/rtmp/XXXXXXXXXX?s_sw=0&s_vt=ig&a=XXXXXXXXXX: Resource temporarily unavailable

I initially tried to run it with fmpeg version 4.1.6-1~deb10u1+rpt2 then I compiled my own newer ffmpeg version 4.4 with --enable-openssl in hopes of fixing it, but sadly nothing.
Could this be a problem in the stream key retrieval of itsagramlive or is maybe still something wrong in my ffmpeg setup?
Maybe the URL path of Instagram live also changed, I really don't know anymore.

I think it is ssl/tls related but I am not sure how to fix it. Maybe some tls library is too old on my system

To Reproduce
Steps to reproduce the behavior:

  1. Run ffmpeg example python script like shown in readme

Expected behavior
The stream to be able to start (ffmpeg running)

Environment (please complete the following information):

  • OS: Raspbian GNU/Linux 10 (buster)
  • Python version: 3.7.3

Settings (please complete the following information):
No proxy and no two factor in this account

Additional context

The Instagram account I am using is fairly new (created today) but I was able to start a stream from my phone

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions