1 00:00:00,960 --> 00:00:03,520 All right my friends this video is going to be the moment of truth. 2 00:00:03,520 --> 00:00:08,000 We're going to figure out whether or not we are able to stream some video and see it inside of our browser. 3 00:00:08,210 --> 00:00:13,490 So to get started we're going to first do a little bit of configuration of OBSS if you recall when you 4 00:00:13,520 --> 00:00:15,950 looked at the Noad Media Server documentation. 5 00:00:16,040 --> 00:00:20,300 There was a section inside of your Tukey about how to receive video from OBSS. 6 00:00:20,360 --> 00:00:26,980 So essentially want to set up a streaming at your l of RCMP local host slash live and then the stream 7 00:00:26,980 --> 00:00:32,210 key that we use is going to be the stream name which for us is going to be the ID of the stream object 8 00:00:32,510 --> 00:00:34,430 that we are looking at on the screen. 9 00:00:34,580 --> 00:00:40,210 So I'm going to pull on OBSS right here I'm going to find the settings button on the left hand side 10 00:00:40,230 --> 00:00:46,960 of select stream and then I'll select a stream type of custom streaming server for the Eurail going 11 00:00:47,060 --> 00:00:49,620 to enter TTP or the RCMP. 12 00:00:49,640 --> 00:00:50,550 My mistake. 13 00:00:50,720 --> 00:00:54,190 Colon slash slash local host slash life. 14 00:00:54,440 --> 00:01:00,200 And then my stream key again it's going to be the ID of the stream that I'm viewing inside of my browser. 15 00:01:00,410 --> 00:01:05,630 So in this case I'm at stream's slash one so I'm looking at the stream with an idea of one if you're 16 00:01:05,630 --> 00:01:11,300 looking at a different idea you need to enter that different ID because I'm at one I'm going to enter 17 00:01:11,390 --> 00:01:18,590 one right there so I have simply one as my stream key OK it's going to hit OK. 18 00:01:18,720 --> 00:01:25,710 And then finally I'm going to hit start streaming and you'll notice in the background what do I see. 19 00:01:25,710 --> 00:01:27,900 I see my stream start to appear. 20 00:01:27,900 --> 00:01:32,070 If you do not immediately see or stream appear right here the first thing to do is try refreshing the 21 00:01:32,070 --> 00:01:37,680 page when you refresh the page you should then see the video player appear with your desktop image inside 22 00:01:37,680 --> 00:01:38,260 of it. 23 00:01:38,450 --> 00:01:44,450 So now I can click on play right here and I this is kind of strange but I could hear myself talking. 24 00:01:44,450 --> 00:01:46,190 What I was saying just a couple of seconds ago. 25 00:01:46,200 --> 00:01:47,750 I got meet that audio right there. 26 00:01:48,000 --> 00:01:51,460 But if everything worked out correctly you should see the stream of video on here. 27 00:01:51,540 --> 00:01:55,800 And if you have a microphone and you're talking into it you should hear yourself as well. 28 00:01:55,800 --> 00:01:59,830 Now keep in mind that the entire stream process usually there is a time lag in it. 29 00:01:59,820 --> 00:02:05,520 It might take up to 10 or 15 seconds for your video to catch up and actually be visible inside the browser. 30 00:02:05,520 --> 00:02:05,930 All right. 31 00:02:05,940 --> 00:02:07,410 So this looks pretty awesome. 32 00:02:07,410 --> 00:02:10,820 It looks like everything is working out as we expected. 33 00:02:10,830 --> 00:02:13,570 There's just one last little thing I want to point out here. 34 00:02:13,740 --> 00:02:20,190 If I go over to click on streaming and navigate away from this page and then going to go back over to 35 00:02:20,220 --> 00:02:27,440 OBSS and I'm going to stop the stream and you'll notice that when I did so we see a little console log 36 00:02:27,440 --> 00:02:31,930 over here you might have not quite noticed it if you didn't have your console open if you didn't notice 37 00:02:31,930 --> 00:02:32,270 it. 38 00:02:32,330 --> 00:02:39,090 Try turning on your stream again inside of obese and then go back over to your stream clean out your 39 00:02:39,150 --> 00:02:44,730 counsel make sure you play the video then navigate back to the list of streams. 40 00:02:44,750 --> 00:02:48,890 And then here it is one more time even though I don't see that video player on the screen any more. 41 00:02:48,890 --> 00:02:53,480 Click on stop streaming and then after a second or two you're going to see a little console log over 42 00:02:53,480 --> 00:02:56,780 there and it says media source on source ended. 43 00:02:56,780 --> 00:03:01,070 So to know something seems a little bit strange about that. 44 00:03:01,070 --> 00:03:02,470 Well let's come back the next section. 45 00:03:02,480 --> 00:03:06,830 I'll tell you about why we're seeing that little console right there and some little bit of last minute 46 00:03:06,830 --> 00:03:11,900 cleanup that we need to do just to make sure that our application is not going to crazy so to speak. 47 00:03:12,020 --> 00:03:15,680 So quick pause and we'll take care of this last task in the next video.