Ray Jender Posted June 30, 2019 Share Posted June 30, 2019 I tailed the ant-media-server.log and noticed some database activity: 2019-06-30 15:41:42,384 [Loader:/WebRTCApp] INFO i.a.datastore.db.DataStoreFactory - Used Datastore:mapdb app:WebRTCApp db name:webrtcapp ... ... 2019-06-30 15:41:42,613 [Loader:/LiveApp] INFO i.a.datastore.db.DataStoreFactory - Used Datastore:mapdb app:LiveApp db name:liveapp What kind of database is this and how can I use it? I need to store the streamID somewhere for the client to access. Thanks, Ray Link to comment Share on other sites More sharing options...
0 Murat Aydin Posted June 30, 2019 Share Posted June 30, 2019 Hi Ray, Short answer is MongoDB but it depends, please have a look at: https://github.com/ant-media/Ant-Media-Server/blob/master/src/main/java/io/antmedia/datastore/db/DataStoreFactory.java Best regards, On Sunday, June 30, 2019 at 9:52:14 PM UTC+2, Ray Jender wrote: I tailed the ant-media-server.log and noticed some database activity: 2019-06-30 15:41:42,384 [Loader:/WebRTCApp] INFO i.a.datastore.db.DataStoreFactory - Used Datastore:mapdb app:WebRTCApp db name:webrtcapp ... ... 2019-06-30 15:41:42,613 [Loader:/LiveApp] INFO i.a.datastore.db.DataStoreFactory - Used Datastore:mapdb app:LiveApp db name:liveapp What kind of database is this and how can I use it? I need to store the streamID somewhere for the client to access. Thanks, Ray Link to comment Share on other sites More sharing options...
0 Ray Jender Posted July 10, 2019 Author Share Posted July 10, 2019 Thanks Murat, I am disappointed that I cannot use php. I'd like to use mysql but it looks like it's out of the question. I know very little about Apache-Tomcat and java and even less about mongo and mapDB. I understand that mongo is used for clustering and mapDB for standalone? I wish I could easily learn mapDB but there is not much information out there. I am curious why antmedia choose to use java? Ray On Sunday, June 30, 2019 at 5:21:34 PM UTC-4, Murat Aydin wrote:Hi Ray, Short answer is MongoDB but it depends, please have a look at: https://github.com/ant-media/Ant-Media-Server/blob/master/src/main/java/io/antmedia/datastore/db/DataStoreFactory.java Best regards, On Sunday, June 30, 2019 at 9:52:14 PM UTC+2, Ray Jender wrote: I tailed the ant-media-server.log and noticed some database activity: 2019-06-30 15:41:42,384 [Loader:/WebRTCApp] INFO i.a.datastore.db.DataStoreFactory - Used Datastore:mapdb app:WebRTCApp db name:webrtcapp ... ... 2019-06-30 15:41:42,613 [Loader:/LiveApp] INFO i.a.datastore.db.DataStoreFactory - Used Datastore:mapdb app:LiveApp db name:liveapp What kind of database is this and how can I use it? I need to store the streamID somewhere for the client to access. Thanks, Ray Link to comment Share on other sites More sharing options...
0 Ray Jender Posted July 11, 2019 Author Share Posted July 11, 2019 I have no idea how to use either mapDB or Mongo... Ray On Sunday, June 30, 2019 at 5:21:34 PM UTC-4, Murat Aydin wrote:Hi Ray, Short answer is MongoDB but it depends, please have a look at: https://github.com/ant-media/Ant-Media-Server/blob/master/src/main/java/io/antmedia/datastore/db/DataStoreFactory.java Best regards, On Sunday, June 30, 2019 at 9:52:14 PM UTC+2, Ray Jender wrote: I tailed the ant-media-server.log and noticed some database activity: 2019-06-30 15:41:42,384 [Loader:/WebRTCApp] INFO i.a.datastore.db.DataStoreFactory - Used Datastore:mapdb app:WebRTCApp db name:webrtcapp ... ... 2019-06-30 15:41:42,613 [Loader:/LiveApp] INFO i.a.datastore.db.DataStoreFactory - Used Datastore:mapdb app:LiveApp db name:liveapp What kind of database is this and how can I use it? I need to store the streamID somewhere for the client to access. Thanks, Ray Link to comment Share on other sites More sharing options...
Question
Ray Jender
Ray
Link to comment
Share on other sites
Top Posters For This Question
3
1
Popular Days
Jun 30
2
Jul 10
1
Jul 11
1
Top Posters For This Question
Ray Jender 3 posts
Murat Aydin 1 post
Popular Days
Jun 30 2019
2 posts
Jul 10 2019
1 post
Jul 11 2019
1 post
3 answers to this question
Recommended Posts