SmartCradle v1
Baby smart cradle
livestream.c File Reference

Livestream module implementation. More...

#include <stdlib.h>
#include <sys/wait.h>
#include "../inc/livestream.h"
Include dependency graph for livestream.c:

Go to the source code of this file.

Functions

void startLivestream ()
 Start the livestream. More...
 
void stopLivestream ()
 Stop the livestream. More...
 
_Bool getStreamStatus ()
 Get the Streaming Status object. More...
 

Variables

static _Bool streamRunning = 0
 

Detailed Description

Livestream module implementation.

Author
José Carvalho, João Carneiro
Date
2022-01-13

Definition in file livestream.c.

Function Documentation

◆ getStreamStatus()

_Bool getStreamStatus ( )

Get the Streaming Status object.

Returns the status of the stream

Returns
bool

Definition at line 41 of file livestream.c.

◆ startLivestream()

void startLivestream ( )

Start the livestream.

Definition at line 16 of file livestream.c.

◆ stopLivestream()

void stopLivestream ( )

Stop the livestream.

Definition at line 31 of file livestream.c.

Variable Documentation

◆ streamRunning

_Bool streamRunning = 0
static

Definition at line 14 of file livestream.c.