MCPcopy Create free account

hub / github.com/whitphx/streamlit-webrtc / functions

Functions467 in github.com/whitphx/streamlit-webrtc

Functionon_change
()
pages/17_video_in_video_out_decoupled.py:103
Functionon_ended
()
streamlit_webrtc/webrtc.py:235
Methodon_ended
Called when the input track ends — i.e. when the user clicks "STOP", closes the page, or the connection drops. Override this
streamlit_webrtc/models.py:117
Methodon_ended
Called when the input track ends — i.e. when the user clicks "STOP", closes the page, or the connection drops. Override this
streamlit_webrtc/models.py:170
Methodon_ended
(self)
tests/process_test.py:192
Methodon_iceconnectionstatechange
()
streamlit_webrtc/webrtc.py:594
Methodon_input_track_ended
()
streamlit_webrtc/process.py:26
Methodon_input_track_ended
()
streamlit_webrtc/process.py:88
Functionon_source_ended
()
pages/14_programmable_source.py:46
Functionon_track
(input_track: MediaStreamTrack)
streamlit_webrtc/webrtc.py:209
Methodon_track_created
(track_type: TrackType, track: MediaStreamTrack)
streamlit_webrtc/webrtc.py:503
Functionon_video_ended
()
docs/examples/tutorial/05_cleanup.py:9
Functionout_recorder_factory
()
pages/7_record.py:36
Methodoutput_audio_track
(self)
streamlit_webrtc/webrtc.py:386
Methodoutput_video_track
(self)
streamlit_webrtc/webrtc.py:382
Functionprocess_audio
(frame: av.AudioFrame)
pages/3_audio_filter.py:10
Functionproducer
()
tests/pcm_source_test.py:133
Methodptime
(self)
streamlit_webrtc/pcm_source.py:64
Methodqcb
(frames: List[av.VideoFrame])
tests/models_test.py:61
Methodqueued
(frames)
tests/component_pure_test.py:154
Functionqueued_audio_frames_callback
( frames: List[av.AudioFrame], )
app_deepspeech.py:178
Functionqueued_audio_frames_callback
( frames: List[av.AudioFrame], )
pages/4_delayed_echo.py:27
Functionqueued_video_frames_callback
( frames: List[av.VideoFrame], )
pages/4_delayed_echo.py:15
Methodreader
()
tests/models_test.py:127
MethodreadyState
(self)
streamlit_webrtc/sink.py:75
Methodrecv
(self, frame: av.VideoFrame)
app_videochat.py:34
Methodrecv
(self)
streamlit_webrtc/source.py:56
Methodrecv
(self)
streamlit_webrtc/source.py:142
Methodrecv
(self)
streamlit_webrtc/process.py:218
Methodrecv
(self, frame: av.VideoFrame)
tests/process_test.py:62
Methodrecv
(self, frame: av.VideoFrame)
tests/process_test.py:73
Methodrecv
(self, frame: av.VideoFrame)
tests/process_test.py:78
Methodrecv
(self, frame: av.VideoFrame)
tests/process_test.py:127
Methodrecv
(self, frame: av.VideoFrame)
tests/process_test.py:189
Methodrecv_queued
Receives all the frames arrived after the previous recv_queued() call and returns new frames when running in async mode. If n
streamlit_webrtc/models.py:109
Methodrecv_queued
Receives all the frames arrived after the previous recv_queued() call and returns new frames when running in async mode. If n
streamlit_webrtc/models.py:157
Methodremove_input_proxy
(self, input_proxy: RelayStreamTrack)
streamlit_webrtc/mix.py:238
Functionreset_on_webrtc_session_end
()
streamlit_webrtc/factory.py:112
Functionrun
()
tests/factory_lifecycle_scope_test.py:87
Functionrun_coroutine_threadsafe
(coro, loop)
tests/webrtc_loopback_test.py:93
Methodsample_rate
(self)
streamlit_webrtc/pcm_source.py:60
Functionsecond
(frame: av.VideoFrame)
tests/webrtc_loopback_test.py:266
FunctionsetComponentValue
(componentValue: ComponentValue)
streamlit_webrtc/frontend/src/component-value.ts:9
Methodstart
(self)
streamlit_webrtc/receive.py:45
Methodstart
(self)
streamlit_webrtc/sink.py:82
Methodstate
(self)
streamlit_webrtc/component.py:169
Methodstop
(self)
streamlit_webrtc/receive.py:60
Methodstop
(self)
streamlit_webrtc/sink.py:95
Functiontest_audio_source_track_cache_reuses_same_key_until_session_end
()
tests/factory_lifecycle_scope_test.py:111
Functiontest_audio_source_track_does_not_warn_for_cumulative_drift
Regression: one slow callback must not spam warnings on subsequent calls. The pre-fix implementation compared a cumulative wall-clock target
tests/source_test.py:153
Functiontest_audio_source_track_fires_on_ended_on_stop
()
tests/source_test.py:84
Functiontest_audio_source_track_rejects_non_positive_sample_rate
(sample_rate: int)
tests/source_test.py:59
Functiontest_audio_source_track_time_base_matches_sample_rate
frame.pts * frame.time_base must advance by exactly ptime seconds per call. Regression test for https://github.com/whitphx/streamlit-webrtc/i
tests/source_test.py:24
Functiontest_audio_source_track_warns_when_callback_is_slow
( caplog, slow_call_index: int )
tests/source_test.py:127
Methodtest_both_true
(self)
tests/component_pure_test.py:38
Functiontest_callback_does_not_fire_when_page_hash_unchanged
()
tests/shutdown_test.py:81
Functiontest_callback_fires_on_page_navigation
()
tests/shutdown_test.py:62
Functiontest_callback_fires_on_session_shutdown
()
tests/shutdown_test.py:44
Functiontest_clear_drops_buffered_samples
()
tests/pcm_source_test.py:60
Methodtest_collision_resistant_under_simple_substring_attack
(self)
tests/component_pure_test.py:64
Functiontest_consecutive_renders_do_not_trigger_reset
()
tests/get_or_create_context_test.py:49
Functiontest_default_lifecycle_resets_audio_source_on_webrtc_session_end
()
tests/factory_lifecycle_scope_test.py:162
Functiontest_default_lifecycle_resets_pcm_audio_source_on_webrtc_session_end
()
tests/factory_lifecycle_scope_test.py:174
Functiontest_default_lifecycle_resets_sink_tracks_on_webrtc_session_end
()
tests/factory_lifecycle_scope_test.py:186
Functiontest_default_lifecycle_resets_video_source_on_webrtc_session_end
()
tests/factory_lifecycle_scope_test.py:150
Methodtest_distinct_keys_stay_distinct
(self)
tests/component_pure_test.py:53
Methodtest_drops_intermediate_frames_under_load
(self)
tests/process_test.py:119
Methodtest_empty_list
(self)
tests/config_test.py:40
Methodtest_filters_invalid_entries
(self)
tests/config_test.py:43
Functiontest_frame_metadata_matches_configured_rate
()
tests/pcm_source_test.py:71
Functiontest_get_script_run_count
()
tests/session_info_test.py:6
Methodtest_hot_swap_takes_effect_on_next_recv
(self)
tests/models_test.py:94
Methodtest_idempotent
(self)
tests/component_pure_test.py:47
Functiontest_idle_frontend_resets_worker_and_signalling_state
()
tests/get_or_create_context_test.py:131
Methodtest_idle_stale_sdp_answer_resets_context_and_reruns
(self, monkeypatch)
tests/component_pure_test.py:74
Methodtest_idle_without_worker_or_stale_sdp_does_not_rerun
(self, monkeypatch)
tests/component_pure_test.py:100
Functiontest_initial_page_hash_taken_from_script_run_ctx_when_available
()
tests/shutdown_test.py:100
Functiontest_invalid_lifecycle_scope_is_rejected
()
tests/factory_lifecycle_scope_test.py:304
Methodtest_invokes_callback
(self)
tests/models_test.py:24
Methodtest_invokes_callback
(self)
tests/models_test.py:82
Methodtest_invokes_queued_callback
(self)
tests/models_test.py:58
Functiontest_lifecycle_scope_can_be_updated_on_reuse
()
tests/factory_lifecycle_scope_test.py:288
Methodtest_minimal
(self)
tests/config_test.py:15
Methodtest_minimal
(self)
tests/config_test.py:61
Methodtest_missing_urls_raises
(self)
tests/config_test.py:30
Functiontest_mixer_callback_receives_a_single_input
()
tests/mix_test.py:46
Functiontest_mixer_callback_receives_multiple_inputs
()
tests/mix_test.py:76
Functiontest_mixer_output_cadence_tracks_configured_interval
Successive `recv()` calls should be roughly spaced by `mixer_output_interval`.
tests/mix_test.py:111
Methodtest_neither_playing_nor_signalling
(self)
tests/component_pure_test.py:19
Methodtest_no_callback_falls_back_to_recv_on_last_frame
(self)
tests/models_test.py:41
Methodtest_no_callback_is_silent
(self)
tests/models_test.py:75
Methodtest_no_callback_passthrough
(self)
tests/models_test.py:17
Functiontest_no_initial_page_hash_does_not_fire_on_page_change
()
tests/shutdown_test.py:124
Functiontest_no_session_info_does_not_start_polling_thread
()
tests/shutdown_test.py:32
Functiontest_no_session_info_skips_run_count_tracking
()
tests/get_or_create_context_test.py:38
Methodtest_no_sink_is_a_noop
(self)
tests/component_pure_test.py:121
Methodtest_non_dict_raises
(self)
tests/config_test.py:34
Methodtest_non_dict_raises
(self)
tests/config_test.py:75
Methodtest_non_list_iceservers_raises
(self)
tests/config_test.py:79
Methodtest_on_ended_called_on_stop
(self)
tests/process_test.py:184
← previousnext →301–400 of 467, ranked by callers