Reputation: 1047
Is it possible to stream a live video on Facebook from iOS app ? I've searched the iOS SDK but didn't found anything related. After searching further I've found that I can POST cURL
curl -k -X POST https://graph.facebook.com/$your_userid_or_pageid/live_videos \
-F "access_token=$your_user_or_page_token" \
-F "published=true"
and a process should be followed after this. Dose this mean that I need a middle server between client App and Facebook to get the stream and stream it to Facebook ?
Upvotes: 1
Views: 2339
Reputation: 125
In iOS, you should use
[FBSDKGraphRequest initWithGraphPath:parameters:HTTPMethod]
to get the RTMP streaming address according to Facebook doc
Upvotes: 1
Reputation: 3519
Edited
Facebook offers a Live Video API in their SDK, you can find that here: Facebook Live Video API
Delivering your stream to the Facebook Server's is the difficult part. I suggest using the VideoCore API for delivery, just edit the destination information.
Upvotes: 3