Developers

Bring live video streaming into your app
in few lines of code.

let streamer = FKStreamer()
let camera = streamer.showCamera(.front, in: view)

streamer.requestStream { (stream, error) in
    streamer.strartStreaming(on: stream, delegate: self)
}
mCameraFragment = (FKCameraFragment) getSupportFragmentManager().findFragmentById(R.id.camera_fragment);
mCameraFragment.getCameraAsync(new FKCameraFragment.OnCameraReadyCallback() {
    @Override
    public void onCameraReady(@Nullable FKCamera camera, @Nullable FKError error) {
        mCamera = camera;
    }
});

mStreamer = mCameraFragment.getStreamer();
mStreamer.requestStream(new FKStreamer.RequestStreamCallback() {
    @Override
    public void done(@Nullable FKStream stream, @Nullable FKError error) {
        mStreamer.startStreaming(stream, new MyFKStreamingCallback());
    }
});

Live stream☝️

This is all you need to do to live stream your front camera.

 

 

Code with confidence

Firekast obsesses over developer experience.

Our team of talented developers work hard to abstract the complexity of live video streaming,
video distribution and playback, so that you can focus on developing your product.

See Firekast SDK in action SLive, an app that broadcasts live video on your Facebook page,
Youtube channel and soon Periscope simultaneously!

iOS

Quickstart Guide Sample App

Android

Quickstart Guide Sample App

 

Live stream simultaneously on social network

let fbLive = FKOutput.facebook(accessToken: "YOUR_FACEBOOK_TOKEN")
let ytLive = FKOutput.youtube(accessToken: "YOUR_YOUTUBE_TOKEN", title: "Awesome title")

streamer.requestStream(outputs: [fbLive, ytLive]) { (stream, error) in
    streamer.strartStreaming(on: stream, delegate: self)
}
FKOutput facebook = FKOutput.facebook("YOUR_TOKEN_FACEBOOK", null);
FKOutput youtube = FKOutput.youtube("YOUR_TOKEN_YOUTUBE", "Awesome title", null);

List media = new ArrayList<>();
media.add(facebook);
media.add(youtube);

mStreamer.requestStream(media, new MyFKRequestStreamCallback());

Use camera features

camera.position = .back

camera.isMicrophoneEnabled = false // mute microphone

if camera.isFlashAvailable {
    camera.isFlashEnabled = true
}
mCamera.switchToPosition(Position.BACK);

mCamera.setMicrophoneEnabled(false); // mute microphone

if (mCamera.isFlashAvailable()) {
    mCamera.setFlashEnabled(true);
}

Watch live streams or replay as VOD

Once your live is complete, your video becomes instantly available for VOD playback.

let player = FKPlayer()

player.show(in: view)

player.play(streamId: "THE_STREAM_ID", delegate: self)
// XML Layout
< io.firekast.FKPlayerView
    android:id="@+id/videoView"
    android:layout_width="200dp"
    android:layout_height="110dp" />

// Class
mPlayerView.setPlayerListener(new MyFKPlayerCallback());
mPlayerView.play("THE_STREAM_ID");

Ready to jump in?

Get in touch with us or create your account and roll!

Get in touch with us Get Started for FREE