Teknik Multicast Untuk Video Streaming Dalam Jaringan LAN.

(1)

Sejalan dengan perkembangan teknologi, pertukaran informasi dalam bentuk visual maupun audio sangat dibutuhkan. Bentuk pertukaran informasi dalam bentuk visual dan audio secara bersamaan, antara lain adalah video streaming. Streaming adalah teknik file sharing yang tidak membutuhkan download keseluruhan file untuk dapat membuka file yang diinginkan. Salah satu teknik yang digunakan untuk mengirim suatu informasi adalah teknik Multicast. Multicast adalah teknik pengiriman informasi dari suatu pengirim kepada suatu grup penerima.

Dalam tugas akhir ini akan dibuat suatu program untuk mengaplikasikan video streaming dalam jaringan LAN (Local Area Network) dengan menggunakan teknik Multicast. Program yang digunakan adalah VBScript , Unreal Media Server Streaming, Microsoft Front Page dan Microsoft Dreamweaver MX. Percobaan dilakukan untuk 5 komputer yang berada dalam jaringan LAN. Uji coba dilakukan untuk mengetahui apakah program yang telah dibuat dapat beroperasi dalam jaringan LAN.

Berdasarkan uji coba yang dilakukan, didapat bahwa program yang telah dibuat dapat beroperasi dalam jaringan LAN untuk 5 komputer, dan delay waktu dapat dikurangi dengan melakukan setting buffer pada IIS (Internet Information Service).


(2)

ABSTRACT

Recently, information exchange such as visual or audio exchange is much needed. A form of information exchange is video streaming. Streaming is a kind of file sharing technique that doesn’t need full download to open the file. One of techniques that deliver information from one sender to many recipients is called Multicast.

In this final project has been designed a video streaming on Local Area Network using Multicast Technique. This experiment uses programs, such as VBScript as basic language, Unreal Media Server Streaming program as media server, Microsoft Front Page program and Microsoft Dreamweaver MX program as finishing programs. This experiment uses 5 computers on Local Area Network to know whether video streaming can be applied on Local Area Network.

Based on the experiment result we conclude that the designed video streaming can operate on Local Area Network for 5 computers, and the time delay can be reduced by setting buffer on IIS.


(3)

DAFTAR ISI

Halaman

ABSTRAK ...i

KATA PENGANTAR ...iii

DAFTAR ISI ...vi

DAFTAR TABEL ...ix

DAFTAR GAMBAR ...x

BAB I PENDAHULUAN 1.1 Latar Belakang ...1

1.2 Identifikasi Masalah ...2

1.3 Tujuan ...2

1.4 Pembatasan Masalah ...2

1.5 Sistematika Pembahasan ...2

BAB 2 LANDASAN TEORI 2.1 HTML (Hyper Text Markup Language) ...4

2.1.1 Penamaan Dokumen HTML ...5

2.1.2 Elemen dan Tag pada Dokumen HTML ... ...5

2.1.3 Struktur Dokumen HTML ...6

2.1.4 Tag Utama HTML ...7


(4)

2.3 Bahasa Scripting ...8

2.3.1 Kontrol Alur Percabangan ...9

2.3.2 Kontrol Alur Pengulangan ...10

2.3.3 Prosedur Sub dan Function ...11

2.3.4 Menggabungkan File ...12

2.4 ASP Object ...12

2.5 ActiveX server Component ...13

2.6 LAN (Local Area Network) ...14

2.7 Topologi-topologi Area Network ...14

2.8 Jenis-jenis LAN ...17

2.9 Web Server ...19

2.10 Prinsip Streaming ...19

2.11 Multicast & Video Streaming ...21

BAB 3 PERANCANGAN 3.1 Membuat Database ...24

3.2 Skema dari Peracangan Program...27

3.3 Membuat DSN ...47

3.4 Menginstal Media Player ...49


(5)

BAB 4 UJI COBA DAN ANALISA DATA

4.1 Skema Hasil Program ...52

4.2 Tampilan hasil program yang dibuka melalui ie6sp1 ...53

4.3 Spesifikasi Server yang digunakan ...59

4.4 Spesifikasi komputer client yang digunakan ...59

4.5 Spesifikasi dari data yang digunakan ...60

4.6 Spesifikasi dari “tools” untuk mengkonversi data dan hasil konversi 60 4.7 Hasil Uji Coba ...61

4.8 Hasil Analisa Data ...62

BAB 5 KESIMPULAN DAN SARAN 5.1 Kesimpulan...65

5.2 Saran...65

DAFTAR PUSTAKA

LAMPIRAN 1 INSTALASI IIS ...1-1 LAMPIRAN 2 LISTING PROGRAM ...2-1 LAMPIRAN 3 ERROR DAN SOLUSI ...3-1


(6)

DAFTAR TABEL

Halaman

Tabel 4.1 : Tabel hasil konversi ...60

Tabel 4.2 : Tabel delay waktu dengan streaming melalui IIS ...61


(7)

DAFTAR GAMBAR

Halaman

Gambar 2.1 : Arsitektur kasar streaming melalui IIS ...19

Gambar 2.2 : Aristektur dari streaming melalui media server ...20

Gambar 2.3 : Tampilan dari Unreal Media Server Streaming ...20

Gambar 2.4 : Skema Unicast ...21

Gambar 2.5 : Skema Multicast ...21

Gambar 2.6 : Skema Broadcast ...21

Gambar 2.7 : Skema Sistem Download ...22

Gambar 2.8 : Skema Sistem Streaming ...22

Gambar 3.1 : Pembuatan Folder HOM ...23

Gambar 3.2 : Cara pembuatan database Access ...24

Gambar 3.3 : Penyimpanan database ...25

Gambar 3.4 : Database Mydatabase.mdb pada Access ...25

Gambar 3.5 : Kotak dialog create table in design view ...26

Gambar 3.6 : Nama-nama field untuk userdatabase ...26

Gambar 3.7 : Kotak dialog Save As ...27

Gambar 3.8 : Nama-nama field untuk filmdatabase ...27

Gambar 3.9 : Diagram Alir menu Utama ...28

Gambar 3.10 : Diagram Alir Login ...29

Gambar 3.11 : Diagram Alir Video ...30


(8)

Gambar 3.13 : Diagram Alir No Credit ...31

Gambar 3.14 : Diagram Alir Detail film Client ...32

Gambar 3.15 : Diagram Alir Play Client ...33

Gambar 3.16 : Diagram Alir Web ...34

Gambar 3.17 : Diagram Alir Not Admin ...35

Gambar 3.18 : Diagram Alir View User ...35

Gambar 3.19 : Diagram Alir Detail User ...36

Gambar 3.20 : Diagram Alir Update User ...37

Gambar 3.21 : Diagram Alir Delete User ...38

Gambar 3.22 : Diagram Alir Search User ...39

Gambar 3.23 : Diagram Alir Insert User ...40

Gambar 3.24 : Diagram Alir View Film ...41

Gambar 3.25 : Diagram Alir Play Server ...42

Gambar 3.26 : Diagram Alir Detail Film Server ...43

Gambar 3.27 : Diagram Alir Update Film ...44

Gambar 3.28 : Diagram Alir Search Film ...45

Gambar 3.29 : Diagram Alir Insert Film ...46

Gambar 3.30 : Diagram Alir Logout ...47

Gambar 3.31 : Kotak dialog ODBC ...48

Gambar 3.32 : Create New Data Source ...48

Gambar 3.33 : ODBC Microsoft Access Setup ...49

Gambar 3.34 : Menginstal Windows Media Player ...50


(9)

Gambar 4.1 : Skema dari hasil program ...52

Gambar 4.2 : Tampilan Link home ...53

Gambar 4.3 : Tampilan Link Login ...53

Gambar 4.4 : Tampilan Link Video ...54

Gambar 4.5 : Tampilan Link Web Master ...54

Gambar 4.6 : Tampilan Link Logout ...54

Gambar 4.7 : Tampilan Link View User ...55

Gambar 4.8 : Tampilan Link Hendry ...55

Gambar 4.9 : Tampilan Link Hendry U ...55

Gambar 4.10 : Tampilan Link Hendry D ...56

Gambar 4.11 : Tampilan Link Search User ...56

Gambar 4.12 : Tampilan Link Insert User ...56

Gambar 4.13 : Tampilan Link View Film ...57

Gambar 4.14 : Tampilan Link Insert Film ...57

Gambar 4.15 : tampilan Link Search Film ...57

Gambar 4.16 : Tampilan ketika user mengakses daerah khusus admin ...58

