Jump to content
  • 0

Put new live stream capture in bucket with stream id as bucket name


Easy Interface
 Share

Question

Hello,

I am capturing live streams from a few different users and am wanting to put everyone's stream into their own buckets (named according to their stream id) when it is sent to S3. Currently we are sending to S3 like this and it is working great:

<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" /> 
</bean>  

Is it possible to add a variable for the ant media stream id> Something like this:
     <property name="storageName" value="Enter your BUCKET_NAME" / "Enter Stream ID of current stream being uploaded" / >

We are using the Enterprise Edition and any help on being able to do this would be incredibly valuable. Thank you!

Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0
Hi,

So sorry since this slipped from our eyes for a very long time. Google community comments is distributed from freshdesk to the developers and somebody probably answered to author from the freshdesk not publicly

I think you can do this by using AWS CLI not S3 integration.
Link to comment
Share on other sites

 Share

×
×
  • Create New...