File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,14 @@ All notable changes to the **daily-python** SDK will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ Unreleased]
9+
10+ ### Fixed
11+
12+ - Fixed an issue where custom audio tracks won't send silence from the very
13+ beginning. This is necessary to avoid issues with browsers that expect RTP
14+ packets form the very beginning.
15+
816## [ 0.19.8] - 2025-08-27
917
1018### Fixed
Original file line number Diff line number Diff line change @@ -44,7 +44,12 @@ impl PyCustomAudioSource {
4444impl PyCustomAudioSource {
4545 #[ new]
4646 pub fn new ( sample_rate : u32 , channels : u8 ) -> Self {
47- let audio_source_ptr = unsafe { daily_core_context_create_custom_audio_source ( ) } ;
47+ let audio_source_ptr = unsafe {
48+ daily_core_context_create_custom_audio_source_with_silence (
49+ sample_rate as i32 ,
50+ channels as usize ,
51+ )
52+ } ;
4853
4954 let audio_source = NativeDailyAudioSource :: from ( audio_source_ptr) ;
5055
You can’t perform that action at this time.
0 commit comments