Project

General

Profile

Bug #2167

CAC-Livestream Plugin Issues

Added by Michael Smith over 6 years ago. Updated about 4 years ago.

Status:
Assigned
Priority name:
Normal
Category name:
WordPress (misc)
Target version:
Start date:
2012-10-03
Due date:
2014-03-11
% Done:

50%

Estimated time:

Description

Hi Dom,

I just yesterday activated the livestream plugin tracked in this feature request:

http://redmine.gc.cuny.edu/issues/2002

Something doesn't seem to be working though. See:

http://live.commons.gc.cuny.edu

And I went back to the dev site and tested it there with the same result:

http://live.cdev.gc.cuny.edu

Both pages display only the message, 'Loading the player...' My guess is JWPlayer isn't being installed on the site? Though I don't know what happened with the dev site, as it was working the last time I tested it on Aug 20.

My personal page still is working with the same player configuration.

http://live.michaelbransonsmith.net

Also, I'm not able to look at the github repository for the plugin with the link:

https://github.com/castiron/cac/tree/1.4.x/wp-content/plugins/cac-livestream

I only get a 404 error. I'm a little worried about this as the CAC-Livestream plugin on the Commons doesn't include any documentation of how to use the shortcode.


Related issues

Related to CUNY Academic Commons - Feature #2002: Create Livestream video space/channel for the CommonsResolved2012-07-22

History

#1 Updated by Dominic Giglio over 6 years ago

I'll get on this when I get home from class this afternoon.

#2 Updated by Dominic Giglio over 6 years ago

This is weird. It looks as if the very first iteration of my shortcode was committed to the repo for release. I remember writing the code that's currently in the 1.4.6 release and therefore live on the site now. But I also updated this code to expand it so that it uses html5 video first and then falls back on flash when it's not available.

Let me keep digging, I'll find out where that code went and then we can discuss how to get it back into production ASAP.

#3 Updated by Dominic Giglio over 6 years ago

Michael,

I'm so sorry, this is totally my fault. I had a git issue keeping me from merging things properly and in the fix some cac-livestream code (the latest code) was left out of the 1.4.6 release.

Boone,

It looks like my cherry picking wasn't as successful as I thought. I can see the different versions by checking out 1.4.x and then master in my local env and just checking visually what changes were made. I think I missed one commit when cherry picking.

How would you like me to handle this? The plugin is so simple I can just copy the code in Sublime while on master and past it into the plugin file after switching back to 1.4.x. It looks like this functionality won't be available to Michael until 1.4.7, unless we make a 1.4.6.1 release with cac-livestream just for him.

Michael,

As far as documentation goes, you can always look back at issue #2002 where you and I discussed how to use it. However, I can write up a readme file that will go into the next release so you can refer to it on Github as we move forward. If you'd like me to do this just let me know and i'll take the info from issue #2002 and reformat it into a more formal set of docs/instructions.

#4 Updated by Boone Gorges over 6 years ago

  • Target version changed from 1.4.8 to 1.4.7

How would you like me to handle this? The plugin is so simple I can just copy the code in Sublime while on master and past it into the plugin file after switching back to 1.4.x.

That's fine. Let's slate this for 1.4.7. It's only about a week away.

#5 Updated by Dominic Giglio over 6 years ago

  • Status changed from New to Assigned
  • Priority name changed from High to Normal
  • Target version changed from 1.4.7 to 1.4.8
  • % Done changed from 0 to 50

I've updated the cac-livestream code in 1.4.x with the latest code that was missed when cherry-picking from master. Michael, it will be available for testing on Thursday 10/11/12 after the 1.4.7 release.

https://github.com/castiron/cac/commit/8065f8c76cc06fbe4ddb3f8feabb9eca44e6eb17

I'm moving this to 1.4.8 for now because documentation was also raised in this issue. I'd like to make sure the latest revisions work in production so Michael and I can collaborate on some docs in a Github README.

