Open tbago opened 8 years ago
I'm having the same problem
Hello. I think the problem is with the VideoCore library or streaming server. 🤔
@kciter @tbago any ideas on how to solve?
Hi i have run that sample code what you have provide to us in my ipad the code is working perfectly up to fb sign in after that i am just click on live and its showing connecting but nothing happen after that. please tell me any solution to why its not connected to fb Thanks in advance
I solve the stream issue by reconnect the Facebook rtmp server.
hello @tbago thank you for your response. i am a new to streaming i am just trying to connect fb live with this sample code and i have changed my app id and app name in plist and CFBundleURLSchemes but when i click on live button it just showing connecting only nothing happen after that. could you please help me about this streaming and please send me your worked streaming code if it is possible
Thanks in advance Satish
@satishtestrepository First of all, you need make sure your app in Facebook has the ability to push stream (in app review page you must have publish_actions and Live Video API feature enable). Or you must add you test users to your app Testers in roles page.
hello @tbago i had do what you was say and after that i am getting error i.e., Read from stream error:0 ClientState: 11 ~RTMPSession and you said that your issue was solved with reconnecting rtmp server so, where you have put the code of reconnecting rtmp server and could you please share your reconnecting code
Hello,
Greetings of the day!!
We are the team of developers who want to implement Live Broadcast feature in one of our ongoing iOS project. Now to provide live streaming of that broadcast on Facebook, we've not provided any sample code for iOS on the developer console. The Sample(FBLiveAPISample) provide on the website is not letting me go live on facebook. It gets stuck on "connecting" status.
Could you please guide us how can we implement live broadcasting in iOS.
Awaiting your response.
Thanks Ramprakash
@tbago could you please teach me how to change the input source ?? I really don't know how to do that!
when i clicked live button it crashed!!1
Hello, @RamNineHertz @Wutaotao692732757
Are you put FacebookAppId
and FacebookDisplayName
value in Info.plist
?
@LittleWoodyDoll I change the VCSimpleSession source code. My device will output h264 data to me. First I remove the camera source and h264 encoder. I manual put data to h264 packet Transform.
- (void)manualPutH264Data:(NSData *) h264Data pts:(NSInteger) pts dts:(NSInteger) dts { videocore::VideoBufferMetadata md(pts, dts); if (m_h264Packetizer != nullptr) { m_h264Packetizer->pushBuffer((const uint8_t *)[h264Data bytes], h264Data.length, md); } }
Hi, The sample you provide works perfect. But when I change the input source to our special source. The live video will close after a few seconed. The log as following:
I don't known why the rtmp stream is close.