webRTC stream from Raspberry pi with Embedded SDK

348 views
Skip to first unread message

Kilian

unread,
Jan 4, 2022, 2:47:28 PM1/4/22
to Ant Media Server
Using chromium and publishing from within the browser works but requires a lot of cpu recourses witch results in jittering the stream from time to time (of even power off). 

Is there an easy way to use the Embedded SDK to publish a webRTC stream from a Raspberry pi?

I think the documentation page explains doing exactly this with a code snippet

I'm guessing I need to install the SDK first on the Raspberry pi. However i'm not sure how to install the SDK and how to then call the proper functions.

Any help is appreciated.

Kind Regards,
Kilian



Burak Kekec

unread,
Jan 5, 2022, 2:34:41 PM1/5/22
to Ant Media Server
Hi Kilian,
Embedded SDK is a product that captures a stream  from a RTSP  source and and restream it directly to the browser with WebRTC. In that scenario AMS behaves as a signaling server.
If your goal is just streaming from Raspberry Pi, you may consider publishing with RTMP to AMS.

Embedded SDK is a product that may be useful for Camera Producers. But you can still using it.

4 Ocak 2022 Salı tarihinde saat 22:47:28 UTC+3 itibarıyla Kilian şunları yazdı:

Kilian

unread,
Jan 7, 2022, 12:15:34 PM1/7/22
to Ant Media Server
Oke, thank you
Reply all
Reply to author
Forward
0 new messages