Gambar 4.17 : Tampilan ketika user belum Login ...58

Gambar 4.18 : Tampilan ketika user tidak mempunyai kredit lagi ...58

Gambar 4.19 : Player untuk User ...59

Gambar 4.20 : Properties ...62

Gambar 4.21 : Configuration ~ option ...63


(10)

LAMPIRAN 1

INSTALASI IIS


(11)

IIS berperan seperti halnya PWS dalam Windows 98 yaitu sebagai server web local. Anda dapat menemukan IIS pada CD original Windows XP Pro atau Windows 2000. Atau dengan cara mendownload melalui alamat www.microsoft .com

Dibawah ini langkah-langkah instalasi IIS menggunakan Windows XP.

1. Masukkan CD Windows XP Pro atau akses langsung menu Add/Remove Programs dalam kotak dialog Control Panel.

Gambar 1 Kotak dialog Control Panel

2. Akan muncul kotak dialog Add or Remove Programs seperti Gambar 2. Selanjutnya klik menu Add/Remove Windows Component.


(12)

Gambar 2 Kotak dialog Add or Remove Programs

Gambar 3 Jendela Windows Component Wizard 4. Klik checkbox Internet Information Service (IIS) lalu klik tombol Next.


(13)

6. Tunggu beberapa saat sampai proses instalasi selesai. Akan muncul kotak dialog seperti gambar 5.


(14)

Setelah proses instalasi selesai, Anda akan mendapatkan folder baru C:\Intetpub di dalam komputer Anda.

Gambar 6 Folder baru setelah instalasi IIS selesai Untuk menguji server Web sudah berfungsi atau belum caranya adalah :

1. Buka browser Anda, misalnya Internet Explorer atau Nestcape Navigator. 2. Ketikkan url http://localhost/localstart.

3. Bila server web Anda siap digunakan, Anda akan menjumpai tampilan seperti gambar 7.


(15)

Lampiran 2. Listing Program

conn_Mydatabase.asp

<%

' FileName="Connection_odbc_conn_dsn.htm" ' Type="ADO"

' DesigntimeType="ADO" ' HTTP="false"

' Catalog="" ' Schema=""

Dim MM_conn_mydatabase_STRING

MM_conn_mydatabase_STRING = "dsn=Mydatabase;" %>

Deleteuser.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/conn_mydatabase.asp" --> <!-- #include file="home1.asp" -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>

<% if session("MM_Username") = empty then %> <% response.Redirect "nologin.asp" %>

<% ELSE %>

<% if session("posisi") <> "admin" then %> <% response.Redirect "noadmin.asp" %> <% ELSE %>

<%

' *** Edit Operations: declare variables Dim MM_editAction

Dim MM_abortEdit Dim MM_editQuery Dim MM_editCmd Dim MM_editConnection Dim MM_editTable


(16)

Dim MM_editRedirectUrl Dim MM_editColumn Dim MM_recordId Dim MM_fieldsStr Dim MM_columnsStr Dim MM_fields Dim MM_columns Dim MM_typeArray Dim MM_formVal Dim MM_delim Dim MM_altVal Dim MM_emptyVal Dim MM_i

MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME")) If (Request.QueryString <> "") Then

MM_editAction = MM_editAction & "?" & Server.HTMLEncode(Request.QueryString)

End If

' boolean to abort record edit MM_abortEdit = false ' query string to execute MM_editQuery = "" %>

<%

' *** Delete Record: declare variables

if (CStr(Request("MM_delete")) = "delete" And CStr(Request("MM_recordId")) <> "") Then

MM_editConnection = MM_conn_mydatabase_STRING MM_editTable = "userdatabase"

MM_editColumn = "Nama"

MM_recordId = "'" + Request.Form("MM_recordId") + "'" MM_editRedirectUrl = "viewuser.asp"

' append the query string to the redirect URL

If (MM_editRedirectUrl <> "" And Request.QueryString <> "") Then

If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0 And Request.QueryString <> "") Then

MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString Else

MM_editRedirectUrl = MM_editRedirectUrl & "&" & Request.QueryString End If

End If End If %> <%

' *** Delete Record: construct a sql delete statement and execute it


(17)

' create the sql delete statement

MM_editQuery = "delete from " & MM_editTable & " where " & MM_editColumn & " = " & MM_recordId

If (Not MM_abortEdit) Then ' execute the delete

Set MM_editCmd = Server.CreateObject("ADODB.Command") MM_editCmd.ActiveConnection = MM_editConnection

MM_editCmd.CommandText = MM_editQuery MM_editCmd.Execute

MM_editCmd.ActiveConnection.Close If (MM_editRedirectUrl <> "") Then Response.Redirect(MM_editRedirectUrl) End If

End If End If %> <%

Dim rs_user__MMColParam rs_user__MMColParam = "1"

If (Request.QueryString("Nama") <> "") Then

rs_user__MMColParam = Request.QueryString("Nama") End If

%> <%

Dim rs_user

Dim rs_user_numRows

Set rs_user = Server.CreateObject("ADODB.Recordset") rs_user.ActiveConnection = MM_conn_mydatabase_STRING

rs_user.Source = "SELECT * FROM userdatabase WHERE Nama = '" + Replace(rs_user__MMColParam, "'", "''") + "'"

rs_user.CursorType = 0 rs_user.CursorLocation = 2 rs_user.LockType = 1 rs_user.Open()

rs_user_numRows = 0 %>

<body>

<p><img src="<%=(rs_user.Fields.Item("Photo").Value)%>" width="120" height="160" hspace="20" align="left"></p>

<table width="200" border="0"> <tr>

<th scope="row">FID :</th>

<td><p><%=(rs_user.Fields.Item("FID").Value)%></p></td> </tr>

<tr>


(18)

<td><%=(rs_user.Fields.Item("Nama").Value)%></td> </tr>

<tr>

<th scope="row">Password: </th>

<td><%=(rs_user.Fields.Item("Password").Value)%></td> </tr>

<tr>

<th scope="row">Lokasi :</th>

<td><%=(rs_user.Fields.Item("Lokasi").Value)%></td> </tr>

<tr>

<th scope="row">Level :</th>

<td><%=(rs_user.Fields.Item("Posisi").Value)%></td> </tr>

<tr>

<th scope="row">Credit :</th>

<td><%=(rs_user.Fields.Item("Credit").Value)%></td> </tr>

<tr>

<th scope="row">Photo :</th>

<td><%=(rs_user.Fields.Item("Photo").Value)%></td> </tr>

<tr>

<th scope="row">&nbsp;</th>

<td><form action="<%=MM_editAction%>" method="POST" name="delete" id="delete">

<input name="delete" type="submit" id="delete" value="delete"> <input type="hidden" name="MM_delete" value="delete">

<input type="hidden" name="MM_recordId" value="<%= rs_user.Fields.Item("Nama").Value %>">

</form></td> </tr>

</table> <%

rs_user.Close() Set rs_user = Nothing %>

<% end if %> <% end if %> </body> </html>


(19)

DetailFilm.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/conn_mydatabase.asp" --> <%

Dim film__MMColParam film__MMColParam = "1"

If (Request.QueryString("Nmr") <> "") Then

film__MMColParam = Request.QueryString("Nmr") End If

%> <% Dim film

Dim film_numRows

Set film = Server.CreateObject("ADODB.Recordset") film.ActiveConnection = MM_conn_mydatabase_STRING

film.Source = "SELECT * FROM filmdatabase WHERE Nmr = " + Replace(film__MMColParam, "'", "''") + ""

film.CursorType = 0 film.CursorLocation = 2 film.LockType = 1 film.Open()

film_numRows = 0 %>

<%

Dim MM_paramName %>

<%

' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters

Dim MM_keepNone Dim MM_keepURL Dim MM_keepForm Dim MM_keepBoth Dim MM_removeList Dim MM_item Dim MM_nextItem

' create the list of parameters which should not be maintained MM_removeList = "&index="

If (MM_paramName <> "") Then

MM_removeList = MM_removeList & "&" & MM_paramName & "=" End If

MM_keepURL="" MM_keepForm="" MM_keepBoth="" MM_keepNone=""


(20)

' add the URL parameters to the MM_keepURL string For Each MM_item In Request.QueryString

MM_nextItem = "&" & MM_item & "="

If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item)) End If

Next

' add the Form variables to the MM_keepForm string For Each MM_item In Request.Form

MM_nextItem = "&" & MM_item & "="

If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))

End If Next

' create the Form + URL string and remove the intial '&' from each of the strings MM_keepBoth = MM_keepURL & MM_keepForm

