Illustration firekast streaming

Mobile live streaming

Control the camera and live Stream from a mobile device.

code image
// 1. Initializes the streamer
let streamer = FKStreamer(usecase: .portrait)

// 2. Open camera inside a view
let camera = streamer.showCamera(.front, in: aView) 

// 3. Create a stream and start streaming
streamer.createStream { (stream, error) in 
  guard let stream = stream else { return }
  streamer.startStreaming(on: stream, delegate: self)
}
// 1. Open camera inside a view
FKCameraFragment cameraFragment = new FKCameraFragment();
cameraFragment.getCameraAsync(this);
getSupportFragmentManager().beginTransaction()
        .replace(R.id.camera_container, cameraFragment)
        .commit();

// 2. Get camera and streamer when ready
@Override
public void onCameraReady(@Nullable FKCamera camera, @Nullable FKStreamer streamer, @Nullable FKError error) {
  if (error != null) return; // Something went wrong, like device has no camera for example.  
  mCamera = camera;
  mStreamer = streamer;
}

// 3. Create a stream and start streaming
mStreamer.createStream(new FKStreamer.CreateStreamCallback() { 
  @Override
  public void done(@Nullable FKStream stream, @Nullable FKError error) {
    if (error != null) return; // Something went wrong, like you have reached your plan limit for example.
    mStreamer.startStreaming(stream, new AppStreamingCallback());
  }
});
feature icon Live Camera Control
feature icon Bandwidth Test

Restream across external platforms

code image
// 1. Checkout desired platforms API to create a RTMP link ready to receive a live stream.
let facebookRtmpLink = "rtmp://live-api-a.facebook.com:80/rtmp/143521800?ds=1&a=PEtMa1Ul0W3Rpa"
let youtubeRtmpLink = "rtmp://a.rtmp.youtube.com/live/hello_webcast"
let link3 = "rtmp://..."

// 2. Create a stream specifying restream outputs and start streaming when ready
streamer.createStream(outputs: [facebookRtmpLink, youtubeRtmpLink, link3]) { (stream, error) in
  guard let stream = stream else { return }
  streamer.startStreaming(on: stream, delegate: self)
}
// 1. Checkout desired platforms API to create a RTMP link ready to receive a live stream.
String facebookRtmpLink = "rtmp://live-api-a.facebook.com:80/rtmp/143521800?ds=1&a=PEtMa1Ul0W3Rpa";
String youtubeRtmpLink = "rtmp://a.rtmp.youtube.com/live/hello_webcast";
String link3 = "rtmp://..."
  
// 2. Create a stream specifying restream outputs and start streaming when ready
List outputs = new ArrayList<>();
outputs.add(facebookRtmpLink);
outputs.add(youtubeRtmpLink);
outputs.add(link3);
mStreamer.createStream(outputs, new AppCreateStreamCallback());
feature icon Simultaneous restreams
feature icon Facebook and Youtube ready

Live and Replay Playback

code image
// 1. initialize player
let player = FKPlayer()
player.delegate = self

// 2. display player in myView
player.show(in: aView) 

// 3. play the video with id 'c83qk37iqde16faos'
let stream = FKStream(withoutDataExceptStreamId: "c83qk37iqde16faos")
player.play(stream)
// 1. add the player view in your layout
<io.firekast.FKPlayerView
    android:id="@+id/playerView"
    android:layout_width="200dp"
    android:layout_height="110dp" />

// 2. get the player from the view
mPlayer = mPlayerView.getPlayer();
mPlayer.setCallback(new AppPlayerCallback());

// 3. play the video with id 'c83qk37iqde16faos'
FKStream stream = FKStream.newEmptyInstance("c83qk37iqde16faos")
mPlayer.play(stream);
// 1. init the SDK
<script>
  Firekast.API.init({
    public_key: 'YOUR_APP_PUBLIC_KEY'
  });
  const player = new Firekast.Player({
    parent_id:   '#player',
    stream_id:   'c83qk37iqde16faos'
  });
</script>

// 2. add the player in your UI
<div id="player"></div>

// 3. play whenever the player is ready
player.on('ready', () => {
  player.play();
});
feature icon Live and replay playback
feature icon Customizable player
Web Live Streaming
coming soon

Web Live Streaming

Nullam quis risus eget urna mollis ornare vel eu leo. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.

Register your interest
Video Upload
coming soon

Video Upload

Maximise your users experience. With the Upload API, deliver self-optimizing videos seamlessly on every device.

Register your interest

Use Cases

Embed live video streaming on your website and app
Media

Embed live video streaming on your website and app

Read story
Restream engaging contents to your entire social media audience
Community management

Restream engaging contents to your entire social media audience

Read story
Build your own WebTV to take control of your audience
Web tv

Build your own WebTV to take control of your audience

Read story
Let your own users live stream from your app
Social Media

Let your own users live stream from your app

Read story
Increase employee engagement thought corporate live streaming
Corporate communication

Increase employee engagement thought corporate live streaming

Read story