CODEC NEGOTIATION AND SWITCHING METHOD
A codec negotiation and switching method and system, an electronic device, a computer-readable storage medium, and a computer program product are disclosed. The system includes an electronic device (100) and an audio play device (200). Before transmitting audio data, the electronic device (100) and...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A codec negotiation and switching method and system, an electronic device, a computer-readable storage medium, and a computer program product are disclosed. The system includes an electronic device (100) and an audio play device (200). Before transmitting audio data, the electronic device (100) and the audio play device (200) categorize codecs into a plurality of categories, and determine a common codec category, for example, a first category and a second category, supported by the electronic device (100) and the audio play device (200). The electronic device (100) transmits the audio data to the audio play device (200) based on a codec of the first category. When the codec needs to be switched, the electronic device (100) does not need to renegotiate with the audio play device (200) on a codec type, but directly transmits the audio data based on a codec of the second category. In the method, a problem that audio data is interrupted and stalling occurs during codec switching performed by the electronic device and the audio play device is resolved, and user experience is improved. |
---|