If (MM_keepBoth <> "") Then

MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1) End If

If (MM_keepURL <> "") Then

MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1) End If

If (MM_keepForm <> "") Then

MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1) End If

' a utility function used for adding additional parameters to these strings Function MM_joinChar(firstItem)

If (firstItem <> "") Then MM_joinChar = "&" Else

MM_joinChar = "" End If

End Function %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css">

<!--

.style1 {font-family: "comic Sans MS"} -->


(21)

</style> </head> <body>

<p><img src="<%=(film.Fields.Item("photo").Value)%>" width="737" height="347"> </p>

<table width="769" border="2"> <tr>

<th width="137" scope="row">JUDUL</th> <td width="614"><span

class="style1"><%=(film.Fields.Item("Judul").Value)%></span></td> </tr>

<tr>

<th scope="row">DETAIL</th>

<td><span class="style1"><%=(film.Fields.Item("detail").Value)%></span></td> </tr>

<tr>

<th scope="row"><A HREF="VIEWFILM.asp?<%=

Server.HTMLEncode(MM_keepNone) %>">KEMBALI</A></th>

<td><A HREF="PLAYS.ASP?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "Nmr=" & film.Fields.Item("Nmr").Value %>">PLAY</A></td>

</tr> </table>

<p>&nbsp;</p> <p>&nbsp;</p> </body>

</html> <%

film.Close() Set film = Nothing %>

DetailfilmClient.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/conn_mydatabase.asp" --> <%

Dim film__MMColParam film__MMColParam = "1"

If (Request.QueryString("Nmr") <> "") Then

film__MMColParam = Request.QueryString("Nmr") End If

%> <% Dim film


(22)

Dim film_numRows

Set film = Server.CreateObject("ADODB.Recordset") film.ActiveConnection = MM_conn_mydatabase_STRING

film.Source = "SELECT * FROM filmdatabase WHERE Nmr = " + Replace(film__MMColParam, "'", "''") + ""

film.CursorType = 0 film.CursorLocation = 2 film.LockType = 1 film.Open()

film_numRows = 0 %>

<%

Dim MM_paramName %>

<%

' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters

Dim MM_keepNone Dim MM_keepURL Dim MM_keepForm Dim MM_keepBoth Dim MM_removeList Dim MM_item Dim MM_nextItem

' create the list of parameters which should not be maintained MM_removeList = "&index="

If (MM_paramName <> "") Then

MM_removeList = MM_removeList & "&" & MM_paramName & "=" End If

MM_keepURL="" MM_keepForm="" MM_keepBoth="" MM_keepNone=""

' add the URL parameters to the MM_keepURL string For Each MM_item In Request.QueryString

MM_nextItem = "&" & MM_item & "="

If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item)) End If

Next

' add the Form variables to the MM_keepForm string For Each MM_item In Request.Form

MM_nextItem = "&" & MM_item & "="


(23)

MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))

End If Next

' create the Form + URL string and remove the intial '&' from each of the strings MM_keepBoth = MM_keepURL & MM_keepForm

If (MM_keepBoth <> "") Then

MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1) End If

If (MM_keepURL <> "") Then

MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1) End If

If (MM_keepForm <> "") Then

MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1) End If

' a utility function used for adding additional parameters to these strings Function MM_joinChar(firstItem)

If (firstItem <> "") Then MM_joinChar = "&" Else

MM_joinChar = "" End If

End Function %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css">

<!--

.style1 {font-family: "comic Sans MS"} -->

</style> </head> <body>

<p><img src="<%=(film.Fields.Item("photo").Value)%>" width="737" height="347"> </p>

<table width="769" border="2"> <tr>

<th width="137" scope="row">JUDUL</th> <td width="614"><span

class="style1"><%=(film.Fields.Item("Judul").Value)%></span></td> </tr>


(24)

<th scope="row">DETAIL</th>

<td><span class="style1"><%=(film.Fields.Item("detail").Value)%></span></td> </tr>

<tr>

<th scope="row"><A HREF="video.asp?<%= Server.HTMLEncode(MM_keepNone) %>">KEMBALI</A></th>

<td><A HREF="PlayCLIENT.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "Nmr=" & film.Fields.Item("Nmr").Value

%>">PLAY</A></td> </tr>

</table>

<p>&nbsp;</p> <p>&nbsp;</p> </body>

</html> <%

film.Close() Set film = Nothing %>

Detailuser.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/conn_mydatabase.asp" --> <!-- #include file="home1.asp" -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>

<% if session("MM_Username") = empty then %> <% response.Redirect "nologin.asp" %>

<% ELSE %>

<% if session("posisi") <> "admin" then %> <% response.Redirect "noadmin.asp" %> <% ELSE %>

<%

Dim rs_user__MMColParam rs_user__MMColParam = "1"

If (Request.QueryString("Nama") <> "") Then

rs_user__MMColParam = Request.QueryString("Nama") End If

%> <%


(25)

Dim rs_user

Dim rs_user_numRows

Set rs_user = Server.CreateObject("ADODB.Recordset") rs_user.ActiveConnection = MM_conn_mydatabase_STRING

rs_user.Source = "SELECT * FROM userdatabase WHERE Nama = '" + Replace(rs_user__MMColParam, "'", "''") + "'"

rs_user.CursorType = 0 rs_user.CursorLocation = 2 rs_user.LockType = 1 rs_user.Open()

rs_user_numRows = 0 %>

<body>

<p><img src="<%=(rs_user.Fields.Item("Photo").Value)%>" width="120" height="160" hspace="20" align="left"></p>

<table width="200" border="0"> <tr>

<th scope="row">FID : </th>

<td><%=(rs_user.Fields.Item("FID").Value)%></td> </tr>

<tr>

<th scope="row">Nama : </th>

<td><%=(rs_user.Fields.Item("Nama").Value)%></td> </tr>

<tr>

<th scope="row">Password: </th>

<td><%=(rs_user.Fields.Item("Password").Value)%></td> </tr>

<tr>

<th scope="row">Lokasi : </th>

<td><%=(rs_user.Fields.Item("Lokasi").Value)%></td> </tr>

<tr>

<th scope="row">Level : </th>

<td><%=(rs_user.Fields.Item("Posisi").Value)%></td> </tr>

<tr>

<th scope="row">Credit : </th>

<td><%=(rs_user.Fields.Item("Credit").Value)%></td> </tr>

<tr>

<th scope="row">Photo : </th>

<td><%=(rs_user.Fields.Item("Photo").Value)%></td> </tr>

</table> <%


(26)

rs_user.Close() Set rs_user = Nothing %>

<% end if %> <% end if %> </body> </html>

ExistFilm.asp

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>

<body>

<p>FILM DENGAN JUDUL TERSEBUT SUDAH ADA. SILAHKAN PILIH JUDUL YANG LAIN.</p>

<p><a href="Insertfilm.asp">INSERT FILM </a></p> </body>

</html>

ExistUser.asp

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>

<body>

<h1><strong>SUDAH ADA USER YANG MENGGUNAKAN NAMA ITU. </strong></h1>

<p><font size="4"><b><a href="home.asp">Home</a></b></font></p> </body>


(27)

Hendry.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>

<body>

<p>Saya adalah pembuat web ini, nama saya hendry, saat ini saya masih menyelesaikan program studi S1 saya di Maranatha, web ini merupakan Tugas Akhir saya. Jika ada pertanyaan atau saran, silahkan hubungi saya di hendry_kalem@yahoo.com.</p> <p>Klik <a href="home.asp">Home</a> untuk kembali ke menu </p>

</body> </html>

home.asp

<html>

<head>

<title>..: Selamat Datang di Komunitas video streaming Online :..</title> </head>

<body>

<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr>

<td width="100%" colspan="2"><font size="7" face="arial

black"><u>video<font color="#ff000">STREAMING</font></u></font></td> </tr>

<tr>

<td width="100%" colspan="2">

<span style="letter-spacing: 4"><font face=arial" size="2">Komunitas streaming online</font></span></td>

</tr> <tr>

<td width="100%" colspan="2"><hr></td> </tr>

<tr>

<td width="18%" valign="top" nowrap>

<table width="100%" height="20" border="1" align="left" cellpadding="0" cellspacing="0">

<tr>

<td width="100%" align="center" bgcolor="00080">

<font face="arial" size="2" color="#ffffff"><b>MENU</b></font></td> </tr>


(28)

<tr>

<td width="100%" align="center"><a href="home.asp" style="text-decoration:none"><font face="arial" size="2">Home</a></td>

</tr> <tr>

<td width="100%" align="center"><a href="login.asp" style="text-decoration:none"><font face="arial" size="2">login</font></a><font size="2" color="#808080">&nbsp;</font></td>

</tr> <tr>

<td width="100%" align="center"><a href="video.asp" style="text-decoration:none"><font face="arial" size="2">video</font></a><font size="2" color="#808080">&nbsp;</font></td>

</tr> <tr>

<td width="100%" align="center"><a href="web.asp"

style="text-decoration:none"><font face="arial" size="2">Web Master</font></a><font size="2" color="#808080">&nbsp;</font></td>

</tr> <tr>

<td width="100%" align="center"><a href="logout.asp" style="text-decoration:none"><font face="arial" size="2">logout</font></a><font size="2" color="#808080">&nbsp;</font></td>

</tr> </table>

<blockquote>&nbsp;</blockquote></td> <td width="82%" valign="top" align="center"><br> <br>

<marquee bgcolor="#00FFFF" width="307">Selamat Datang <%= SESSION("MM_USERNAME") %></marquee><br>

<br> <br>

&nbsp;<p>&nbsp;</p>

<p>Selamat datang di komunitas video streaming. web ini dibuat untuk memenuhi tugas akhir saya <a href="hendry.asp">Hendry</a> Arti dari video streaming sendiri secara kasar adalah kita diperbolehkan menonton suatu fim yang berasal dari Server, tetapi kita tidak bisa mendownloadnya ke dalam kontainer PC kita. Sedang didalam web ini saya membuatnya dengan menggunakan sistem multicast, dimana tidak semua pengunjung dapat membuka web saya, hanya yang memiliki priviledge tertentu yang boleh membuka web saya.

</table> </body> </html>


(29)

Home1.asp

<html> <head>

<title>..: Selamat Datang di Komunitas video streaming Online :..</title> </head>

<body>

<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr>

<td width="100%" colspan="2"><font size="7" face="arial

black"><u>video<font color="#ff000">STREAMING</font></u></font></td> </tr>

<tr>

<td width="100%" colspan="2">

<span style="letter-spacing: 4"><font face=arial" size="2">Komunitas streaming online</font></span></td>

</tr> <tr>

<td width="100%" colspan="2"><hr></td> </tr>

<tr>

<td width="18%" valign="top" nowrap>

<table border="1" cellpadding="0" cellspacing="0" width="100%"> <tr>

<td width="100%" align="center" bgcolor="00080">

<font face="arial" size="2" color="#ffffff"><b>MENU</b></font></td> </tr>

<tr>

<td width="100%" align="center"><a href="home.asp" style="text-decoration:none"><font face="arial" size="2">Home</a></td>

</tr> <tr>

<td width="100%" align="center"><a href="login.asp" style="text-decoration:none"><font face="arial" size="2">login</font></a><font size="2" color="#808080">&nbsp;</font></td>

</tr> <tr>

<td width="100%" align="center"><a href="video.asp" style="text-decoration:none"><font face="arial" size="2">video</font></a><font size="2" color="#808080">&nbsp;</font></td>

</tr> <tr>

<td width="100%" align="center"><a href="web.asp"

style="text-decoration:none"><font face="arial" size="2">Web Master</font></a><font size="2" color="#808080">&nbsp;</font></td>


(30)

</tr> <tr>

<td width="100%" align="center"><a href="logout.asp" style="text-decoration:none"><font face="arial" size="2">logout</font></a><font size="2" color="#808080">&nbsp;</font></td>

</tr> </table>

</td>

<td width="82%" valign="top" align="center"><br> </body>

</html>

InsertFilm.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/conn_mydatabase.asp" --> <!-- #include file="home1.asp" -->

<%

' *** Edit Operations: declare variables Dim MM_editAction

Dim MM_abortEdit Dim MM_editQuery Dim MM_editCmd Dim MM_editConnection Dim MM_editTable Dim MM_editRedirectUrl Dim MM_editColumn Dim MM_recordId Dim MM_fieldsStr Dim MM_columnsStr Dim MM_fields Dim MM_columns Dim MM_typeArray Dim MM_formVal Dim MM_delim Dim MM_altVal Dim MM_emptyVal Dim MM_i

MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME")) If (Request.QueryString <> "") Then

MM_editAction = MM_editAction & "?" & Server.HTMLEncode(Request.QueryString) End If

' boolean to abort record edit MM_abortEdit = false ' query string to execute


(31)

MM_editQuery = "" %>

<%

' *** Redirect if username exists MM_flag="MM_insert"

If (CStr(Request(MM_flag)) <> "") Then MM_dupKeyRedirect="/existFILM.asp"

MM_rsKeyConnection=MM_conn_mydatabase_STRING MM_dupKeyUsernameValue = CStr(Request.Form("judul"))

MM_dupKeySQL="SELECT Judul FROM filmdatabase WHERE Judul='" & MM_dupKeyUsernameValue & "'"

MM_adodbRecordset="ADODB.Recordset"

set MM_rsKey=Server.CreateObject(MM_adodbRecordset) MM_rsKey.ActiveConnection=MM_rsKeyConnection MM_rsKey.Source=MM_dupKeySQL

MM_rsKey.CursorType=0 MM_rsKey.CursorLocation=2 MM_rsKey.LockType=3 MM_rsKey.Open

If Not MM_rsKey.EOF Or Not MM_rsKey.BOF Then

' the username was found - can not add the requested username MM_qsChar = "?"

If (InStr(1,MM_dupKeyRedirect,"?") >= 1) Then MM_qsChar = "&"

MM_dupKeyRedirect = MM_dupKeyRedirect & MM_qsChar & "requsername=" & MM_dupKeyUsernameValue

Response.Redirect(MM_dupKeyRedirect) End If

MM_rsKey.Close End If

%> <%

' *** Insert Record: set variables

If (CStr(Request("MM_insert")) = "form1") Then

MM_editConnection = MM_conn_mydatabase_STRING MM_editTable = "filmdatabase"

MM_editRedirectUrl = "Viewfilm.asp"

MM_fieldsStr = "judul|value|lokasi|value|photo|value|detail|value"

MM_columnsStr = "Judul|',none,''|lokasi|',none,''|photo|',none,''|detail|',none,''" ' create the MM_fields and MM_columns arrays

MM_fields = Split(MM_fieldsStr, "|") MM_columns = Split(MM_columnsStr, "|") ' set the form values

For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2 MM_fields(MM_i+1) = CStr(Request.Form(MM_fields(MM_i))) Next


(32)

If (MM_editRedirectUrl <> "" And Request.QueryString <> "") Then

If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0 And Request.QueryString <> "") Then

MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString Else

MM_editRedirectUrl = MM_editRedirectUrl & "&" & Request.QueryString End If

End If End If %> <%

' *** Insert Record: construct a sql insert statement and execute it Dim MM_tableValues

Dim MM_dbValues

If (CStr(Request("MM_insert")) <> "") Then ' create the sql insert statement

MM_tableValues = "" MM_dbValues = ""

For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2 MM_formVal = MM_fields(MM_i+1)

MM_typeArray = Split(MM_columns(MM_i+1),",") MM_delim = MM_typeArray(0)

If (MM_delim = "none") Then MM_delim = "" MM_altVal = MM_typeArray(1)

If (MM_altVal = "none") Then MM_altVal = "" MM_emptyVal = MM_typeArray(2)

If (MM_emptyVal = "none") Then MM_emptyVal = "" If (MM_formVal = "") Then

MM_formVal = MM_emptyVal Else

If (MM_altVal <> "") Then MM_formVal = MM_altVal

ElseIf (MM_delim = "'") Then ' escape quotes

MM_formVal = "'" & Replace(MM_formVal,"'","''") & "'" Else

MM_formVal = MM_delim + MM_formVal + MM_delim End If

End If

If (MM_i <> LBound(MM_fields)) Then MM_tableValues = MM_tableValues & "," MM_dbValues = MM_dbValues & "," End If

MM_tableValues = MM_tableValues & MM_columns(MM_i) MM_dbValues = MM_dbValues & MM_formVal


(33)

MM_editQuery = "insert into " & MM_editTable & " (" & MM_tableValues & ") values (" & MM_dbValues & ")"

If (Not MM_abortEdit) Then ' execute the insert

Set MM_editCmd = Server.CreateObject("ADODB.Command") MM_editCmd.ActiveConnection = MM_editConnection

MM_editCmd.CommandText = MM_editQuery MM_editCmd.Execute

MM_editCmd.ActiveConnection.Close If (MM_editRedirectUrl <> "") Then Response.Redirect(MM_editRedirectUrl) End If

End If End If %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>

<% if session("MM_Username") = empty then %> <% response.Redirect "nologin.asp" %>

<% ELSE %>

<% if session("posisi") <> "admin" then %> <% response.Redirect "noadmin.asp" %> <% ELSE %>

<% Dim film

Dim film_numRows

Set film = Server.CreateObject("ADODB.Recordset") film.ActiveConnection = MM_conn_mydatabase_STRING film.Source = "SELECT * FROM filmdatabase"

film.CursorType = 0 film.CursorLocation = 2 film.LockType = 1 film.Open()

film_numRows = 0 %>

<body>

<form ACTION="<%=MM_editAction%>" METHOD="POST" name="form1"> <table width="200" border="2">

<tr>

<th scope="row">JUDUL</th>


(34)

</tr> <tr>

<th scope="row">LOKASI</th>

<td><input name="lokasi" type="text" id="lokasi"></td> </tr>

<tr>

<th scope="row">PHOTO</th>

<td><input name="photo" type="text" id="photo"></td> </tr>

<tr>

<th scope="row">DETAIL</th>

<td><input name="detail" type="text" id="detail"></td> </tr>

<tr>

<th scope="row"><input name="Insert" type="submit" id="Insert" value="Insert"></th>

<td>&nbsp;</td> </tr>

</table>

<input type="hidden" name="MM_insert" value="form1"> </form>

<%

film.Close() Set film = Nothing %>

<% end if %> <% end if %> </body> </html>

InserUser.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/conn_mydatabase.asp" --> <!--#include file="home1.asp" -->

<%

' *** Edit Operations: declare variables Dim MM_editAction

Dim MM_abortEdit Dim MM_editQuery Dim MM_editCmd Dim MM_editConnection Dim MM_editTable Dim MM_editRedirectUrl Dim MM_editColumn Dim MM_recordId


(35)

Dim MM_fieldsStr Dim MM_columnsStr Dim MM_fields Dim MM_columns Dim MM_typeArray Dim MM_formVal Dim MM_delim Dim MM_altVal Dim MM_emptyVal Dim MM_i

MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME")) If (Request.QueryString <> "") Then

MM_editAction = MM_editAction & "?" & Server.HTMLEncode(Request.QueryString) End If

' boolean to abort record edit MM_abortEdit = false ' query string to execute MM_editQuery = "" %>

<%

' *** Redirect if username exists MM_flag="MM_insert"

If (CStr(Request(MM_flag)) <> "") Then MM_dupKeyRedirect="existUSER.asp"

MM_rsKeyConnection=MM_conn_mydatabase_STRING MM_dupKeyUsernameValue = CStr(Request.Form("nama"))

MM_dupKeySQL="SELECT Nama FROM userdatabase WHERE Nama='" & MM_dupKeyUsernameValue & "'"

MM_adodbRecordset="ADODB.Recordset"

set MM_rsKey=Server.CreateObject(MM_adodbRecordset) MM_rsKey.ActiveConnection=MM_rsKeyConnection MM_rsKey.Source=MM_dupKeySQL

MM_rsKey.CursorType=0 MM_rsKey.CursorLocation=2 MM_rsKey.LockType=3 MM_rsKey.Open

If Not MM_rsKey.EOF Or Not MM_rsKey.BOF Then

' the username was found - can not add the requested username MM_qsChar = "?"

If (InStr(1,MM_dupKeyRedirect,"?") >= 1) Then MM_qsChar = "&"

MM_dupKeyRedirect = MM_dupKeyRedirect & MM_qsChar & "requsername=" & MM_dupKeyUsernameValue

Response.Redirect(MM_dupKeyRedirect) End If


(36)

End If %> <%

' *** Insert Record: set variables

If (CStr(Request("MM_insert")) = "form1") Then

MM_editConnection = MM_conn_mydatabase_STRING MM_editTable = "userdatabase"

MM_editRedirectUrl = "viewuser.asp" MM_fieldsStr =

"nama|value|password|value|lokasi|value|posisi|value|credit|value|Photo|value" MM_columnsStr =

"Nama|',none,''|Password|',none,''|Lokasi|',none,''|Posisi|',none,''|Credit|none,none,NULL|P hoto|',none,''"

' create the MM_fields and MM_columns arrays MM_fields = Split(MM_fieldsStr, "|")

MM_columns = Split(MM_columnsStr, "|") ' set the form values

For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2 MM_fields(MM_i+1) = CStr(Request.Form(MM_fields(MM_i))) Next

' append the query string to the redirect URL

If (MM_editRedirectUrl <> "" And Request.QueryString <> "") Then

If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0 And Request.QueryString <> "") Then

MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString Else

MM_editRedirectUrl = MM_editRedirectUrl & "&" & Request.QueryString End If

End If End If %> <%

' *** Insert Record: construct a sql insert statement and execute it Dim MM_tableValues

Dim MM_dbValues

If (CStr(Request("MM_insert")) <> "") Then ' create the sql insert statement

MM_tableValues = "" MM_dbValues = ""

For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2 MM_formVal = MM_fields(MM_i+1)

MM_typeArray = Split(MM_columns(MM_i+1),",") MM_delim = MM_typeArray(0)

If (MM_delim = "none") Then MM_delim = "" MM_altVal = MM_typeArray(1)


(37)

MM_emptyVal = MM_typeArray(2)

If (MM_emptyVal = "none") Then MM_emptyVal = "" If (MM_formVal = "") Then

MM_formVal = MM_emptyVal Else

If (MM_altVal <> "") Then MM_formVal = MM_altVal

ElseIf (MM_delim = "'") Then ' escape quotes

MM_formVal = "'" & Replace(MM_formVal,"'","''") & "'" Else

MM_formVal = MM_delim + MM_formVal + MM_delim End If

End If

If (MM_i <> LBound(MM_fields)) Then MM_tableValues = MM_tableValues & "," MM_dbValues = MM_dbValues & "," End If

MM_tableValues = MM_tableValues & MM_columns(MM_i) MM_dbValues = MM_dbValues & MM_formVal

Next

MM_editQuery = "insert into " & MM_editTable & " (" & MM_tableValues & ") values (" & MM_dbValues & ")"

If (Not MM_abortEdit) Then ' execute the insert

Set MM_editCmd = Server.CreateObject("ADODB.Command") MM_editCmd.ActiveConnection = MM_editConnection

MM_editCmd.CommandText = MM_editQuery MM_editCmd.Execute

MM_editCmd.ActiveConnection.Close If (MM_editRedirectUrl <> "") Then Response.Redirect(MM_editRedirectUrl) End If

End If End If %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css">

<!--

.style4 {font-size: x-large} -->


(38)

</head>

<% if session("MM_Username") = empty then %> <% response.Redirect "nologin.asp" %>

<% ELSE %>

<% if session("posisi") <> "admin" then %> <% response.redirect "noadmin.asp" %> <% ELSE %>

<%

Dim rs_user

Dim rs_user_numRows

Set rs_user = Server.CreateObject("ADODB.Recordset") rs_user.ActiveConnection = MM_conn_mydatabase_STRING rs_user.Source = "SELECT * FROM userdatabase"

rs_user.CursorType = 0 rs_user.CursorLocation = 2 rs_user.LockType = 1 rs_user.Open()

rs_user_numRows = 0 %>

<body>

<form ACTION="<%=MM_editAction%>" METHOD="POST" name="form1"> <table width="200" border="0">

<tr>

<th scope="row">Nama : </th>

<td><input name="nama" type="text" id="nama"></td> </tr>

<tr>

<th scope="row">Password:</th>

<td><input name="password" type="password" id="password"></td> </tr>

<tr>

<th scope="row">Lokasi : </th>

<td><input name="lokasi" type="text" id="lokasi"></td> </tr>

<tr>

<th scope="row">Level : </th>

<td><select name="posisi" id="posisi"> <option value="admin">admin</option> <option value="member">member</option> </select></td>

</tr> <tr>

<th scope="row">Credit : </th>

<td><input name="credit" type="text" id="credit"></td> </tr>


(39)

<th scope="row">Photo : </th>

<td><input name="Photo" type="text" id="Photo"></td> </tr>

<tr>

<th scope="row"><input type="submit" name="Submit" value="Submit"></th> <td>&nbsp;</td>

</tr> </table>

<input type="hidden" name="MM_insert" value="form1"> </form>

<%

rs_user.Close() Set rs_user = Nothing %>

</body> <% end if %> <% end if %> </html>

Login.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<!-- #include file="home1.asp" --> <html>

