You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kickflip.presentBroadcasterFromViewController(self,
ready: { stream in
if ((stream.streamURL) != nil){
print(stream.streamURL)
}
}, completion:{ success, error in
if (!success) {
print("Error setting up stream: %@", error);
} else {
print("Done broadcasting");
}
})
First I'm getting this
codec not found: h264
[mpegts @ 0x17c38600] muxrate VBR, pcr every 3 pkts, sdt every 200, pat/pmt every 40 pkts
and then it takes up to 14 seconds to get the streaming URL. Am I missing something or should I do something different because 14 seconds is to long to get the streaming URL ? (I'm using iPhone 4S and and iPad to test it)
Thank you in advance.
The text was updated successfully, but these errors were encountered:
An HLS manifest will need at least a couple of segments before being able to view the stream (by default iOS buffers 3 segments), given the fact a segment is 10 seconds it will last at least 1 segment before the m3u8 can be created and thus a streaming url can be created. It's possible to shorter this time somewhat by creating segments with a shorter duration (6 or even 4 seconds).
@ivarvermeulen thank you for your explanation. I have another issue that I would appreciated if you could help me. The issue is about the orientation, It seems that I can only stream in landscape mode. I did some changes that I found here #48 but with this I can only change the orientation before I start the stream not while I'm streaming(so if i start the stream in landscape mode, all my stream will be in landscape mode and vice-versa). Any ideas on where might the problem be ? Thank you.
After I present the broadcast controller with:
First I'm getting this
codec not found: h264
[mpegts @ 0x17c38600] muxrate VBR, pcr every 3 pkts, sdt every 200, pat/pmt every 40 pkts
and then it takes up to 14 seconds to get the streaming URL. Am I missing something or should I do something different because 14 seconds is to long to get the streaming URL ? (I'm using iPhone 4S and and iPad to test it)
Thank you in advance.
The text was updated successfully, but these errors were encountered: