Markus,
As I was testing the a fix the 1.0.x branch, I couldn't figure out how to use mockdata to test the engage player. I figured others could benefit from your explanation. shared-resources/js/engage-ui.js has several options for getSearchServiceEpisodeIdURL:
var restEndpoint = "../../search/rest/episode?id="; // Production
//var restEndpoint = "xml/episode.xml?id="; // Activate for testing purposes //var restEndpoint = "episode-segments.xml?id="; // Activate for testing purposes

If I call episode.xml directly, by default it brings up an xml file pointing to Osnabruck's servers. http://localhost:8080/engage/ui/episode.xml I wasn't sure where to put the mockdata, testHutto.xml (MH-6027), and how to refer to if these "activate" options. I ended up using /search/rest/add and posted the media package to the search index. I basically leveraged the already processed media package living on QA. In order to test streaming, I changed the media paths to the rtmp protocol for the presenter/delivery and presentation/delivery tracks and pointed directly to my local red5 streaming directories. It worked like a charm but I figured there was a more elegant way to approach this. The benefit of publishing a QA media package locally was that I didn't have to tie up my local machine for hours processing an hour+ recording.

Thanks in advance,
Adam
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to