Skip to content

Video showing blank on mute of audio #45

@mohan-agadkar

Description

@mohan-agadkar

I am using TRTC-API-Example-Swift,
when audio is muted at host end in website,
the host's video is going blank at client end (iOS)
Screenshot 2024-03-11 at 15 39 05
IMG_83EC35DE087C-1

below are the logs, on mute audio:-

[I][03-11/14:59:26.731+5.5][7769,70659][remote_channel_manager.cc:253][77b0]Remote-Network: StateChanged UserList: {uid:mohan001 tinyid: 144115265544763711 isMixingRobot:0 State: [Video:Big] [Audio:Has]} to: [{uid:mohan001 tinyid: 144115265544763711 isMixingRobot:0 State: [Video:Big] [Audio:Mute]}]
[I][03-11/14:59:26.731+5.5][7769,70659][network_impl.cc:1319][77b0][remote-trtc][uid:mohan001][type:Audio] Available:0
[I][03-11/14:59:26.732+5.5][7769,259][trtc_pipeline_video.cc:265][trtc-api][77b0]StopRemoteView [user_id:mohan001|stream_type:SmallStream|remove_view:True]
[I][03-11/14:59:26.732+5.5][7769,115459][video_renderer_controller.cc:263][remote-video][77b0][uid:mohan001][type:BigStream][77b0] Set render view: 0x00000000, is invalid
[I][03-11/14:59:26.733+5.5][7769,70659][remote_channel_manager.cc:2449][remote-trtc][77b0]]StopRemoteView: SmallStream userid:mohan001 ahead:false need_change_channel:true
[I][03-11/14:59:26.734+5.5][7769,115459][video_renderer_controller.cc:270][remote-video][77b0][uid:mohan001][type:BigStream][77b0] Internal renderer destroyed.
[I][03-11/14:59:28.686+5.5][7769,70659][network_impl.cc:1171][remote-trtc][77b0]][uid:mohan001][type:BigStream][tinyid:144115265544763711] Removed. Reason:LocalStop
[I][03-11/14:59:28.687+5.5][7769,70659][remote_channel_manager.cc:1973][remote-trtc][77b0]]RemoveDownStream, tinyid: 144115265544763711 type:BigStream
[I][03-11/14:59:28.687+5.5][7769,70659][remote_channel_manager.cc:2096][remote-trtc][77b0]]Subscribe User:144115265544763711 state: [Audio:Has]
[I][03-11/14:59:28.687+5.5][7769,82691][remote_video_module_impl.cc:232][remote-video][77b0][uid:mohan001]Remote video unavailable, type:BigStream reason:kLocalStop = 1
[I][03-11/14:59:28.687+5.5][7769,82691][video_consumer2_impl.cc:104][remote-video][77b0][uid:mohan001][type:BigStream][77b0] Stop consumer: clear_view = true
[I][03-11/14:59:28.687+5.5][7769,82691][video_decoder_controller.cc:62][remote-video][77b0][uid:mohan001][type:BigStream][77b0] Stop decoding.
[I][03-11/14:59:28.687+5.5][7769,82691][video_decoder_stats.cc:171][remote-video][77b0][uid:mohan001][type:BigStream][77b0] Diagnostic info: duration 5798 ms, received 178, average 30.70 fps, immediate 29 fps; discarded 0; decoded: 178, average 30.70 fps, immediate 29 fps
[I][03-11/14:59:28.687+5.5][7769,82691][video_jitter_buffer.cc:930][remote-trtc][77b0][uid:mohan001][type:BigStream][tinyid:144115265544763711]Set track reader listener @0
[I][03-11/14:59:28.687+5.5][7769,82691][video_decoder_input_track_wrapper.cc:28][remote-video][77b0][uid:mohan001][type:BigStream][77b0] Input track reader changed: @1a78 --> @0000
[I][03-11/14:59:28.687+5.5][7769,82691][video_renderer_controller.cc:63][remote-video][77b0][uid:mohan001][type:BigStream][77b0] Stop rendering.
[I][03-11/14:59:28.687+5.5][7769,124315][video_decoder_safe_wrapper.cc:399][remote-video][77b0][uid:mohan001][type:BigStream][dec_wrap:@87e0][77b0] Destroy decoder: internal-videotoolbox-hardware-video-decoder
[I][03-11/14:59:28.687+5.5][7769,124315][video_decoder_impl_apple.mm:48][remote-video][77b0][uid:mohan001][type:BigStream][dec_wrap:@87e0][77b0] Release hardware decoder
[I][03-11/14:59:28.687+5.5][7769,115459][video_renderer_stats.cc:157][remote-video][77b0][uid:mohan001][type:BigStream][77b0] Diagnostic info: {duration: 5797 ms, freeze: 731 ms, freeze_rate: 12.61%; received: 178, average 30.71 fps, immediate 29fps; rendered: 120, average 20.70 fps, immediate 0fps}
[I][03-11/14:59:28.687+5.5][7769,115459][video_renderer_controller.cc:473][remote-video][77b0][uid:mohan001][type:BigStream][77b0] Input track diagnostic info: track immediate input|output fps: 29|29, total input|output frames: 1044|1043
[I][03-11/14:59:28.688+5.5][7769,82691][signal_task.cc:117][local-trtc][77b0]]C2SRequest: {cmd:C2SSubscribeRequest, seq:555264186}
[I][03-11/14:59:28.699+5.5][7769,70659][remote_channel_manager.cc:727][remote-trtc][77b0]]AddDownStream: [type:BigStream][tinyid:144115265544763711]
[I][03-11/14:59:28.699+5.5][7769,70659][remote_channel_base.cc:98][remote-trtc][77b0][type:BigStream][tinyid:144115265544763711]Recv first UDT packet, tinyid:144115265544763711
[I][03-11/14:59:28.699+5.5][7769,100611][arq_receiver.cc:404][remote-trtc][77b0][type:BigStream][tinyid:144115265544763711]disable_control=0 arq_window_scale=1.000000 smooth_scale=500 packet_recovery_time_scale=2.000000 frame_interval_scale=2.000000 arq_interval_scale=1.200000
[I][03-11/14:59:28.699+5.5][7769,100611][video_depacketizer.cc:110][remote-trtc][77b0][type:BigStream][tinyid:144115265544763711]VideoFrame: fragment_num: 1 fragment_index: 0 ext_flag: 11 packet_type: 1 index: 1 packet_total_count: 16 frame_index: 14 gop_index: 23 sender_seq:2128625
[I][03-11/14:59:28.699+5.5][7769,100611][video_depacketizer.cc:221][remote-trtc][77b0][type:BigStream][tinyid:144115265544763711]Assemble first frame: type: 1 gop_index: 23 frame_index: 14 reference_frame_index: 13 first_packet_seq: 2128624
[I][03-11/14:59:28.699+5.5][7769,100611][remote_video_channel.cc:751][remote-trtc][77b0][type:BigStream][tinyid:144115265544763711]Request Key Frame
[I][03-11/14:59:28.710+5.5][7769,82691][signal_manager.cc:1051][local-trtc][77b0]]Signal: C2SResponse: C2SSubscribeResponse, Seq: 555264186, Tinyid: 144115265545811735, ErrorCode: 0, ErrorHandleMethod: 0
[W][03-11/14:59:32.278+5.5][7769,107019][video_encoder_monitor.cc:70][local-video][main][BigStream][77b0] Encoder output interval:55, pts delta:66,fps interval: 66
[I][03-11/14:59:33.622+5.5][7769,82691][audio_io_service_impl.cc:779][audio_log][audio-io]up-link preprocess time plus algorithm buffer is: 17 ms, microphone record delay is: 4 ms.
[I][03-11/14:59:33.622+5.5][7769,82691][audio_io_service_impl.cc:788][audio_log][audio-io]down-link mix and decode time plus max sync-buffer cache is: 7 ms, speaker playout delay is: 32 ms.
[I][03-11/14:59:33.688+5.5][7769,70659][remote_channel_manager.cc:1973][remote-trtc][77b0]]RemoveDownStream, tinyid: 144115265544763711 type:BigStream

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions