사용자 지정 오디오 파일을 업로드하고 재생하는 방법?

소개

개요

산업용 인터폰 장치는 특정 시나리오에서 사용자 정의 오디오 파일을 재생해야 할 수 있습니다. 이 문서에서는 사용자 정의 오디오를 업로드하고 산업용 장치에서 재생하는 방법을 설명합니다.

지원 모델

모든 산업용 인터폰 장치.

사전 준비 도구

① 산업용 인터폰 장치 하나(예: BHP-SOS16V), PoE 스위치 하나(또는 DC 전원). 장치를 스위치에 연결합니다.
② 동일한 스위치에 연결된 디버깅 컴퓨터 하나. 네트워크 연결을 보장합니다.

장치 및 컴퓨터 연결 다이어그램

BHP-SOS16V와 컴퓨터를 동일한 스위치에 연결합니다. 연결 다이어그램은 그림 1에 나와 있습니다.

장치 및 컴퓨터 연결 다이어그램

                                             그림 1 장치 및 컴퓨터 연결 다이어그램

사용자 정의 오디오 재생

사용자 정의 오디오를 재생하려면 먼저 파일을 업로드한 다음 여러 재생 방법 중 하나를 사용해야 합니다. 자세한 단계는 아래에 나와 있습니다.

사용자 정의 오디오 업로드

오디오 파일은 Web UI를 통해 업로드할 수 있습니다. 장치에 로그인하고(예: BHP-SOS16V), 시스템업그레이드벨소리 업그레이드로 이동하여 WAV 파일을 업로드합니다.

  • 형식: WAV

  • 권장 크기: ≤ 200 KB

사용자 정의 오디오 업로드

그림 2 사용자 정의 오디오 업로드

오디오 파일 재생

세 가지 재생 방법이 있습니다. 세부 정보는 아래에 제공됩니다.

2.2.1 예약된 오디오 재생

지원되지 않음: BHP-SOS10, BHP-SOS10V, BHP-SOS10D

단계: (1) 장치의 Web UI에 로그인합니다(기본값 admin/admin).
(2) 인터폰 설정 → 시간 관리로 이동하여 그림 3과 같이 구성합니다.

  • ① 이름: 사용자 정의

  • ② 유형: 예약된 오디오 재생

  • ③ 오디오 경로: 로컬 (또는 외부 저장소가 있는 경우 USB/SD)

  • ④ 재생 모드: 반복 또는 한 번

  • ⑤ 반복 주기 및 유효 시간대 설정

예약된 오디오 재생

그림 3 예약된 오디오 재생

(3) 구성된 시간 동안 오디오가 자동으로 재생됩니다.

2.2.2 활성 URI 재생

지원되지 않음: BHP-SOS10, BHP-SOS10V, BHP-SOS10D, BHP-SOS11, BHP-SOS11V

형식: (1) ActiveURI: http://IP/cgi-bin/audio_play?name=2.wav&path=usb&takelist=xxx&action=start&times=1

매개변수값 / 설명참고
ActionStart, Stop, Pause, Next, Prev
Times0=반복, 1=한 번, 2=두 번, N=N번 반복
Takelist예약 작업 이름
PathUSB: USB 드라이브에서 재생

(2) 예: http://172.18.8.15/cgi-bin/audio_play?name=2.wav&action=start&times=1
브라우저에 URL을 입력합니다. 장치가 오디오를 재생하고 200OK를 반환합니다. 그림 4에 나와 있습니다.

활성 URI 재생

그림 4 활성 URI 재생

2.2.3 HTTP API 재생

지원되지 않음: BHP-SOS10, BHP-SOS10V, BHP-SOS10D, BHP-SOS11, BHP-SOS11V

요청 형식: (1) 클라이언트 → 서버 요청:

(?xml version="1.0" encoding="UTF-8" ?)
(FanvilPhoneExecute beep="yes")
(ExecuteItem)URI="cmd:audio_play" name="xxx.wav" action="start/stop/pause" times="0/1/2/n"(/ExecuteItem)
(/FanvilPhoneExecute)
  • cmd:audio_play: 오디오 재생 명령

  • name: 오디오 파일 이름

  • action: start, stop, pause

(2) 서버 → 클라이언트 응답:

(?xml version="1.0" encoding="UTF-8"?)
(FanvilPhoneExecute)
(ExecuteItem)URI="cmd:audio_play" name="ring.wav" action="start" times="1"(/ExecuteItem)
(RetCode>0

(3) 예: Postman 또는 ApiPost를 사용하여 POST 요청을 다음 주소로 보냅니다: http://DeviceIP/xmlservice보내기를 클릭하여 오디오를 재생합니다.

HTTP API 재생 테스트


카탈로그
고객 서비스 전화
We use cookie to improve your online experience. By continuing to browse this website, you agree to our use of cookie.

Cookies

This Cookie Policy explains how we use cookies and similar technologies when you access or use our website and related services. Please read this Policy together with our Terms and Conditions and Privacy Policy so that you understand how we collect, use, and protect information.

By continuing to access or use our Services, you acknowledge that cookies and similar technologies may be used as described in this Policy, subject to applicable law and your available choices.

Updates to This Cookie Policy

We may revise this Cookie Policy from time to time to reflect changes in legal requirements, technology, or our business practices. When we make updates, the revised version will be posted on this page and will become effective from the date of publication unless otherwise required by law.

Where required, we will provide additional notice or request your consent before applying material changes that affect your rights or choices.

What Are Cookies?

Cookies are small text files placed on your device when you visit a website or interact with certain online content. They help websites recognize your browser or device, remember your preferences, support essential functionality, and improve the overall user experience.

In this Cookie Policy, the term “cookies” also includes similar technologies such as pixels, tags, web beacons, and other tracking tools that perform comparable functions.

Why We Use Cookies

We use cookies to help our website function properly, remember user preferences, enhance website performance, understand how visitors interact with our pages, and support security, analytics, and marketing activities where permitted by law.

We use cookies to keep our website functional, secure, efficient, and more relevant to your browsing experience.

Categories of Cookies We Use

Strictly Necessary Cookies

These cookies are essential for the operation of the website and cannot be disabled in our systems where they are required to provide the service you request. They are typically set in response to actions such as setting privacy preferences, signing in, or submitting forms.

Without these cookies, certain parts of the website may not function correctly.

Functional Cookies

Functional cookies enable enhanced features and personalization, such as remembering your preferences, language settings, or previously selected options. These cookies may be set by us or by third-party providers whose services are integrated into our website.

If you disable these cookies, some services or features may not work as intended.

Performance and Analytics Cookies

These cookies help us understand how visitors use our website by collecting information such as traffic sources, page visits, navigation behavior, and general interaction patterns. In many cases, this information is aggregated and does not directly identify individual users.

We use this information to improve website performance, usability, and content relevance.

Targeting and Advertising Cookies

These cookies may be placed by our advertising or marketing partners to help deliver more relevant ads and measure the effectiveness of campaigns. They may use information about your browsing activity across different websites and services to build a profile of your interests.

These cookies generally do not store directly identifying personal information, but they may identify your browser or device.

First-Party and Third-Party Cookies

Some cookies are set directly by our website and are referred to as first-party cookies. Other cookies are set by third-party services, such as analytics providers, embedded content providers, or advertising partners, and are referred to as third-party cookies.

Third-party providers may use their own cookies in accordance with their own privacy and cookie policies.

Information Collected Through Cookies

Depending on the type of cookie used, the information collected may include browser type, device type, IP address, referring website, pages viewed, time spent on pages, clickstream behavior, and general usage patterns.

This information helps us maintain the website, improve performance, enhance security, and provide a better user experience.

Your Cookie Choices

You can control or disable cookies through your browser settings and, where available, through our cookie consent or preference management tools. Depending on your location, you may also have the right to accept or reject certain categories of cookies, especially those used for analytics, personalization, or advertising purposes.

Please note that blocking or deleting certain cookies may affect the availability, functionality, or performance of some parts of the website.

Restricting cookies may limit certain features and reduce the quality of your experience on the website.

Cookies in Mobile Applications

Where our mobile applications use cookie-like technologies, they are generally limited to those required for core functionality, security, and service delivery. Disabling these essential technologies may affect the normal operation of the application.

We do not use essential mobile application cookies to store unnecessary personal information.

How to Manage Cookies

Most web browsers allow you to manage cookies through browser settings. You can usually choose to block, delete, or receive alerts before cookies are stored. Because browser controls vary, please refer to your browser provider’s support documentation for details on how to manage cookie settings.

Contact Us

If you have any questions about this Cookie Policy or our use of cookies and similar technologies, please contact us at support@becke.cc .