#6 Updated by Michael Smith over 6 years ago

Thanks Dom, looking forward to testing it next week. And I can work on coalescing some documentation for the shortcode. Is there a reason though why I still get a 404 error when following the Github link?

#7 Updated by Dominic Giglio over 6 years ago

I'm not sure why you're seeing the 404. I can see the plugin in the 1.4.x branch on Github just fine. Try this link:

https://github.com/castiron/cac/tree/1.4.x/wp-content/plugins/cac-livestream

As far as docs go. I should have no prob summarizing the use of the shortcode,

What would be great from your end is some docs about using the shortcode from the other side. What I mean is, what does a user need to do on their AWS and with their specific videos to make sure that the plugin can communicate with the servers that actually hold and stream the video. I'm not sure how that part works.

#8 Updated by Boone Gorges over 6 years ago

The cac-livestream repo is private, which is why Michael's getting a 404. Is there any reason not to make it public?

#9 Updated by Dominic Giglio over 6 years ago

cac-livestream does not have it's own repo like cac-featured-content or cac-twitter-stream. It is a plugin that's just for us on The Commons right now.

So the link Michael is trying to use to view the cac-livestream code is in the castiron repo.

#10 Updated by Boone Gorges over 6 years ago

Ah yes, you're right. Do you want a cuny-academic-commons/cac-livestream repo?

#11 Updated by Dominic Giglio over 6 years ago

I guess we might as well. I assumed that this plugin was going to be used by only us to enable streaming on our site for right now.

But the plugin doesn't contain any specific commons code, so it's own repo will allow us to distribute if we so choose to in the future.

I'll push it to it's own repo for now, but I don't think we should advertise it or publish to the WP plugin repo just yet. There are lingering concerns about the licensing of jwplayer (commercial vs non-commercial) that need to be discussed before public distribution.

#12 Updated by Boone Gorges over 6 years ago

Sounds good. Thanks, Dom.

#13 Updated by Dominic Giglio over 6 years ago

Do I have rights to create repos for the cuny-academic-commons Github account?

If so I will create the repo so you don't have to bother with it.

#14 Updated by Boone Gorges over 6 years ago

I don't think you do, so I created it: https://github.com/cuny-academic-commons/cac-livestream

#15 Updated by Dominic Giglio over 6 years ago

cac-livestream code has been pushed to it's new repo:

https://github.com/cuny-academic-commons/cac-livestream

Michael, we should be able to collaborate on docs now. :-)

#16 Updated by Dominic Giglio over 6 years ago

I started the README with basic usage instruction on Github:

https://github.com/cuny-academic-commons/cac-livestream

Michael, we'll talk about getting some specifics together about how you connect the plugin to your AWS account after you've confirmed it works after the 1.4.7 release next week.

I'm leaving this open in 1.4.8 for now.

#17 Updated by Dominic Giglio over 6 years ago

  • Target version changed from 1.4.8 to 1.4.9

Michael,

How's the plugin working (or not working) for you now? Noticed any bugs or missing features?

#18 Updated by Michael Smith over 6 years ago

Hi Dom,

I'm going to set aside more time this week to play with custom settings, but it does work! I was able to view my stream on the http://live.gc.commons.cuny.edu site.

I update with more soon.

#19 Updated by Dominic Giglio over 6 years ago

Sounds good, just wanted to make sure the latest code did what it's supposed to.

Don't feel like your slowing me down, I'm caught right in the middle of midterms right now. So whenever you get around to it, I'll be here. :-)

#20 Updated by Dominic Giglio over 6 years ago

  • Target version changed from 1.4.9 to 1.4.10

#21 Updated by Dominic Giglio over 6 years ago

  • Target version changed from 1.4.10 to 1.4.11

#22 Updated by Dominic Giglio over 6 years ago

  • Target version changed from 1.4.11 to 1.4.12

#23 Updated by Michael Smith about 6 years ago

