Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

Stream static video contents to client

Nithin_P_
New Contributor I
312 Views

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 
0 Kudos
1 Solution
Nithin_P_
New Contributor I
312 Views

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

View solution in original post

0 Kudos
1 Reply
Nithin_P_
New Contributor I
313 Views

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

0 Kudos
Reply