<head>

<title>Login </title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css">

<!--

.style2 {font-family: "comic Sans MS"} -->

</style> </head> <body> <%

If Not Request.Form("Message") = "True" Then %>

<p>

<FORM NAME="login" METHOD="POST" ACTION="login.asp"> <table>

<tr>

<td><font face="MS Gothic">Nama: </td><td>


(40)

</tr><tr>

<td><font face="MS Gothic">Password:</td><td>

<INPUT TYPE="TEXT" NAME="password" size="20"></td> </tr><tr>

</table> </p> <p>

<INPUT TYPE="HIDDEN" NAME="Message" VALUE="True"> <INPUT TYPE="SUBMIT" VALUE="Submit Information"> </FORM>

</p> <%Else

dim dataku,koneksi,sqlku

set koneksi = server.createobject("ADODB.connection") koneksi.open "Mydatabase"

set dataku = server.createobject("ADODB.recordset")

dataku.open "select * from userdatabase WHERE Nama= '"& request.form("nama") & "'AND " & "Password = '" & request.form("password") & "'", koneksi

if dataku.eof then %>

<h3>Username atau Password Anda Salah!</h3> <h2><br>

<% else

session("MM_Username") = dataku("Nama") session("credit") = dataku("credit")

session("posisi") = dataku("posisi") dataku.close %>

<span class="style2">Login Berhasil. </span></h2>

<p><span class="style2">Selamat mengunjungi web streaming ini. klik VIDEO untuk Streaming data.</span>

<% end if %> <% end if %> </p>

</body> </html>

Logout.asp

<html>

<body> <h1>

<% session("MM_Username") = empty %> <% session("credit") = empty %>

LOGOUT BERHASIL </h1>


(41)

</body> </html>

Noadmin.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>

<body>

<h1>AREA INI KHUSUS UNTUK ADMIN !</h1> <p><a href="HOME.ASP">HOME </a></p> </body>

</html>

Nocredit.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>

<body>

<h1>CREDIT ANDA SUDAH HABIS !</h1> <p><a href="HOME.ASP">HOME </a></p> </body>

</html>

Nologin.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>


(42)

<h1>ANDA BELUM LOGIN ! SILAHKAN LOGIN TERLEBIH DAHULU </h1> <p><a href="HOME.ASP">HOME </a></p>

</body> </html>

PlayCLIENT.asp <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/conn_mydatabase.asp" --> <%

Dim FILM__MMColParam FILM__MMColParam = "1"

If (Request.QueryString("Nmr") <> "") Then

FILM__MMColParam = Request.QueryString("Nmr") End If

%> <%

Dim FILM

Dim FILM_numRows

Set FILM = Server.CreateObject("ADODB.Recordset") FILM.ActiveConnection = MM_conn_mydatabase_STRING

FILM.Source = "SELECT * FROM filmdatabase WHERE Nmr = " + Replace(FILM__MMColParam, "'", "''") + ""

FILM.CursorType = 0 FILM.CursorLocation = 2 FILM.LockType = 1 FILM.Open()

FILM_numRows = 0 %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>

<% if session("MM_Username") = empty then %> <% response.Redirect "nologin.asp" %>

<% ELSE %>

<% if session("credit") <= 0 then %>

<% response.Redirect "noadmin.asp" %><% ELSE %> <% session("credit") = session("credit") - 1 %>

<%

set koneksi =server.CreateObject("ADODB.connection") koneksi.open "Mydatabase"

sql="UPDATE userdatabase SET credit=credit -1 where Nama='"&Session("MM_Username")&"'"


(43)

set record=server.CreateObject("ADODB.recordset") record.open sql,koneksi,3,3

%> <head>

<meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document">

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> </head>

<body vlink="#00FFFF"> <p align="center">

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer1" width="656" height="540">

<param name="AudioStream" value="-1"> <param name="AutoSize" value="0"> <param name="AutoStart" value="-1">

<param name="AnimationAtStart" value="-1"> <param name="AllowScan" value="-1">

<param name="AllowChangeDisplaySize" value="-1"> <param name="AutoRewind" value="0">

<param name="Balance" value="0"> <param name="BaseURL" value>

<param name="BufferingTime" value="5"> <param name="CaptioningID" value> <param name="ClickToPlay" value="-1"> <param name="CursorType" value="0"> <param name="CurrentPosition" value="-1"> <param name="CurrentMarker" value="0"> <param name="DefaultFrame" value>

<param name="DisplayBackColor" value="0">

<param name="DisplayForeColor" value="16777215"> <param name="DisplayMode" value="0">

<param name="DisplaySize" value="4"> <param name="Enabled" value="-1">

<param name="EnableContextMenu" value="-1"> <param name="EnablePositionControls" value="-1"> <param name="EnableFullScreenControls" value="0"> <param name="EnableTracker" value="-1">

<param name="Filename" valuetype="ref"

value="HTTP://LOCALHOST/hom/film/<%=(FILM.Fields.Item("lokasi").Value)%>"> <param name="InvokeURLs" value="-1">

<param name="Language" value="-1"> <param name="Mute" value="0"> <param name="PlayCount" value="1"> <param name="PreviewMode" value="0"> <param name="Rate" value="1">


(44)

<param name="SAMIStyle" value> <param name="SAMIFileName" value> <param name="SelectionStart" value="-1"> <param name="SelectionEnd" value="-1">

<param name="SendOpenStateChangeEvents" value="-1"> <param name="SendWarningEvents" value="-1">

<param name="SendErrorEvents" value="-1"> <param name="SendKeyboardEvents" value="0"> <param name="SendMouseClickEvents" value="0"> <param name="SendMouseMoveEvents" value="0"> <param name="SendPlayStateChangeEvents" value="-1"> <param name="ShowCaptioning" value="0">

<param name="ShowControls" value="-1"> <param name="ShowAudioControls" value="-1"> <param name="ShowDisplay" value="0">

<param name="ShowGotoBar" value="0">

<param name="ShowPositionControls" value="-1"> <param name="ShowStatusBar" value="0">

<param name="ShowTracker" value="-1"> <param name="TransparentAtStart" value="0"> <param name="VideoBorderWidth" value="0"> <param name="VideoBorderColor" value="0"> <param name="VideoBorder3D" value="0"> <param name="Volume" value="-600">

<param name="WindowlessVideo" value="0"> </object>

</p>

<p align="justify"><font size="5"><b><i>klik <a href="video.ASP">link </a>ini untuk kembali ke menu</i></b></font></p>

<%

FILM.Close() Set FILM = Nothing %>

<% END IF %> <% END IF %> </body>

</html>

Plays.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/conn_mydatabase.asp" --> <%

Dim FILM__MMColParam FILM__MMColParam = "1"


(45)

FILM__MMColParam = Request.QueryString("Nmr") End If

%> <%

Dim FILM

Dim FILM_numRows

Set FILM = Server.CreateObject("ADODB.Recordset") FILM.ActiveConnection = MM_conn_mydatabase_STRING

FILM.Source = "SELECT * FROM filmdatabase WHERE Nmr = " + Replace(FILM__MMColParam, "'", "''") + ""

FILM.CursorType = 0 FILM.CursorLocation = 2 FILM.LockType = 1 FILM.Open()

FILM_numRows = 0 %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>

<% if session("MM_Username") = empty then %> <% response.Redirect "nologin.asp" %>

<% ELSE %>

<% if session("posisi") <> "admin" then %> <% response.Redirect "noadmin.asp" %> <% ELSE %>

<head>

<meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document">

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title>

</head>

<body vlink="#00FFFF"> <p align="center">

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer1" width="656" height="540">

<param name="AudioStream" value="-1"> <param name="AutoSize" value="0"> <param name="AutoStart" value="-1">

<param name="AnimationAtStart" value="-1"> <param name="AllowScan" value="-1">

<param name="AllowChangeDisplaySize" value="-1"> <param name="AutoRewind" value="0">


(46)

<param name="Balance" value="0"> <param name="BaseURL" value>

<param name="BufferingTime" value="5"> <param name="CaptioningID" value> <param name="ClickToPlay" value="-1"> <param name="CursorType" value="0"> <param name="CurrentPosition" value="-1"> <param name="CurrentMarker" value="0"> <param name="DefaultFrame" value>

<param name="DisplayBackColor" value="0">

<param name="DisplayForeColor" value="16777215"> <param name="DisplayMode" value="0">

<param name="DisplaySize" value="4"> <param name="Enabled" value="-1">

<param name="EnableContextMenu" value="-1"> <param name="EnablePositionControls" value="-1"> <param name="EnableFullScreenControls" value="0"> <param name="EnableTracker" value="-1">

