41
การติดตั้งสตรีมมิ่งเซิรฟเวอรแบบ Open source : Red 5 และการพัฒนาระบบวีดิทัศนทางไกล (Video Conference) เทียบเทา Macromedia Flash Communication Server Red5 Open Source Flash Server Tel 086-5758301 .บัณฑิต พฤฒเศรณี

Red5 streaming

Embed Size (px)

DESCRIPTION

Red_5 : Video Conference

Citation preview

Page 1: Red5 streaming

การติดตัง้สตรีมมิ่งเซริฟเวอรแบบ Open source : Red 5

และการพัฒนาระบบวีดทิัศนทางไกล (Video Conference)

เทียบเทา Macromedia Flash Communication Server

Red5 Open Source Flash Server

Tel 086-5758301อ.บัณฑิต พฤฒเศรณี

Page 2: Red5 streaming

Red5 สนับสนุนระบบปฏิบัติการใดบาง- Window Server

- Linux Server

- Cent OS Server

- Free BSD Server

- Ubuntu Server

- Mac OSX 10.4

Page 3: Red5 streaming

What is red5• An Open Source Flash Media Server

– Built on Java (J2EE)

– Uses RTMP (Real Time Messaging Protocol)

• Streaming Audio/Video (FLV, F4V, MP4 and MP3, F4A, M4A )

• Recording Client Streams (FLV only)

• Shared Objects

• Live Stream Publishing

• Remoting (AMF)

• Multi-User Environments

Page 4: Red5 streaming

Generation Streaming• กระบวนการทํางานของ Web แตกอนที่จะนําระบบ Streaming Media มาใชงาน• ความแตกตางของเทคโนโลยีนํามาใช รวมไปถึงชนิดของสื่อที่จะนํามาขึ้น Streaming server

• ขนาดของ Bandwidth ที่ใหบริการ Streaming

โดยใชเสนทางถนนของ Uninet ถงึ 10Gbit

Page 5: Red5 streaming
Page 6: Red5 streaming
Page 7: Red5 streaming
Page 8: Red5 streaming
Page 9: Red5 streaming
Page 10: Red5 streaming
Page 11: Red5 streaming
Page 12: Red5 streaming
Page 13: Red5 streaming

Flash

Page 14: Red5 streaming
Page 15: Red5 streaming

Flash

Page 16: Red5 streaming
Page 17: Red5 streaming
Page 18: Red5 streaming
Page 19: Red5 streaming
Page 20: Red5 streaming
Page 21: Red5 streaming
Page 22: Red5 streaming
Page 23: Red5 streaming
Page 24: Red5 streaming
Page 25: Red5 streaming
Page 26: Red5 streaming
Page 27: Red5 streaming
Page 28: Red5 streaming
Page 29: Red5 streaming
Page 30: Red5 streaming

Application install on Server

Page 31: Red5 streaming

Uses RTMP (Real Time Messaging Protocol)

Page 32: Red5 streaming

การเปรียบเทียบความนิยมในตลาดคูแขงสําหรับการเปรียบเทียบความนิยมในตลาดคูแขงสําหรับ Player

Page 33: Red5 streaming

Flash Version Contribution to Totalการเปรียบเทียบในกลุมการเปรียบเทียบในกลุม Flash VersionFlash Version ตางๆตางๆ

Page 34: Red5 streaming

rtmp.host_port = 0.0.0.0:1935 http.host = your.server.comhttp.port = 5080 rtmpt.host = 0.0.0.0 rtmpt.port = 8088 debug_proxy.host_port = 1936 proxy_forward.host_port = 127.0.0.1:5080

Port Red5

Page 35: Red5 streaming

public function initURIList():Void{

LSOUserPreferences.load("VideoConference");

var uriList:Array = LSOUserPreferences.getPreference("uriList");if(uriList != undefined && uriList.length > 0){

uri.dataProvider = uriList;}else{

// add default values for now:uri.addItem("rtmp://192.168.1.2/fitcDemo");uri.addItem("rtmp://fancycode.com/fitcDemo");uri.addItem("rtmp://69.64.37.77/fitcDemo");

}}

Code Flash Action scrip

Red5\swf\DEV_Source\classes\org\red5\samples\livestream\videoconference

Page 36: Red5 streaming

function setupCameraMic():Void{

// setup camcam = Camera.get();// setting dimensions and frameratecam.setMode(320, 240, 12);// set to minimum of 70% qualitycam.setQuality(0,70);

// setup micmic = Microphone.get();mic.setRate(44);

}

Code Flash Action scrip

Page 37: Red5 streaming

Technical Feasibility• Terracotta (เทอราคอทตา)

– A Java Clustering Open Source Solution

– http://www.terracotta.org

– The TC team is now working with us to achieve the

clustering goal of Red5.

Page 38: Red5 streaming

ขอดีสําหรับผูดูแลหองประชุมขอดีสําหรับผูดูแลหองประชุม1. ไมตองไปเสียเวลายุงกับชุดเครื่องมอื conference ในหองประชุมในการตดิตัง้ และทดสอบ2. ไมตองไปจดัเก็บอุปกรณหลายชิ้นในหองประชุม3. อุปกรณไมหายมีเพียง Camera และ microphone

4. ราคาไมแพงทั้ง Camera และ microphone

5. ไมเสียคาใชจาย MA ดาน Hardware

Page 39: Red5 streaming

ขอดีสําหรับผูพัฒนาขอดีสําหรับผูพัฒนา Red5Red5

1. ภาษาที่ใชสําหรับการเขียนโปรแกรมไมยากสามารถแกไข Source code และพัฒนาตอยอดได

2. ตองมีความรูพื้นฐานเกี่ยวกับโปรแกรม Flash Action scrip

3. สามารถเพิ่มขีดความสามารถของ Application ได เชน- เพิ่มขนาดจอภาพใหญขึ้น - ปรับขนาด frame rate ใหเหมาะสมกับการใชงาน- เพิ่มจํานวนหองในชุดกลุม Conference ได

4. ไมตองไปยุงกับโครงสรางหลักของ Red5 เพราะคา Parameter จะสง Scrip ไปยัง Application ไดเลย

Page 40: Red5 streaming

แนวโนมการพฒันาและนําไปใชแนวโนมการพฒันาและนําไปใช Red5Red5

1. พัฒนาตอยอดใชกับ Mobile Learning ของระบบ 3G

2. นําไปพัฒนาระบบกลองวงจรปด CCTV ตามจดุตางๆของบริเวณบาน และสํานักงาน

3. นําไปตดิตัง้กับระบบจดัการเรียนการสอนทางไกล หรือ ตดิกบั LMS เชน Moodle หรือ LMS อื่นๆ

4. สนับสนุนการนําไปใชกับจดุเสี่ยงภัยใน 3 จังหวัดภาคใต ซึง่ประหยัดคาใชจายอยางมาก

Page 41: Red5 streaming

Questionsทานใดสนใจสามารถรวมเขาอบรมในสายการพฒันาโปรแกรม Red5

"ระบบประชุมทางไกลเพื่อการจดัการเรยีนการสอนออนไลน"แบบ Open Source ไดที่ http://www.thaicyberu.go.th

หรือติดตอ อ.บณัฑิต พฤฒเศรณี

Telephone 086-5758301