Modifying the image attribute in the [livestream] shortcode seems to break the player for some reason. I added this:

image="http://live.commons.gc.cuny.edu/files/2012/11/CUNY-is-live-player-800-500.jpg"

to the shortcode. The image appears in the player, but when you click play it doesn't work.

#24 Updated by Michael Smith about 6 years ago

Ok after even more testing, it's seems to be more specifically that if I place the image attribute after a return within the shortcode the player will break. If I place the image attribute after a space the player still works.

I don't know what that's about.

#25 Updated by Dominic Giglio about 6 years ago

  • Target version changed from 1.4.12 to 1.4.13

#26 Updated by Boone Gorges about 6 years ago

  • Target version changed from 1.4.13 to 1.4.14

#27 Updated by Boone Gorges about 6 years ago

  • Target version changed from 1.4.14 to 1.4.15

#28 Updated by Boone Gorges about 6 years ago

  • Target version changed from 1.4.15 to 1.4.16

#29 Updated by Boone Gorges about 6 years ago

  • Target version changed from 1.4.16 to 1.4.17

#30 Updated by Boone Gorges about 6 years ago

  • Target version changed from 1.4.17 to 1.4.18

#31 Updated by Boone Gorges about 6 years ago

  • Target version changed from 1.4.18 to 1.4.19

#32 Updated by Boone Gorges about 6 years ago

  • Target version changed from 1.4.19 to 1.4.20

#33 Updated by Boone Gorges almost 6 years ago

  • Target version changed from 1.4.20 to 1.4.21

#34 Updated by Boone Gorges almost 6 years ago

  • Target version changed from 1.4.21 to 1.4.22

#35 Updated by Boone Gorges almost 6 years ago

  • Target version changed from 1.4.22 to 1.4.23

#36 Updated by Boone Gorges almost 6 years ago

  • Target version changed from 1.4.23 to 1.4.24

#37 Updated by Dominic Giglio almost 6 years ago

Michael,

I finally had a chance to get back to this ticket tonight. Most of the functionality appears to be OK. I can input the shortcode as a single line or with line breaks and it loads an mp4file="" video. I obviously can't test the livestreaming functionality without a stream up and running on your server. Let me know if you've got some time to put into this so we can get it running the way its supposed to, and I can fix anything that's currently broken.

#38 Updated by Boone Gorges almost 6 years ago

  • Target version changed from 1.4.24 to 1.4.25

#39 Updated by Dominic Giglio almost 6 years ago

  • Target version changed from 1.4.25 to 1.4.26

#40 Updated by Dominic Giglio almost 6 years ago

  • Target version changed from 1.4.26 to 1.4.27

#41 Updated by Boone Gorges almost 6 years ago

  • Target version changed from 1.4.27 to 1.4.28

#42 Updated by Dominic Giglio almost 6 years ago

  • Target version changed from 1.4.28 to 1.4.29

#43 Updated by Boone Gorges over 5 years ago

  • Target version changed from 1.4.29 to 1.4.30

#44 Updated by Dominic Giglio over 5 years ago

  • Target version changed from 1.4.30 to 1.4.31

#45 Updated by Boone Gorges over 5 years ago

  • Target version changed from 1.4.31 to 1.4.32

#46 Updated by Boone Gorges over 5 years ago

  • Target version changed from 1.4.32 to 135

#47 Updated by Boone Gorges over 5 years ago

  • Target version changed from 135 to 1.5.1

#48 Updated by Boone Gorges over 5 years ago

  • Target version changed from 1.5.1 to 1.5.2

#49 Updated by Boone Gorges over 5 years ago

  • Target version changed from 1.5.2 to 1.5.3

#50 Updated by Dominic Giglio over 5 years ago

  • Target version changed from 1.5.3 to 1.5.4

Matt,

You mentioned at the meeting that Michael will be cutting back on his role in the Commons a little because of his schedule. We've been bumping this issue forever. Will live streaming work be cut back or halted while Michael's schedule prevents him from being as active as he used to be? Maybe we should close this issue and reopen a newer one in the future if this is a feature we want to revisit?