<param name="Filename" valuetype="ref"

value="HTTP://LOCALHOST/hom/film/<%=(FILM.Fields.Item("lokasi").Value)%>"> <param name="InvokeURLs" value="-1">

<param name="Language" value="-1"> <param name="Mute" value="0"> <param name="PlayCount" value="1"> <param name="PreviewMode" value="0"> <param name="Rate" value="1">

<param name="SAMILang" value> <param name="SAMIStyle" value> <param name="SAMIFileName" value> <param name="SelectionStart" value="-1"> <param name="SelectionEnd" value="-1">

<param name="SendOpenStateChangeEvents" value="-1"> <param name="SendWarningEvents" value="-1">

<param name="SendErrorEvents" value="-1"> <param name="SendKeyboardEvents" value="0"> <param name="SendMouseClickEvents" value="0"> <param name="SendMouseMoveEvents" value="0"> <param name="SendPlayStateChangeEvents" value="-1"> <param name="ShowCaptioning" value="0">

<param name="ShowControls" value="-1"> <param name="ShowAudioControls" value="-1"> <param name="ShowDisplay" value="0">

<param name="ShowGotoBar" value="0">

<param name="ShowPositionControls" value="-1"> <param name="ShowStatusBar" value="0">


(47)

<param name="TransparentAtStart" value="0"> <param name="VideoBorderWidth" value="0"> <param name="VideoBorderColor" value="0"> <param name="VideoBorder3D" value="0"> <param name="Volume" value="-600">

<param name="WindowlessVideo" value="0"> </object>

</p>

<p align="justify"><font size="5"><b><i>klik <a href="viewfilm.ASP">link </a>ini untuk kembali ke menu</i></b></font></p>

<% END IF %> <% END IF %> </body>

</html> <%

FILM.Close() Set FILM = Nothing %>

Searchfilm.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/conn_mydatabase.asp" --> <!-- #include file="home1.asp" -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>

<% if session("MM_Username") = empty then %> <% response.Redirect "nologin.asp" %>

<% ELSE %>

<% if session("posisi") <> "admin" then %> <% response.Redirect "noadmin.asp" %> <% ELSE %>

<%

Dim film__MMColParam film__MMColParam = "1"

If (Request.Form("Judul") <> "") Then

film__MMColParam = Request.Form("Judul") End If

%> <%


(48)

Dim film

Dim film_numRows

Set film = Server.CreateObject("ADODB.Recordset") film.ActiveConnection = MM_conn_mydatabase_STRING

film.Source = "SELECT * FROM filmdatabase WHERE Judul = '" + Replace(film__MMColParam, "'", "''") + "'"

film.CursorType = 0 film.CursorLocation = 2 film.LockType = 1 film.Open()

film_numRows = 0 %>

<%

Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = -1 Repeat1__index = 0

film_numRows = film_numRows + Repeat1__numRows %>

<%

Dim MM_paramName %>

<%

' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters

Dim MM_keepNone Dim MM_keepURL Dim MM_keepForm Dim MM_keepBoth Dim MM_removeList Dim MM_item Dim MM_nextItem

' create the list of parameters which should not be maintained MM_removeList = "&index="

If (MM_paramName <> "") Then

MM_removeList = MM_removeList & "&" & MM_paramName & "=" End If

MM_keepURL="" MM_keepForm="" MM_keepBoth="" MM_keepNone=""

' add the URL parameters to the MM_keepURL string For Each MM_item In Request.QueryString

MM_nextItem = "&" & MM_item & "="


(49)

MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item)) End If

Next

' add the Form variables to the MM_keepForm string For Each MM_item In Request.Form

MM_nextItem = "&" & MM_item & "="

If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))

End If Next

' create the Form + URL string and remove the intial '&' from each of the strings MM_keepBoth = MM_keepURL & MM_keepForm

If (MM_keepBoth <> "") Then

MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1) End If

If (MM_keepURL <> "") Then

MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1) End If

If (MM_keepForm <> "") Then

MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1) End If

' a utility function used for adding additional parameters to these strings Function MM_joinChar(firstItem)

If (firstItem <> "") Then MM_joinChar = "&" Else

MM_joinChar = "" End If

End Function %>

<body>

<% If Not film.EOF Or Not film.BOF Then %> <table width="200" border="2">

<tr>

<th scope="col">No</th>

<th scope="col">...JUDUL...</th> <th scope="col">LOKASI</th>

<th scope="col">UPDATE</th> </tr>

<%

While ((Repeat1__numRows <> 0) AND (NOT film.EOF)) %>

<tr>


(50)

<td><%=(film.Fields.Item("Judul").Value)%></td> <td><%=(film.Fields.Item("lokasi").Value)%></td>

<td><A HREF="Updatefilm.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "Nmr=" & film.Fields.Item("Nmr").Value %>">U</A></td>

</tr> <%

Repeat1__index=Repeat1__index+1

Repeat1__numRows=Repeat1__numRows-1 film.MoveNext()

Wend %> </table>

<% End If ' end Not film.EOF Or NOT film.BOF %> <p>&nbsp;</p>

<form name="form1" method="post" action=""> <input name="judul" type="text" id="judul">

<input name="Search" type="submit" id="Search" value="Search"> </form>

<p>&nbsp;</p> <%

film.Close() Set film = Nothing %>

<% end if %> <% end if %> </body> </html>

SearchUser.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/conn_mydatabase.asp" --> <!-- #include file="home1.asp" -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html> <head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>

<% if session("MM_Username") = empty then %> <% response.Redirect "nologin.asp" %>

<% ELSE %>

<% if session("posisi") <> "admin" then %> <% response.Redirect "noadmin.asp" %>


(51)

<% ELSE %> <%

Dim rs_user__MMColParam rs_user__MMColParam = "1"

If (Request.Form("Nama") <> "") Then

rs_user__MMColParam = Request.Form("Nama") End If

%> <%

Dim rs_user

Dim rs_user_numRows

Set rs_user = Server.CreateObject("ADODB.Recordset") rs_user.ActiveConnection = MM_conn_mydatabase_STRING

rs_user.Source = "SELECT * FROM userdatabase WHERE Nama = '" + Replace(rs_user__MMColParam, "'", "''") + "'"

rs_user.CursorType = 0 rs_user.CursorLocation = 2 rs_user.LockType = 1 rs_user.Open()

rs_user_numRows = 0 %>

<%

Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = 10 Repeat1__index = 0

rs_user_numRows = rs_user_numRows + Repeat1__numRows %>

<%

Dim MM_paramName %>

<%

' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters

Dim MM_keepNone Dim MM_keepURL Dim MM_keepForm Dim MM_keepBoth Dim MM_removeList Dim MM_item Dim MM_nextItem

' create the list of parameters which should not be maintained MM_removeList = "&index="

If (MM_paramName <> "") Then

MM_removeList = MM_removeList & "&" & MM_paramName & "=" End If


(52)

MM_keepURL="" MM_keepForm="" MM_keepBoth="" MM_keepNone=""

' add the URL parameters to the MM_keepURL string For Each MM_item In Request.QueryString

MM_nextItem = "&" & MM_item & "="

If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item)) End If

Next

' add the Form variables to the MM_keepForm string For Each MM_item In Request.Form

MM_nextItem = "&" & MM_item & "="

If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))

End If Next

' create the Form + URL string and remove the intial '&' from each of the strings MM_keepBoth = MM_keepURL & MM_keepForm

If (MM_keepBoth <> "") Then

MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1) End If

If (MM_keepURL <> "") Then

MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1) End If

If (MM_keepForm <> "") Then

MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1) End If

' a utility function used for adding additional parameters to these strings Function MM_joinChar(firstItem)

If (firstItem <> "") Then MM_joinChar = "&" Else

MM_joinChar = "" End If

End Function %>

<body>

<% If Not rs_user.EOF Or Not rs_user.BOF Then %> <table width="200" border="1">

<tr>

<th scope="col">FID</th> <th scope="col">Nama</th>


(53)

<th scope="col">Password</th> <th scope="col">Lokasi</th> <th scope="col">Level</th> <th scope="col">Credit</th> <th scope="col">Photo</th> <th scope="col">Update</th> <th scope="col">Delete</th> </tr>

<%

While ((Repeat1__numRows <> 0) AND (NOT rs_user.EOF)) %>

<tr>

<td><%=(rs_user.Fields.Item("FID").Value)%>&nbsp;</td>

