restructure gap and cap quali testcases
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
"""
|
||||
Make sure to set TXPX_BST_CODEC_CONFIG to 16_2_1
|
||||
restart the stream when asked to terminate.
|
||||
CAP/INI/BST/BV-01-C and CAP/INI/BST/BV-05-C:
|
||||
- BV-01-C: Broadcast Audio Starting for Single Audio Stream
|
||||
- BV-05-C: Broadcast Audio Starting for Single Audio Streams - Single CCID
|
||||
|
||||
Make sure to set TSPX_BST_CODEC_CONFIG to 16_2_1
|
||||
Restart the stream when asked to terminate.
|
||||
"""
|
||||
|
||||
import logging
|
||||
@@ -16,6 +20,8 @@ if __name__ == "__main__":
|
||||
format="%(module)s.py:%(lineno)d %(levelname)s: %(message)s",
|
||||
)
|
||||
|
||||
os.chdir(os.path.join(os.path.dirname(__file__), "../../auracast"))
|
||||
|
||||
# Start from default global config
|
||||
config = AuracastGlobalConfig()
|
||||
|
||||
@@ -29,7 +35,7 @@ if __name__ == "__main__":
|
||||
# Default BIG, only modify the random address as requested
|
||||
big = AuracastBigConfig()
|
||||
big.random_address = "F1:F1:F2:F3:F4:F5"
|
||||
big.audio_source = "file:./src/auracast/testdata/announcement_en.wav"
|
||||
big.audio_source = "file:./testdata/announcement_en.wav"
|
||||
big.id = 12
|
||||
|
||||
run_async(
|
||||
@@ -15,7 +15,7 @@ if __name__ == "__main__":
|
||||
)
|
||||
|
||||
# Ensure relative audio paths like in AuracastBigConfig work (./auracast/...) from src/auracast/
|
||||
os.chdir(os.path.join(os.path.dirname(__file__), "../../../../auracast"))
|
||||
os.chdir(os.path.join(os.path.dirname(__file__), "../../auracast"))
|
||||
|
||||
# Start from default global config
|
||||
config = AuracastGlobalConfig()
|
||||
Reference in New Issue
Block a user