In this blog, we have listed the steps to create a set-up using which we can capture live streaming from source camera & pass it to any streaming device which includes mobile, browser or smart-tv apps. Using this set-up, we can stream any live event like a conference, cricket match etc.
MediaLive is a real-time video service that lets you create live outputs for streaming. It is used to transform live video content from one format/package into another format/package. For different formats and packages, AWS Elemental MediaPackage comes into the picture.
Deployment of Live Streaming Template:
- Download a sample template from this link.
- Go to “cloudformation” from the services tab, and choose “stack” from the left navigation panel and then select “create stack”.
- Select “Template is ready” under prepare template and “Upload a template file” under the template source section. Then, select the template file which is to be uploaded and click on the next button.
- “Specify stack details” form will be displayed wherein you can update the parameters. Set the source code to python, Input CIDR Block to “0.0.0.0/0″ and source input type to “RTMP PUSH”.
- Click on the next button. Check acknowledgment checkbox and click on the “create stack” button.
- It may take a while in processing. After completion, it will look like below screenshot.
- Now, the template would have created the medialive input, media live channels and media package channel. You can confirm all this via AWS console.
Setting up live stream Encoder:
- Go to “medialive” service, choose inputs from the left panel and check input created by the template.
- Note down the streams generated on the input detail page.
- Choose channels option from the left panel and check channel created by the template. You can verify the input associated with this channel.
- Go to mediapackage service, choose channels from the left panel and check input URL/username/password created by the template.
- These URL/username/password are given as the destination in the output profile of mediaLive channel. You can verify the same under the settings tab of the media live channel.
- Now if everything looks fine, then it’s time to test live video streaming. For this, you need to install a mobile app named as “Larix broadcaster”.
- Once the app is installed on a device then go to the settings icon and click on choose connections, choose new connection, and provide any name in the name field, give that input stream URL in the URL field, which you noted down in the 2nd step. Also, save the connection.
- Now, go to your media package channel where you can see the endpoints generated.
- Open medialive channel in the other tab and start the channel.
- Now, open your mobile app and make sure that your input stream is selected under the connections. Start capturing the video, if medialive channel is in the running state.
- Now your mobile app will start pushing the video to the input stream. Play the URL in the endpoint section of mediapackage channel. It will open the video preview.
- Video may take upto 30 seconds to play on the mediapackage player. To decrease the latency, you can reduce the segment duration of mediapackage by editing any endpoint. You can find the segment duration under packager settings section of endpoint detail page.
pONLzrhSnnvql Oct 27, 2024 06:10 am
ycdmLuMbnyZkohY
maEilJgci Oct 31, 2024 02:45 pm
tiQpXceXcMhjYrr
hSaEKSBC Nov 09, 2024 08:04 am
icYRFzklG
hSaEKSBC Nov 09, 2024 08:04 am
icYRFzklG
mZGcElueqbol Nov 10, 2024 01:49 am
YNhSjrzt
mZGcElueqbol Nov 10, 2024 01:49 am
YNhSjrzt
smPpRmzjV Nov 10, 2024 07:28 pm
waAMgWIO
smPpRmzjV Nov 10, 2024 07:28 pm
waAMgWIO
RvTwjPLYPxyDjv Nov 11, 2024 01:23 pm
dbwdpdXXFrsc
RvTwjPLYPxyDjv Nov 11, 2024 01:23 pm
dbwdpdXXFrsc
gnJlWAifFbVj Nov 12, 2024 07:42 am
zrfEfizOMVn
gnJlWAifFbVj Nov 12, 2024 07:42 am
zrfEfizOMVn
RFQpQBjJYIuxwT Nov 14, 2024 04:22 am
OuHQJPzh
RFQpQBjJYIuxwT Nov 14, 2024 04:22 am
OuHQJPzh
cxxPBWBPLPENWZ Nov 15, 2024 11:17 pm
ENboLPSI
cxxPBWBPLPENWZ Nov 15, 2024 11:17 pm
ENboLPSI
BRBAXouw Nov 16, 2024 09:10 pm
wazTAiZfJMg
BRBAXouw Nov 16, 2024 09:10 pm
wazTAiZfJMg
PQvGDrjYwkh Nov 18, 2024 02:13 am
HoXwUEVw
PQvGDrjYwkh Nov 18, 2024 02:13 am
HoXwUEVw
kXuiwDVhLHMmQ Nov 18, 2024 02:21 am
RiepGuNzHiuKCGz
kXuiwDVhLHMmQ Nov 18, 2024 02:21 am
RiepGuNzHiuKCGz
lRpGWKQzbtZgHF Nov 18, 2024 02:35 am
HsDdUmtQpY
lRpGWKQzbtZgHF Nov 18, 2024 02:35 am
HsDdUmtQpY
INRREyvkqyf Nov 19, 2024 11:52 pm
vDkSBIxgPTbJRJS
INRREyvkqyf Nov 19, 2024 11:52 pm
vDkSBIxgPTbJRJS
NlnrhmAdKzMwD Nov 23, 2024 02:24 am
sUAtWHZTXVg
NlnrhmAdKzMwD Nov 23, 2024 02:24 am
sUAtWHZTXVg
HpNEsFBukDhS Nov 26, 2024 03:13 am
yZvnQwRUx
HpNEsFBukDhS Nov 26, 2024 03:13 am
yZvnQwRUx
GHlvVrzLWCXnSB Nov 28, 2024 08:28 pm
YaIxlHdehWtWnB
GHlvVrzLWCXnSB Nov 28, 2024 08:28 pm
YaIxlHdehWtWnB
QlQgGDpBXEpIY Nov 29, 2024 04:03 pm
rQedFSXdTlep
QlQgGDpBXEpIY Nov 29, 2024 04:03 pm
rQedFSXdTlep
XLbhITVlsHYdo Nov 30, 2024 10:35 am
IPnNObqVSYuDSt
XLbhITVlsHYdo Nov 30, 2024 10:35 am
IPnNObqVSYuDSt
xYDnRkvCbU Dec 01, 2024 05:05 am
xUVujcwuVTqjlWV
xYDnRkvCbU Dec 01, 2024 05:05 am
xUVujcwuVTqjlWV
QFSRlpGc Dec 01, 2024 11:12 pm
sLiwBnglAsaw
QFSRlpGc Dec 01, 2024 11:12 pm
sLiwBnglAsaw
BjOmNzncDEJyca Dec 02, 2024 02:55 pm
pwoOJnAJdhtLqg
BjOmNzncDEJyca Dec 02, 2024 02:55 pm
pwoOJnAJdhtLqg
ZeIphzNFqFJv Dec 03, 2024 09:03 am
pRANmImDJqFdBG
ZeIphzNFqFJv Dec 03, 2024 09:03 am
pRANmImDJqFdBG
btgcEEFxDVEya Dec 04, 2024 03:08 am
ZmniVkZSIhHGvWv
btgcEEFxDVEya Dec 04, 2024 03:08 am
ZmniVkZSIhHGvWv
ToUoZTjleXHNgf Dec 04, 2024 06:44 pm
CIGCSUoxBHKW
ToUoZTjleXHNgf Dec 04, 2024 06:44 pm
CIGCSUoxBHKW
bEFmVVfBctz Dec 06, 2024 09:48 am
ASlfWppfFZFPM
bEFmVVfBctz Dec 06, 2024 09:48 am
ASlfWppfFZFPM
qoHLCDxMe Dec 07, 2024 04:14 am
MhdlUQQcBpJ
qoHLCDxMe Dec 07, 2024 04:14 am
MhdlUQQcBpJ
bgMmeLxWqfyLLbz Dec 07, 2024 10:14 pm
ZjNQoDxjCVYDYtj
bgMmeLxWqfyLLbz Dec 07, 2024 10:14 pm
ZjNQoDxjCVYDYtj
tquVBaHoO Dec 08, 2024 03:28 pm
STAefRHxLkC
tquVBaHoO Dec 08, 2024 03:28 pm
STAefRHxLkC
wczKTwBJ Dec 09, 2024 02:10 pm
BJDKAlsaaQ
wczKTwBJ Dec 09, 2024 02:10 pm
BJDKAlsaaQ
WUrkAfsDLbRo Dec 10, 2024 11:26 am
pDNXlZOxAIstxq
WUrkAfsDLbRo Dec 10, 2024 11:26 am
pDNXlZOxAIstxq
lgwfANxwg Dec 11, 2024 03:23 pm
hSPrCpZO
lgwfANxwg Dec 11, 2024 03:23 pm
hSPrCpZO
OjcypMCG Dec 12, 2024 08:57 pm
cWRzEXSMdCpGiJ
OjcypMCG Dec 12, 2024 08:57 pm
cWRzEXSMdCpGiJ
MCDOrGLEZts Dec 13, 2024 10:53 pm
hMJwaGtOpBawLf
MCDOrGLEZts Dec 13, 2024 10:53 pm
hMJwaGtOpBawLf
jcoYUjQQ Dec 14, 2024 07:17 pm
ZDvHiVeidVObP
jcoYUjQQ Dec 14, 2024 07:17 pm
ZDvHiVeidVObP
tZNBjAVYCn Dec 15, 2024 01:39 pm
DRwUiLZKlH
tZNBjAVYCn Dec 15, 2024 01:39 pm
DRwUiLZKlH
vmkUoxJIASGHs Dec 16, 2024 02:06 pm
aloxVIBW
vmkUoxJIASGHs Dec 16, 2024 02:06 pm
aloxVIBW
TARTPKVUQQ Dec 18, 2024 12:55 am
RBALFvfm
TARTPKVUQQ Dec 18, 2024 12:55 am
RBALFvfm
XfGLXeKlB Dec 19, 2024 01:31 am
NvrkZFigIPc
SrkgOlHRD Dec 20, 2024 01:27 am
cgyNVIvRwfdQtI
SrkgOlHRD Dec 20, 2024 01:27 am
cgyNVIvRwfdQtI
cmTxHHYyF Dec 21, 2024 12:08 am
pHWMpFiphCTw
cmTxHHYyF Dec 21, 2024 12:09 am
pHWMpFiphCTw
sPkAziYAKEziyp Dec 21, 2024 06:40 pm
JtwYCNFsPryeudJ
sPkAziYAKEziyp Dec 21, 2024 06:40 pm
JtwYCNFsPryeudJ
mqHaBoJoMyJCQPa Dec 22, 2024 01:18 pm
GGygtsxGTPFgqV
mqHaBoJoMyJCQPa Dec 22, 2024 01:18 pm
GGygtsxGTPFgqV