<td><A HREF="detailuser.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "Nama=" & rs_user.Fields.Item("Nama").Value %>"><%=(rs_user.Fields.Item("Nama").Value)%></A>&nbsp;</td>

<td><%=(rs_user.Fields.Item("Password").Value)%>&nbsp;</td> <td><%=(rs_user.Fields.Item("Lokasi").Value)%>&nbsp;</td> <td><%=(rs_user.Fields.Item("Posisi").Value)%>&nbsp;</td> <td><%=(rs_user.Fields.Item("Credit").Value)%>&nbsp;</td> <td><%=(rs_user.Fields.Item("Photo").Value)%>&nbsp;</td>

<td><a href="Updateuser.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "Nama=" & rs_user.Fields.Item("Nama").Value %>">U</a></td>

<td><A HREF="deleteuser.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "Nama=" & rs_user.Fields.Item("Nama").Value %>">D</A></td>

</tr> <%

Repeat1__index=Repeat1__index+1

Repeat1__numRows=Repeat1__numRows-1 rs_user.MoveNext()

Wend %> </table>

<% End If ' end Not rs_user.EOF Or NOT rs_user.BOF %>

<form action="searchuser.asp" method="post" name="search" id="search"> <strong>

Nama User:

<input name="nama" type="text" id="Nama2" size="20">

<input name="search" type="submit" id="search2" value="search"> </strong>

</form>

<p>&nbsp;</p> <%


(54)

Set rs_user = Nothing %>

<% end if %> <% end if %> </body> </html>

Updatefilm.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/conn_mydatabase.asp" --> <!-- #include file="home1.asp" -->

<%

' *** Edit Operations: declare variables Dim MM_editAction

Dim MM_abortEdit Dim MM_editQuery Dim MM_editCmd Dim MM_editConnection Dim MM_editTable Dim MM_editRedirectUrl Dim MM_editColumn Dim MM_recordId Dim MM_fieldsStr Dim MM_columnsStr Dim MM_fields Dim MM_columns Dim MM_typeArray Dim MM_formVal Dim MM_delim Dim MM_altVal Dim MM_emptyVal Dim MM_i

MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME")) If (Request.QueryString <> "") Then

MM_editAction = MM_editAction & "?" & Server.HTMLEncode(Request.QueryString) End If

' boolean to abort record edit MM_abortEdit = false ' query string to execute MM_editQuery = "" %>

<%


(1)

2. <param name="Filename" valuetype="ref"

value="HTTP://LOCALHOST/hom/film/<%=(FILM.Fields.Item("lokasi").Value) %>">

MENJADI

<param name="Filename" valuetype="ref"

value = "HTTP://Nama komputer server/hom/film/<%=(FILM.Fields.Item("lokasi").Value) %>">

• Sintak Error :

Response object error’ASP 0156 : 80004005’ Header Error

The HTTP header are already written to the client browser. Any HTTP header modifications must be made before writing page content.

• Solusi Error :

Error ini terjadi karena untuk iesp1 tertentu, defaultnya adalah tanpa buffering data. Untuk itu, cukup masukkan sintak berikut : <% response.buffer = true %> Dibawah sintaks <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>.


(2)

Bab I Pendahuluan 1

BAB I

PENDAHULUAN

1.1 Latar Belakang

Sejalan dengan perkembangan teknologi, pertukaran informasi baik dalam bentuk visual maupun audio semakin dibutuhkan, hal ini dapat dilihat dengan banyaknya pemakai yang surfing di Internet, sehingga Internet menjadi kebutuhan yang tidak dapat dielakkan. Namun demikian untuk tujuan efisiensi, efektifitas dan biaya, penggunaan jaringan LAN juga tidak dapat dielakkan, misalnya komunikasi antar pemakai dalam lokal area, tidak akan efektif bila harus melalui jaringan Internet, demikian juga untuk sharing data, dan sharing peripheral (printer, CD-RW, dll). Salah satu jenis pengiriman informasi adalah video streaming, yang dimaksud dengan video streaming adalah pengiriman informasi dalam bentuk video (pengiriman informasi dalam bentuk visual dan audio secara bersamaan). Video streaming dapat dilakukan dengan teknik unicast, multicast, maupun broadcast. Unicast adalah pengiriman informasi satu-satu. Misal informasi A diakses oleh suatu penerima,misal penerima X, maka penerima-penerima lain tidak dapat mengakses informasi A. Multicast adalah pengiriman informasi satu pengirim ke suatu grup penerima. Sedangkan Broadcast adalah teknik pengiriman informasi dari satu pengirim ke semua penerima yang berada dalam jangkauan dan mempunyai tata cara yang sama.

Dalam tugas akhir ini dicoba penerapan teknik multicast untuk video steraming dalam jaringan LAN.


(3)

1.2 Identifikasi Masalah

Bagaimana cara pengaplikasian teknik multicast untuk video streaming dalam jaringan LAN ?

1.3 Tujuan

Mengaplikasikan teknik multicast untuk video streaming dalam jaringan LAN.

1.4 Pembatasan Masalah

1. Teknik yang digunakan adalah multicast dan dalam lingkup LAN

2. Komputer-komputer yang digunakan adalah komputer-komputer yang terhubung dalam jaringan LAN, dengan jumlah komputer max 5 komputer.

3. Sistem keamanannya menggunakan sistem keamanan yang sudah ada di dalam sistem LAN.

1.5 Sistematika Pembahasan

Laporan tugas akhir ini disusun dengan urutan sebagai berikut • Bab I Pendahuluan

Bab ini berisi latar belakang, identifikasi masalah, tujuan, pembatasan masalah, serta sistematika penyusunan tugas akhir.

• Bab II Landasan Teori

Bab ini berisi teori – teori dasar yang menunjang pembuatan tugas akhir. Yang dimuat dalam bab II ini antara lain adalah definisi HTML, pengenalan program ASP, macam-macam LAN, web server, multicast, dan video streaming,.

• Bab III Perancangan


(4)

Bab I Pendahuluan 3

• Bab IV Simulasi dan Analisa data

Bab ini berisi hasil simulasi dan analisa data yang dilakukan. Bab V Kesimpulan dan Saran.


(5)

BAB 5

KESIMPULAN DAN SARAN

5.1 Kesimpulan

1. Teknik multicast untuk video streaming dalam jaringan LAN telah berhasil diimplementasikan.

2. Teknik Internal Server Streaming (melalui IIS) hanya dapat digunakan untuk dua koneksi saja, ini karena kemungkinan besar oleh default seting dari IIS.

3. Untuk akses video streaming lebih dari dua koneksi ( dalam hal ini 5 koneksi) dapat digunakan streaming melalui suatu Media Server (dalam hal ini Unreal Media Server).

4. Waktu delay tidak dipengaruhi oleh besarnya data.

5. Waktu delay dapat dikurangi dengan menseting buffer pada IIS.

5.2 Saran

1. Perlu diadakan penelitian lebih lanjut tentang Multicast dan Video Streaming dalam hal pengimplementasian ke lingkungan Internet.

2. Perlu diadakan kajian lebih lanjut dalam hal jumlah uji coba, baik dalam bentuk jumlah pemakai maupun jumlah data.

3. Perlu diadakan uji coba penggunaan peralatan konversi atau peralatan streaming yang lain untuk mendapatkan data yang lebih akurat.


(6)

DAFTAR PUSTAKA

1. Lpkbm Madcoms-Madiun, “Aplikasi Web Database ASP menggunakan Macromedia Dreamweaver Mx 2004. Yogyakarta, ANDI, 2004.

2. Matthews, Martis S. and Erik B.Poulsen, “The Complete Reference Front Page 2000”, U.S.A., Osborne/McGraw-Hill, 1999.

3. Putra, Rahmat dan Malik Akbar, “Praktis Menguasai LAN,local area network, small office”, Jakarta, D@tarpin Grafitama, 2004.

4. Sampurna, “Menguasi Aplikasi Web tanpa Perograman”Jakarta, Elex Media Komputindo, 2003.

5. Sakur, Stendy B, “Aplikasi Web Database dengan Dreamweaver MX”, Yogyakarta, ANDI, 2003.

6. Stanek, William R. and others, “Microsoft Front Page 2002 Unleashed”, U.S.A., S∧MS, 2002.

7. Tutang, “Jaringan Komputer Kecil di kantor dan di rumah menggunakan Windows Xp”, Jakarta, D@tarpin Grafitama, 2004

8. Wahidin, “ASP untuk Orang Awam”,Palembang, Maxikom, 2004.

9. www.umediaserver.net

10. www.microsoft.com

11. www.forums.aspfree.com