Conversation
| type LiveCreateResponse struct { | ||
| BroadcastID int `json:"broadcast_id"` | ||
| UploadUrl string `json:"upload_url"` | ||
| // MaxTimeInSeconds int `json:"max_time_in_seconds"` |
There was a problem hiding this comment.
Do you need this commented out code?
There was a problem hiding this comment.
no, not really. but i've kept it there in case someone needs it.
Hi! How is this working? @kmlx |
|
@felipeinf this was working when i developed it. right now the project that i worked on that relied on this repo is on hold until later in autumn when i will have to look over this again. the biggest problem with this repo wasn't starting live, it was with the instagram authentication which was (and still is) a bit of a nightmare. compared with instagram's authentication, the starting of a live broadcast is straightforward and should still be working. |
We could talk about the issue of authentication, I have discovered some things that can help you. 100pipeee@gmail.com |
based on:
https://github.com/mgp25/Instagram-API/blob/master/src/Request/Live.php
for actual insta requests
https://github.com/mgp25/Instagram-API/blob/master/examples/liveBroadcast.php
for functionality minus the ffmpeg part.
i will try to add some of the other methods in this order:
for now the following are available:
Live.Create(width int, height int) => returns response.BroadcastId string, err
Live.Start(broadcastId string)
Live.End(broadcastId string)
these methods have been manually tested in a http rest environment and worked consistently.