Playing items in

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Playing items in

Juan Diego
Hi
I am trying to create sequential playlist https://red5pro.zendesk.com/hc/en-us/articles/216137018-Sequential-Playlist

ServerStream stream = new ServerStream();
        stream.setScope(scope);
        stream.setName("testplaylist");
        stream.setPublishedName("testplaylist");
   
        serverStream = stream;//StreamUtils.createServerStream(appScope, "testplaylist");
       
        String pelicula = "http://xxxxx.cloudfront.com/archivos/1005/Avengers2.mp4?Policy=xxxxxxxxx";
        SimplePlayItem item = SimplePlayItem.build(pelicula);
        serverStream.addItem(item);
       
        serverStream.start();

Is it possible to pass a url in order to play the files. I have seen the S3 example but it only store files on the bucket.  Is there a way to do this?

Thanks.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Playing items in

Rajdeep Rath
Make your own adapter or so to speak. Pass in the URL. Have your adapter download the file from the URL and then add it to the ServerStream object.



On Dec 13, 2016 10:50 AM, "Juan Diego" <[hidden email]> wrote:
Hi
I am trying to create sequential playlist https://red5pro.zendesk.com/hc/en-us/articles/216137018-Sequential-Playlist

ServerStream stream = new ServerStream();
        stream.setScope(scope);
        stream.setName("testplaylist");
        stream.setPublishedName("testplaylist");
   
        serverStream = stream;//StreamUtils.createServerStream(appScope, "testplaylist");
       
        String pelicula = "http://xxxxx.cloudfront.com/archivos/1005/Avengers2.mp4?Policy=xxxxxxxxx";
        SimplePlayItem item = SimplePlayItem.build(pelicula);
        serverStream.addItem(item);
       
        serverStream.start();

Is it possible to pass a url in order to play the files. I have seen the S3 example but it only store files on the bucket.  Is there a way to do this?

Thanks.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.