Skip to content

Commit

Permalink
fix RTSP remux to RTMP error
Browse files Browse the repository at this point in the history
  • Loading branch information
harlanc committed Aug 10, 2024
1 parent 1f8bef6 commit 47ecf03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/rtsp/src/session/server_session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ impl TStreamHandler for RtspStreamHandler {
}
};
match sub_type {
SubscribeType::RtmpPull => {
SubscribeType::RtspRemux2Rtmp => {
let sdp_info = self.sdp.lock().await;
let mut video_clock_rate: u32 = 0;
let mut audio_clock_rate: u32 = 0;
Expand Down

0 comments on commit 47ecf03

Please sign in to comment.