You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ffplay command line also only printed video information. Stream #0:0: Video: h264
2. After the previous step is completed, I used ffmpeg to simultaneously push audio and video information to the same streaming address. ffmpeg -i rtmp://192.168.0.134/live/push -c copy -f flv rtmp://192.168.0.134/live/noaudio
At this point, ffplay playback is also normal, and the correct audio and video information with a 48K sampling rate is obtained. So far, everything is correct.
When performing the first step again, only pushing the video without pushing the audio, the following issue is observed:
ffplay takes a long time to start playing, and it prints incorrect audio information, with an audio info of 44.1K.
Expected Behavior (Expect)
I expect that after ending the stream, SRS does not keep a record of whether there was any previous audio or video information.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered:
winlinvip
changed the title
srs2.0.263缓存了流是否有音频,并给与了默认值44.1K采样率
srs2.0.263 caches whether the stream has audio and provides a default value of 44.1K sampling rate.
Jul 28, 2023
srs2.0.263 caches whether the stream has audio and provides a default value: Audio: aac, 44100 Hz, stereo
SRS version (Version):
2.0.263
SRS configuration (Config) is as follows:
Replay
I conducted the following test:
The ffplay command line also only printed video information.
Stream #0:0: Video: h264
2. After the previous step is completed, I used ffmpeg to simultaneously push audio and video information to the same streaming address.
ffmpeg -i rtmp://192.168.0.134/live/push -c copy -f flv rtmp://192.168.0.134/live/noaudio
At this point, ffplay playback is also normal, and the correct audio and video information with a 48K sampling rate is obtained. So far, everything is correct.
ffplay takes a long time to start playing, and it prints incorrect audio information, with an audio info of 44.1K.
Expected Behavior (Expect)
I expect that after ending the stream, SRS does not keep a record of whether there was any previous audio or video information.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: