mconf / bigbluebutton

BigBlueButton is an open source web conferencing system for distance education
www.bigbluebutton.org
40 stars 33 forks source link

Generate events on redis when recordings are removed, published and unpublished #257

Open mconf-daileon opened 8 years ago

mconf-daileon commented 8 years ago

Author Name: Leonardo Daronco (Leonardo Daronco) Original Redmine Issue: 1693, http://dev.mconf.org/redmine/issues/1693


Generate these events on Mconf-Live so that the webhooks application can use them.

mconf-daileon commented 8 years ago

Original Redmine Comment Author Name: Felipe Cecagno (Felipe Cecagno) Original Date: 2015-10-30T12:52:52Z


Queued for the next version.

fcecagno commented 8 years ago

This is an example of output on redis:

1465591069.227498 [0 127.0.0.1:43383] "publish" "bigbluebutton:from-rap" "{\"header\":{\"timestamp\":11131726,\"name\":\"archive_started\",\"current_time\":1465591069,\"version\":\"0.0.1\"},\"payload\":{\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"}}"
1465591069.521882 [0 127.0.0.1:43383] "publish" "bigbluebutton:from-rap" "{\"header\":{\"timestamp\":11132020,\"name\":\"archive_ended\",\"current_time\":1465591069,\"version\":\"0.0.1\"},\"payload\":{\"success\":true,\"step_time\":294,\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"}}"
1465591069.522502 [0 127.0.0.1:43383] "publish" "bigbluebutton:from-rap" "{\"header\":{\"timestamp\":11132021,\"name\":\"sanity_started\",\"current_time\":1465591069,\"version\":\"0.0.1\"},\"payload\":{\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"}}"
1465591069.815234 [0 127.0.0.1:43383] "publish" "bigbluebutton:from-rap" "{\"header\":{\"timestamp\":11132313,\"name\":\"sanity_ended\",\"current_time\":1465591069,\"version\":\"0.0.1\"},\"payload\":{\"success\":true,\"step_time\":292,\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"}}"
1465591069.815709 [0 127.0.0.1:43383] "publish" "bigbluebutton:from-rap" "{\"header\":{\"timestamp\":11132314,\"name\":\"process_started\",\"current_time\":1465591069,\"version\":\"0.0.1\"},\"payload\":{\"workflow\":\"presentation\",\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"}}"
1465591074.498603 [0 127.0.0.1:43383] "publish" "bigbluebutton:from-rap" "{\"header\":{\"timestamp\":11136997,\"name\":\"process_ended\",\"current_time\":1465591074,\"version\":\"0.0.1\"},\"payload\":{\"success\":true,\"step_time\":4683,\"workflow\":\"presentation\",\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"}}"
1465591074.499302 [0 127.0.0.1:43383] "publish" "bigbluebutton:from-rap" "{\"header\":{\"timestamp\":11136998,\"name\":\"publish_started\",\"current_time\":1465591074,\"version\":\"0.0.1\"},\"payload\":{\"workflow\":\"presentation\",\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"}}"
1465591074.974258 [0 127.0.0.1:43383] "publish" "bigbluebutton:from-rap" "{\"header\":{\"timestamp\":11137472,\"name\":\"publish_ended\",\"current_time\":1465591074,\"version\":\"0.0.1\"},\"payload\":{\"success\":true,\"step_time\":473,\"playback\":{\"format\":\"presentation\",\"link\":\"http://dev.mconf.rnp.br/playback/presentation/0.9.0/playback.html?meetingId=ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\",\"processing_time\":4683,\"duration\":6509,\"size\":165341},\"metadata\":{},\"download\":{},\"workflow\":\"presentation\",\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"}}"
1465591074.974863 [0 127.0.0.1:43383] "publish" "bigbluebutton:from-rap" "{\"header\":{\"timestamp\":11137473,\"name\":\"process_started\",\"current_time\":1465591074,\"version\":\"0.0.1\"},\"payload\":{\"workflow\":\"presentation_export\",\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"}}"
1465591075.302557 [0 127.0.0.1:43383] "publish" "bigbluebutton:from-rap" "{\"header\":{\"timestamp\":11137801,\"name\":\"process_ended\",\"current_time\":1465591075,\"version\":\"0.0.1\"},\"payload\":{\"success\":true,\"step_time\":327,\"workflow\":\"presentation_export\",\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"}}"
1465591075.302990 [0 127.0.0.1:43383] "publish" "bigbluebutton:from-rap" "{\"header\":{\"timestamp\":11137801,\"name\":\"publish_started\",\"current_time\":1465591075,\"version\":\"0.0.1\"},\"payload\":{\"workflow\":\"presentation_export\",\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"}}"
1465591075.710140 [0 127.0.0.1:43383] "publish" "bigbluebutton:from-rap" "{\"header\":{\"timestamp\":11138208,\"name\":\"publish_ended\",\"current_time\":1465591075,\"version\":\"0.0.1\"},\"payload\":{\"success\":true,\"step_time\":406,\"playback\":{\"format\":\"presentation_export\",\"link\":\"http://dev.mconf.rnp.br/presentation_export/ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375/ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375.zip\",\"processing_time\":4683,\"duration\":6509,\"size\":331276},\"metadata\":{},\"download\":{},\"workflow\":\"presentation_export\",\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"}}"
1465591244.124211 [0 127.0.0.1:43302] "PUBLISH" "bigbluebutton:from-rap" "{\"payload\":{\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"},\"header\":{\"timestamp\":11306622,\"name\":\"unpublished\",\"version\":\"0.0.1\"}}"
1465591267.446522 [0 127.0.0.1:43302] "PUBLISH" "bigbluebutton:from-rap" "{\"payload\":{\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"},\"header\":{\"timestamp\":11329944,\"name\":\"published\",\"version\":\"0.0.1\"}}"
1465591277.820659 [0 127.0.0.1:43302] "PUBLISH" "bigbluebutton:from-rap" "{\"payload\":{\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"},\"header\":{\"timestamp\":11340318,\"name\":\"unpublished\",\"version\":\"0.0.1\"}}"
1465591279.628085 [0 127.0.0.1:43302] "PUBLISH" "bigbluebutton:from-rap" "{\"payload\":{\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"},\"header\":{\"timestamp\":11342126,\"name\":\"published\",\"version\":\"0.0.1\"}}"
1465591283.220764 [0 127.0.0.1:43302] "PUBLISH" "bigbluebutton:from-rap" "{\"payload\":{\"meeting_id\":\"ec3c2e444f5d8e8cadc9df7d755a2895443c2360-1465590962375\"},\"header\":{\"timestamp\":11345718,\"name\":\"deleted\",\"version\":\"0.0.1\"}}"