Jump to content
  • 0

S3 Put events

Pavel Tsukanov


I am capturing live streams using your example

<bean id="app.storageClient" class="io.antmedia.storage.AmazonS3StorageClient">
     <property name="accessKey" value="Enter your S3_ACCESS_KEY" /> 
     <property name="secretKey" value="Enter your S3_SECRET_KEY" />
     <property name="region" value="Enter your REGION_NAME e.g. eu-central-1" />
     <property name="storageName" value="Enter your BUCKET_NAME" /> 

I would like to catch a file appearing in the bucket via S3 PUT events in AWS lambda and process the file. But I figured out that I get randomly number PUT events (from 1 to 4)

I use Ant Media server 2.0.0
Also my application uses Adaptive Streaming with 4 bitrates.

Could you say me why I get > 1 PUT events? I expect to get 1 only.

Link to comment
Share on other sites

  • Answers 6
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

6 answers to this question

Recommended Posts

  • 0

Looks like i figured out why I out why i get 4 events. Looks like Ant Media server puts 4 mp4 files with different bitrates (I use Adaptive Streaming with 4 bitrates) into a single mp4 file with on S3. I think it's wrong behavior. I expect to get 4 files with different bitrates like stream_240p.mp4, stream_720p and etc. Is there is way to get this behavior?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...