All right my friends this video is going to be the moment of truth.
We're going to figure out whether or not we are able to stream some video and see it inside of our browser.
So to get started we're going to first do a little bit of configuration of OBSS if you recall when you
looked at the Noad Media Server documentation.
There was a section inside of your Tukey about how to receive video from OBSS.
So essentially want to set up a streaming at your l of RCMP local host slash live and then the stream
key that we use is going to be the stream name which for us is going to be the ID of the stream object
that we are looking at on the screen.
So I'm going to pull on OBSS right here I'm going to find the settings button on the left hand side
of select stream and then I'll select a stream type of custom streaming server for the Eurail going
to enter TTP or the RCMP.
My mistake.
Colon slash slash local host slash life.
And then my stream key again it's going to be the ID of the stream that I'm viewing inside of my browser.
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
looking at a different idea you need to enter that different ID because I'm at one I'm going to enter
one right there so I have simply one as my stream key OK it's going to hit OK.
And then finally I'm going to hit start streaming and you'll notice in the background what do I see.
I see my stream start to appear.
If you do not immediately see or stream appear right here the first thing to do is try refreshing the
page when you refresh the page you should then see the video player appear with your desktop image inside
of it.
So now I can click on play right here and I this is kind of strange but I could hear myself talking.
What I was saying just a couple of seconds ago.
I got meet that audio right there.
But if everything worked out correctly you should see the stream of video on here.
And if you have a microphone and you're talking into it you should hear yourself as well.
Now keep in mind that the entire stream process usually there is a time lag in it.
It might take up to 10 or 15 seconds for your video to catch up and actually be visible inside the browser.
All right.
So this looks pretty awesome.
It looks like everything is working out as we expected.
There's just one last little thing I want to point out here.
If I go over to click on streaming and navigate away from this page and then going to go back over to
OBSS and I'm going to stop the stream and you'll notice that when I did so we see a little console log
over here you might have not quite noticed it if you didn't have your console open if you didn't notice
it.
Try turning on your stream again inside of obese and then go back over to your stream clean out your
counsel make sure you play the video then navigate back to the list of streams.
And then here it is one more time even though I don't see that video player on the screen any more.
Click on stop streaming and then after a second or two you're going to see a little console log over
there and it says media source on source ended.
So to know something seems a little bit strange about that.
Well let's come back the next section.
I'll tell you about why we're seeing that little console right there and some little bit of last minute
cleanup that we need to do just to make sure that our application is not going to crazy so to speak.
So quick pause and we'll take care of this last task in the next video.