chore: Remove unused variables from stream.rs
This commit is contained in:
parent
4944d81dd7
commit
067474dea5
|
@ -310,20 +310,10 @@ impl<'gc> NetStream<'gc> {
|
||||||
>= write.preload_offset;
|
>= write.preload_offset;
|
||||||
|
|
||||||
match tag.data {
|
match tag.data {
|
||||||
FlvTagData::Audio(FlvAudioData {
|
FlvTagData::Audio(FlvAudioData { .. }) => {
|
||||||
format,
|
|
||||||
rate,
|
|
||||||
size,
|
|
||||||
sound_type,
|
|
||||||
data,
|
|
||||||
}) => {
|
|
||||||
tracing::warn!("Stub: Stream audio processing");
|
tracing::warn!("Stub: Stream audio processing");
|
||||||
}
|
}
|
||||||
FlvTagData::Video(FlvVideoData {
|
FlvTagData::Video(FlvVideoData { codec_id, data, .. }) => {
|
||||||
frame_type,
|
|
||||||
codec_id,
|
|
||||||
data,
|
|
||||||
}) => {
|
|
||||||
let (video_handle, frame_id) = match write.stream_type {
|
let (video_handle, frame_id) = match write.stream_type {
|
||||||
Some(NetStreamType::Flv {
|
Some(NetStreamType::Flv {
|
||||||
stream, frame_id, ..
|
stream, frame_id, ..
|
||||||
|
|
Loading…
Reference in New Issue