#51 Updated by Boone Gorges over 5 years ago

  • Target version changed from 1.5.4 to 1.5.5

#52 Updated by Dominic Giglio over 5 years ago

  • Target version changed from 1.5.5 to 1.5.6

#53 Updated by Dominic Giglio over 5 years ago

  • Target version changed from 1.5.6 to 1.5.7

#54 Updated by Boone Gorges over 5 years ago

  • Target version changed from 1.5.7 to 1.5.8

#55 Updated by Boone Gorges over 5 years ago

  • Target version changed from 1.5.8 to 1.5.9

#56 Updated by Boone Gorges about 5 years ago

  • Target version changed from 1.5.9 to 1.5.10

#57 Updated by Boone Gorges about 5 years ago

  • Target version changed from 1.5.10 to 1.5.11

#58 Updated by Dominic Giglio about 5 years ago

  • Target version changed from 1.5.11 to 1.5.12

#59 Updated by Dominic Giglio about 5 years ago

  • Target version changed from 1.5.12 to 1.5.13

#60 Updated by Boone Gorges about 5 years ago

  • Target version changed from 1.5.13 to 1.5.14

#61 Updated by Boone Gorges about 5 years ago

  • Target version changed from 1.5.14 to 1.5.15

#62 Updated by Dominic Giglio about 5 years ago

  • Target version changed from 1.5.15 to 1.5.16

#63 Updated by Boone Gorges about 5 years ago

  • Target version changed from 1.5.16 to 1.5.17

#64 Updated by Boone Gorges about 5 years ago

  • Target version changed from 1.5.17 to 1.5.18

#65 Updated by Boone Gorges almost 5 years ago

  • Target version changed from 1.5.18 to 1.5.19

#66 Updated by Boone Gorges almost 5 years ago

  • Target version changed from 1.5.19 to 1.5.20

#67 Updated by Matt Gold almost 5 years ago

  • Due date set to 2014-03-11

Dom, can you try to provide an update for this ticket by our next release? We don't have to solve the issue, but I would like to see a status report. Many thanks.

#68 Updated by Dominic Giglio almost 5 years ago

Sure, but I'm putting it behind the WooThemes and group invites issues I just updated. They seem a little more pressing.

Michael,

Can you give me a quick refresher on the state of your live streaming on/through the commons? Are you still using this plugin? Do you want to keep using this plugin? Have things changed substantially enough to warrant the creation of a new plugin maybe? Let me know and we'll get this ticket outa here and take care of whatever needs to be taken care of.

#69 Updated by Matt Gold almost 5 years ago

That prioritization makes sense, Dom - thanks.

FYI, Michael wasn't a watcher on this ticket, so he likely missed your call-out to him. He's listed now -- so, Michael, please let us know what you think when you have a chance. Thanks!

#70 Updated by Michael Smith almost 5 years ago

Hi Dom & Matt,

