簡易檢索 / 詳目顯示

研究生: 吳奕莆
論文名稱: 基於應用層前向錯誤更正技術之Wi-Fi 串流客戶端的設計與實作
The Design and Implementation of a Wi-Fi Streaming Client Based on Application-Layer FEC
指導教授: 孫宏民
口試委員: 顏嵩銘
洪國寶
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Computer Science
論文出版年: 2013
畢業學年度: 101
語文別: 英文
論文頁數: 45
中文關鍵詞: AL-FECAndroidstmreaingRTSPTHSR
外文關鍵詞: AL-FEC, Android, stmreaing, RTSP, THSR
相關次數: 點閱:2下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  •   本論文是參與工研院及威達雲端的高鐵上網計畫中的高鐵即時影音平台開發
    的成果,該平台主要是利用專屬於高鐵上網的WiMAX 網路,將即時影音資料傳
    送到高鐵列車上,再透過Wi-Fi Access Point (AP) 將影音資料以multicast 方式傳送給高鐵列車中的使用者。而當中Wi-Fi IP multicast 所造成的封包遺失,則是使用Application Layer - Forward Error Correction (AL-FEC) 技術去修補。先前該平台只完成了頭端系統軟體及Windows 版。
      本論文所提出的Android client 端程式,是搭配高鐵即時影音平台頭端
    系統軟體中的WiFi multicast 串流伺服器所開發的。爲了提升使用者介面的操
    作流暢度及降低使用者介面的操作複雜度,我們提供了以下的功能: 快速的頻道
    切換(fast channel switch)、使用WinRT 平台內建的media player 作為播放器、透過pre-cache 技術來降低channel switch 時所耗費的時間…等功能。此外,為了搭配Android 平台內建的media player,我們在Android 版的client 端中內建了RTSP Relay Server,除了支援RTSP (Real Time Streaming Protocol) 協定外,還處理了multicast RTP 串流服務在AL-FEC 解碼後轉換為unicast 傳送時的相關問題,例如: 影音傳送速度控制(flow control) 及影音同步(audio and video synchronization)…等功能。


    This paper is the achievement of participation of the mobile TV streaming service project provide by ITRI (Industrial Technology Research Institute) and VeeTIME Corporation. This mobile TV streaming service is operating base on the WiMax
    internet service for THSR (Taiwan High Speed Rail). This system using the WiMax internet service to deliver media data to the WiMax MS (Mobile Station) on the high speed cars. The WiMax MS will deliver the media data by many Wi-Fi AP (Access Point) in the cars to client in IP multicast and UDP (User Datagram Protocol) which is unreliable. The system use Application Layer - Forward Error Correction (AL-FEC) to fix the problem of packets loss. The client of this system haven’t implement on Android before.
    This paper propose a Android client to receive the media data delivered by the mobile TV streaming service’s media streaming server which send packet by Wi-Fi IP multicast. The goal of this paper is provide a good user experiment. For this purpose, we propose these functions - Fast Channel Switch, using an embedded player which can be embed in UI, design Pre-Cache module to reduce the period of buffering, etc. Moreover, we also design a RTSP (Real Time Streaming Protocol) Relay Server for embedded player on Android. RTSP Relay Server not only support RTSP, but also handle the issues about the data decoded by AL-FEC. For instance, The Flow control issue and the audio and video synchronization issue.

    Table of Contents i List of Figures iii List of Tables iv List of Formula v 1 Introduction 1 2 Background 4 2.1 Application Layer – Forward Error Correction (AL-FEC) . . . . . . . 4 2.2 Real-time Transport Protocol (RTP) and RTP Control Protocol (RTCP) 5 2.3 Session Description Protocol (SDP) . . . . . . . . . . . . . . . . . . . 6 2.4 Real Time Streaming Protocol (RTSP) . . . . . . . . . . . . . . . . . 8 2.4.1 OPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4.2 DESCRIBE . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4.3 SETUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.4.4 PLAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.4.5 TEARDOWN . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.4.6 RTSP Server State Machine . . . . . . . . . . . . . . . . . . . 11 2.5 Android . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3 Related work 14 3.1 AL-FEC over THSR . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.2 Other AL-FEC related works . . . . . . . . . . . . . . . . . . . . . . 16 4 System Requirement 17 5 System Architecture and Flow Chart 19 5.1 System Architecture Overview . . . . . . . . . . . . . . . . . . . . . . 19 5.2 UI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.3 RTSP Relay Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 5.3.1 RTSP Relay Server Overview . . . . . . . . . . . . . . . . . . 22 5.3.2 RtspComm and RtpComm . . . . . . . . . . . . . . . . . . . . 23 5.4 Pre-Cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.5 System Flow Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 5.5.1 Flow Chart of Interaction Between Activity and RTSP Relay Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 5.5.2 RtspComm Flow Chart . . . . . . . . . . . . . . . . . . . . . . 27 6 Implementation Issues 31 6.1 Fast Channel Switch Based on Pre-Cache Model . . . . . . . . . . . . 31 6.2 RTCP Delivery in RtpComm . . . . . . . . . . . . . . . . . . . . . . 32 6.3 Stream Flow Control Issues . . . . . . . . . . . . . . . . . . . . . . . 32 6.4 Audio and Video Synchronization Issue in RtpComm . . . . . . . . . 34 6.5 Buffer Control Issue . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 7 Performance Evaluation 36 7.1 AL-FEC Decoding Time v.s. AL-FEC Protection Period for Wi-Fi IP Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7.2 Buffering Time with Pre-Cache v.s. Buffering Time without Pre-Cache 38 7.3 RTP Packet Loss Rate for Wi-Fi IP Multicast . . . . . . . . . . . . . 39 7.4 Power Consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 8 Conclusion and Future Work 42

    [1] Hsin-Ta Chiao, Kuan-Ming Li, Jhih-Wei Jiang, Yi-Ting Kuo, and Ming-Chien
    Tseng. Mobile tv streaming over the mobile wimax network for high-speed rail
    reception. In TENCON 2011-2011 IEEE Region 10 Conference, pages 1289–
    1293. IEEE, 2011.
    [2] Amin Shokrollahi, Michael Luby, Mark Watson, and Thomas Stockhammer.
    Raptor forward error correction scheme for object delivery. 2007.
    [3] IDC - Press Release, May 2013. http://www.idc.com/getdoc.jsp?
    containerId=prUS24108913.
    [4] Henning Schulzrinne, Steven Casner, R Frederick, and Van Jacobson. Rfc 3550
    rtp: A transport protocol for real-time applications, 2003.
    [5] Jon Postel. User datagram protocol. Isi, 1980.
    [6] ETSI. DVB; IP Datacast over DVB-H: Content Delivery Protocols. ETSI TS
    102 472, V1.3.1, Jun. 2009.
    [7] ETSI. DVB; Transport of MPEG-2 TS Based DVB Services over IP Based
    Networks. ETSI TS 102 034, V1.4.1, Aug. 2009.
    [8] David Gómez-Barquero, David Gozálvez, and Narcís Cardona. Application
    layer fec for mobile tv delivery in ip datacast over dvb-h systems. Broadcasting,
    IEEE Transactions on, 55(2):396–406, 2009.
    [9] Bessem Sayadi, Yann Leprovost, Sylvaine Kerboeuf, Marie Line Alberi-Morel,
    and Laurent Roullet. Mpe-ifec: An enhanced burst error protection for dvb-sh
    systems. Bell Labs Technical Journal, 14(1):25–40, 2009.
    [10] ETSI. DVB; IP Datacast: CDP Implementation Guidelines; Part 2: IP Datacast
    over DVB-SH. ETSI TS 102 591-2, V1.1.1, Feb. 2010.
    [11] 3GPP. UMTS; LTE; Multimedia Broadcast/Multicast Service (MBMS); Protocols
    and Codecs (Release 11). 3GPP TS 26.346, V.11.2.0, Sep. 2012.
    [12] Thomas Stockhammer, Amin Shokrollahi, Mark Watson, Michael Luby, Tiago
    Gasiba, B Furht, and S Ahson. Application layer forward error correction for
    mobile multimedia broadcasting. Handbook of mobile broadcasting: DVB-H,
    DMB, ISDB-T and media flo, pages 239–280, 2008.
    [13] Antonios Alexiou, Christos Bouras, Vasileios Kokkinos, Andreas Papazois, and
    Georgia Tseliou. Forward error correction for reliable e-mbms transmissions
    in lte networks. Cellular Networks—Positioning, Performance analysis, Reliability.
    URL http://www. intechopen. com/articles/show/title/forward-error-c
    orrection-for-reliable-e-mbms-transmissions-in-lte-networks, 2011.
    [14] Michael Luby, Thomas Stockhammer, and Mark Watson. Iptv systems, standards
    and architectures: Part ii-application layer fec in iptv services. Communications
    Magazine, IEEE, 46(5):94–101, 2008.
    [15] Amin Shokrollahi. Raptor codes. Information Theory, IEEE Transactions on,
    52(6):2551–2567, 2006.
    [16] Henning Schulzrinne. Rtp profile for audio and video conferences with minimal
    control. 2003.
    [17] Mark Handley, Colin Perkins, and Van Jacobson. Sdp: session description
    protocol. 2006.
    [18] D Mills. Mar. 1992. network time protocol (version 3) specification, implementation.
    ietf, request for comments. Technical report, RFC 1305.
    [19] Henning Schulzrinne. Real time streaming protocol (rtsp). 1998.
    [20] Hsin-Ta Chiao, Shih-Ying Chang, Kuan-Ming Li, Yi-Ting Kuo, and Ming-
    Chien Tseng. Wifi multicast streaming using al-fec inside the trains of highspeed
    rails. In Broadband Multimedia Systems and Broadcasting (BMSB), 2012
    IEEE International Symposium on, pages 1–6. IEEE, 2012.
    [21] Shih-Ying Chang and Hsin-Ta Chiao. Crt-based al-fec and its application on
    streaming over the wimax networks for high-speed rail reception. In Vehicular
    Technology Conference (VTC Spring), 2012 IEEE 75th, pages 1–6. IEEE, 2012.
    [22] Christos Bouras, Nikolaos Kanakis, Vasileios Kokkinos, and Andreas Papazois.
    Al-fec for streaming services over lte systems. In Wireless Personal Multimedia
    Communications (WPMC), 2011 14th International Symposium on, pages 1–5.
    IEEE, 2011.
    [23] Yen-Ting Chen, Hung-Yi Teng, Ren-Hung Hwang, and Jeng-Farn Lee. Optimal
    bandwidth adaptation for layered video multicasting in ieee 802.11 wlans. In
    ITS Telecommunications (ITST), 2012 12th International Conference on, pages
    56–60. IEEE, 2012.
    [24] Kazuhisa Matsuzono, Jonathan Detchart, Mathieu Cunche, Vincent Roca, and
    Hitoshi Asaeda. Performance analysis of a high-performance real-time application
    with several al-fec schemes. In Local Computer Networks (LCN), 2010
    IEEE 35th Conference on, pages 1–7. IEEE, 2010.
    [25] Z Yang. Powertutor–a power monitor for android-based mobile platforms.
    EECS, University of Michigan, retrieved September, 2, 2012.
    [26] Twitch - Google Play Android Application. https://play.google.com/
    store/apps/details?id=tv.twitch.android.viewer.

    無法下載圖示 全文公開日期 本全文未授權公開 (校內網路)
    全文公開日期 本全文未授權公開 (校外網路)

    QR CODE