DOI QR코드

DOI QR Code

A Small Real-Time Radio Broadcasting System by Using Smart Phone

스마트폰을 이용한 소규모 실시간 라디오 방송 시스템

  • Lee, Jae-Moon (Dept. of Multimedia Engineering, Hansung University)
  • 이재문 (한성대학교 멀티미디어공학과)
  • Received : 2012.08.22
  • Accepted : 2012.10.12
  • Published : 2012.10.31

Abstract

This paper is a research on the design and implementation of a small real-time radio broadcasting system by using smart phone based on Android. It was designed as the server-client structure, and used the progressive download of HTTP as methods of transferring data to further simplify the system. In order to realize the real-time broadcasting, the original audio source was divided with a short interval and captured to be compressed and stored into files. Then the client receives and plays the compressed files sequentially as it is downloaded. However, this method occurs two problems each of which is the loss of capturing the original source in the server and the discontinuity of playing the files in the client. We solved the problem in the server by separating the thread into two parallel threads of which is each captured and compressed/stored, also by using the double buffering method. The problem in the client was solved using MediaPlayer in Android and the file queue to store the multiple files.

본 논문은 안드로이드 기반 스마트폰을 이용한 소규모 실시간 라디오 방송 시스템 설계 및 구현에 관한 연구이다. 서버-클라이언트 구조로 설계하였으며, 시스템을 간단히 하기 위하여 데이터 전송 방식으로 HTTP에 의한 점진적 다운로드 기법을 사용하였다. 실시간 방송을 실현하기 위하여 원음을 짧은 시간 간격으로 잘라서 캡쳐하여 압축/저장하였고, 이들을 순차적으로 클라이언트에서 재생하는 방법을 사용하였다. 이 방법은 서버에서 캡쳐 시 원음을 잃음과 클라이언트에서 재생 시 파일과 파일 사이 재생의 끊어지는 두 가지 문제를 발생 시킨다. 서버에서는 캡쳐 스레드와 압축/저장 스레드로 분리하고, 이중 버퍼링을 사용하여 해결하였으며, 클라이언트에서는 안드로이드에서 제공하는 미디어플레이어를 사용하고, 하나의 파일 큐에 다수의 음원 파일을 저장하여 해결하였다.

Keywords

References

  1. http://www.kbs.co.kr/radio/kong/
  2. http://www.imbc.com/broad/radio/minimbc/setup_pc/index.html
  3. http://gorealra.sbs.co.kr/g3/web/introduce.jsp
  4. http://rainbow.cbs.co.kr/Rainbow/
  5. Jongdeok Kim, Younggil Kim, "A Study of Internet Radio Platform based on MIPS Core", Journal of The Korea Institute of Information and Communication Engineering Vol. 12, No. 8, 2008, pp.1370- 1376
  6. Jongtaek Oh, A Study on the Data Frame Length and Repetitive Transmission for IP Local Broadcasting, Journal of the Institute of Webcasting, Internet and Telecommunication, Vol. 11, No. 3, 2011, pp. 123-127.
  7. In-Lyong Ko, "Network implementation for convergences of mobile communication and broadcasting", Journal of Korean Institute of Information Technology, Vol.2 No.2 2004, pp. 121-126.
  8. Min-Young Sung, "Design and Implementation of Dual-Mode Cordless Phone and walkie-Talky System: A Software Radio Approach", Journal of the Korea Academia-Industrial cooperation Society, v.9, no.3, 2008, pp.674-680. https://doi.org/10.5762/KAIS.2008.9.3.674
  9. Jin-Young Lee, "Development of an integrated amplifier for MATV/Satellite Broadcasting", Journal of the Korea Academia-Industrial cooperation Society, v.11, no.12, 2010, pp.5007-5014. https://doi.org/10.5762/KAIS.2010.11.12.5007
  10. H. Schulzrinne, A. Rao, R. Lanphier: Real Time Streaming Protocol (RTSP), http://ds.internic.net/internet-drafts/ draft-ietf-mmusic-rtsp-03.txt
  11. http://httpd.apache.org/
  12. Zeki Yetgin, Gamze Seckin, "Progressive Download for 3G Wireless Multicasting", International Journal of Hybrid Information Technology, Vol. 1, No. 2, April, 2008
  13. http://developer.android.com
  14. http://msdn.microsoft.com
  15. http://www.free-codecs.com/download/bladeenc.htm