Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I

Stream static video contents to client

Jump to solution

I would like to stream vod( video on demand ) contents via intel webrtc server.is it posible ? I have researched but not get any useful threads. All other streaming functionality in intel webrtc is excellent But the vod streaming via webrtc is one of the requirement for me

use case

  • put mp4 file in a server directory
  • i want to read that file and stream via webrtc to all connected clients 
Webrtc Nodejs engineer +919809888818 skype: nithinj2e
Tags (2)
0 Kudos

Accepted Solutions
Highlighted
New Contributor I

Again Intel rokz.. I got the

Jump to solution

Again Intel rokz.. I got the solution.

Woogeen.ExternalStream.create({
            url: url_of_static_mp4_video,
            audio: false,
            video: true
          }, function(err, stream) {
            conference.publish(stream, {}, function(st) {
              L.Logger.info('stream published:', st.id());
            }, function(err) {
              L.Logger.error('publish failed:', err);
            });
          });

The above code will publish the static mp4 video as webrtc stream to all connected users,

Thank you Intel team for building a powerful webrtc media server

Webrtc Nodejs engineer +919809888818 skype: nithinj2e

View solution in original post

0 Kudos
1 Reply
Highlighted
New Contributor I
1 View

Again Intel rokz.. I got the

Jump to solution

Again Intel rokz.. I got the solution.

Woogeen.ExternalStream.create({
            url: url_of_static_mp4_video,
            audio: false,
            video: true
          }, function(err, stream) {
            conference.publish(stream, {}, function(st) {
              L.Logger.info('stream published:', st.id());
            }, function(err) {
              L.Logger.error('publish failed:', err);
            });
          });

The above code will publish the static mp4 video as webrtc stream to all connected users,

Thank you Intel team for building a powerful webrtc media server

Webrtc Nodejs engineer +919809888818 skype: nithinj2e

View solution in original post

0 Kudos