Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

Stream static video contents to client

Nithin_P_
New Contributor I
139 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
139 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

1 Reply
Nithin_P_
New Contributor I
140 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

Reply