There is not a lot of live streaming on the Commons, though Phil Roncoroni at QCC just asked to stream something for 3/19. The site still uses the plugin, and if I recall correctly the issue was one in which if you add returns rather than spaces between attributes (as suggested in the example https://github.com/cuny-academic-commons/cac-livestream), it breaks.

Also, if someone downloads the zip from Github, they have to rename the directory 'cac-livestream' from 'cac-livestream-master' otherwise the PHP named path to the jwplayer.js and player.swf files is broken.

Let me know if you want to set up a test at some point.

- Michael

#71 Updated by Matt Gold almost 5 years ago

Thanks, Michael. I just forwarded a message to you about someone else interested in this.

I know have a credit card I can use, and I feel strongly that the livestreaming solution should not be under your name/cc. Also happy to spend some funding on this if a more robust solution would help. I still would like the Commons to offer livestreaming. Should we consider other livestreaming solutions?

#72 Updated by Dominic Giglio almost 5 years ago

I'll revisit the plugin code/structure and see where the small issues we've been experiencing are coming from. Fixing that naming issue with getting the code from Github also shouldn't be hard.

Michael, as soon as I've gone over the code again, I'll ping you about setting up some tests to see where we are and what we're missing.

#73 Updated by Michael Smith almost 5 years ago

Dom -

Great. Let me know when you're ready.

Matt -

To get started, you can create an Amazon Web Services (AWS) account. I would then be able to use the EC2 console and start a Wowza embedded license virtual server that can be turned on and off. That's what I'm doing which is ~$10 a month, plus an elastic IP ~$2 a month. After that you pay only a $.15/hr to when the server instance is active.

We can look to continue to develop and get the stats everyone I know wants. This would call for some things that are beyond me, like SSH into the server and setting up configs to get that data as well as other customizations.

And I bet there's some insight to be learned from Luke and Mikhail with VOCAT 3.0 which is built on AWS (not streaming just video conversion and hosting). They're using their elastic transcoder to take any flavor of video and convert/host on AWS. Sadly the tool can't do livestreaming yet as there is no HTML5 standard for live video calls. But they think it will come at some point.

I know they created VOCAT specifically for analysis of student speeches, but effectively it's a video social network tool with sophisticated commenting and attribution features. Who knows, it might be interesting for other communities with different interests at some point.

#74 Updated by Matt Gold almost 5 years ago

Great -- just created an AWS account. Will send details via email. Thanks, Michael.

#75 Updated by Boone Gorges almost 5 years ago

  • Target version changed from 1.5.20 to 1.5.21

#76 Updated by Boone Gorges almost 5 years ago

  • Target version changed from 1.5.21 to 1.5.22

#77 Updated by Boone Gorges almost 5 years ago

  • Target version changed from 1.5.22 to 169

#78 Updated by Boone Gorges almost 5 years ago

  • Target version changed from 169 to 1.6.1

#79 Updated by Boone Gorges almost 5 years ago

  • Target version changed from 1.6.1 to 1.6.2

#80 Updated by Boone Gorges almost 5 years ago

  • Target version changed from 1.6.2 to 1.6.3

#81 Updated by Boone Gorges almost 5 years ago

  • Target version changed from 1.6.3 to 1.6.4

#82 Updated by Boone Gorges almost 5 years ago

  • Target version changed from 1.6.4 to 1.6.5

#83 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.6.5 to 1.6.6

#84 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.6.6 to 1.6.7

#85 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.6.7 to 1.6.8

#86 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.6.8 to 1.6.9

#87 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.6.9 to 1.6.10

#88 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.6.10 to 1.6.11

#89 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.6.11 to 1.6.12

#90 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.6.12 to 1.6.13

#91 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.6.13 to 1.6.14

#92 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.6.14 to 1.6.15

#93 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.6.15 to 1.6.16

#94 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.6.16 to 1.6.17

#95 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.6.17 to 1.7.1

#96 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.7.1 to 1.7.2

#97 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.7.2 to 1.7.3

#98 Updated by Boone Gorges over 4 years ago

  • Target version changed from 1.7.3 to 1.7.4

#99 Updated by Boone Gorges about 4 years ago

  • Target version changed from 1.7.4 to 1.7.5

#100 Updated by Raymond Hoh about 4 years ago

  • Target version changed from 1.7.5 to 1.7.6

#101 Updated by Boone Gorges about 4 years ago

  • Target version changed from 1.7.6 to 1.7.7

#102 Updated by Boone Gorges about 4 years ago

  • Target version changed from 1.7.7 to 1.7.8

#103 Updated by Boone Gorges about 4 years ago

  • Target version changed from 1.7.8 to Future release

Moving this ticket to Future Release in lieu of punting it again. Michael, if you continue to have issues, maybe you could give me a summary of where we're at, and we could chart out some concrete next steps.

Also available in: Atom PDF