Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/whitphx/streamlit-webrtc
/ functions
Functions
467 in github.com/whitphx/streamlit-webrtc
⨍
Functions
467
◇
Types & classes
112
↳
Endpoints
1
Function
on_change
()
pages/17_video_in_video_out_decoupled.py:103
Function
on_ended
()
streamlit_webrtc/webrtc.py:235
Method
on_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
Method
on_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
Method
on_ended
(self)
tests/process_test.py:192
Method
on_iceconnectionstatechange
()
streamlit_webrtc/webrtc.py:594
Method
on_input_track_ended
()
streamlit_webrtc/process.py:26
Method
on_input_track_ended
()
streamlit_webrtc/process.py:88
Function
on_source_ended
()
pages/14_programmable_source.py:46
Function
on_track
(input_track: MediaStreamTrack)
streamlit_webrtc/webrtc.py:209
Method
on_track_created
(track_type: TrackType, track: MediaStreamTrack)
streamlit_webrtc/webrtc.py:503
Function
on_video_ended
()
docs/examples/tutorial/05_cleanup.py:9
Function
out_recorder_factory
()
pages/7_record.py:36
Method
output_audio_track
(self)
streamlit_webrtc/webrtc.py:386
Method
output_video_track
(self)
streamlit_webrtc/webrtc.py:382
Function
process_audio
(frame: av.AudioFrame)
pages/3_audio_filter.py:10
Function
producer
()
tests/pcm_source_test.py:133
Method
ptime
(self)
streamlit_webrtc/pcm_source.py:64
Method
qcb
(frames: List[av.VideoFrame])
tests/models_test.py:61
Method
queued
(frames)
tests/component_pure_test.py:154
Function
queued_audio_frames_callback
( frames: List[av.AudioFrame], )
app_deepspeech.py:178
Function
queued_audio_frames_callback
( frames: List[av.AudioFrame], )
pages/4_delayed_echo.py:27
Function
queued_video_frames_callback
( frames: List[av.VideoFrame], )
pages/4_delayed_echo.py:15
Method
reader
()
tests/models_test.py:127
Method
readyState
(self)
streamlit_webrtc/sink.py:75
Method
recv
(self, frame: av.VideoFrame)
app_videochat.py:34
Method
recv
(self)
streamlit_webrtc/source.py:56
Method
recv
(self)
streamlit_webrtc/source.py:142
Method
recv
(self)
streamlit_webrtc/process.py:218
Method
recv
(self, frame: av.VideoFrame)
tests/process_test.py:62
Method
recv
(self, frame: av.VideoFrame)
tests/process_test.py:73
Method
recv
(self, frame: av.VideoFrame)
tests/process_test.py:78
Method
recv
(self, frame: av.VideoFrame)
tests/process_test.py:127
Method
recv
(self, frame: av.VideoFrame)
tests/process_test.py:189
Method
recv_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
Method
recv_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
Method
remove_input_proxy
(self, input_proxy: RelayStreamTrack)
streamlit_webrtc/mix.py:238
Function
reset_on_webrtc_session_end
()
streamlit_webrtc/factory.py:112
Function
run
()
tests/factory_lifecycle_scope_test.py:87
Function
run_coroutine_threadsafe
(coro, loop)
tests/webrtc_loopback_test.py:93
Method
sample_rate
(self)
streamlit_webrtc/pcm_source.py:60
Function
second
(frame: av.VideoFrame)
tests/webrtc_loopback_test.py:266
Function
setComponentValue
(componentValue: ComponentValue)
streamlit_webrtc/frontend/src/component-value.ts:9
Method
start
(self)
streamlit_webrtc/receive.py:45
Method
start
(self)
streamlit_webrtc/sink.py:82
Method
state
(self)
streamlit_webrtc/component.py:169
Method
stop
(self)
streamlit_webrtc/receive.py:60
Method
stop
(self)
streamlit_webrtc/sink.py:95
Function
test_audio_source_track_cache_reuses_same_key_until_session_end
()
tests/factory_lifecycle_scope_test.py:111
Function
test_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
Function
test_audio_source_track_fires_on_ended_on_stop
()
tests/source_test.py:84
Function
test_audio_source_track_rejects_non_positive_sample_rate
(sample_rate: int)
tests/source_test.py:59
Function
test_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
Function
test_audio_source_track_warns_when_callback_is_slow
( caplog, slow_call_index: int )
tests/source_test.py:127
Method
test_both_true
(self)
tests/component_pure_test.py:38
Function
test_callback_does_not_fire_when_page_hash_unchanged
()
tests/shutdown_test.py:81
Function
test_callback_fires_on_page_navigation
()
tests/shutdown_test.py:62
Function
test_callback_fires_on_session_shutdown
()
tests/shutdown_test.py:44
Function
test_clear_drops_buffered_samples
()
tests/pcm_source_test.py:60
Method
test_collision_resistant_under_simple_substring_attack
(self)
tests/component_pure_test.py:64
Function
test_consecutive_renders_do_not_trigger_reset
()
tests/get_or_create_context_test.py:49
Function
test_default_lifecycle_resets_audio_source_on_webrtc_session_end
()
tests/factory_lifecycle_scope_test.py:162
Function
test_default_lifecycle_resets_pcm_audio_source_on_webrtc_session_end
()
tests/factory_lifecycle_scope_test.py:174
Function
test_default_lifecycle_resets_sink_tracks_on_webrtc_session_end
()
tests/factory_lifecycle_scope_test.py:186
Function
test_default_lifecycle_resets_video_source_on_webrtc_session_end
()
tests/factory_lifecycle_scope_test.py:150
Method
test_distinct_keys_stay_distinct
(self)
tests/component_pure_test.py:53
Method
test_drops_intermediate_frames_under_load
(self)
tests/process_test.py:119
Method
test_empty_list
(self)
tests/config_test.py:40
Method
test_filters_invalid_entries
(self)
tests/config_test.py:43
Function
test_frame_metadata_matches_configured_rate
()
tests/pcm_source_test.py:71
Function
test_get_script_run_count
()
tests/session_info_test.py:6
Method
test_hot_swap_takes_effect_on_next_recv
(self)
tests/models_test.py:94
Method
test_idempotent
(self)
tests/component_pure_test.py:47
Function
test_idle_frontend_resets_worker_and_signalling_state
()
tests/get_or_create_context_test.py:131
Method
test_idle_stale_sdp_answer_resets_context_and_reruns
(self, monkeypatch)
tests/component_pure_test.py:74
Method
test_idle_without_worker_or_stale_sdp_does_not_rerun
(self, monkeypatch)
tests/component_pure_test.py:100
Function
test_initial_page_hash_taken_from_script_run_ctx_when_available
()
tests/shutdown_test.py:100
Function
test_invalid_lifecycle_scope_is_rejected
()
tests/factory_lifecycle_scope_test.py:304
Method
test_invokes_callback
(self)
tests/models_test.py:24
Method
test_invokes_callback
(self)
tests/models_test.py:82
Method
test_invokes_queued_callback
(self)
tests/models_test.py:58
Function
test_lifecycle_scope_can_be_updated_on_reuse
()
tests/factory_lifecycle_scope_test.py:288
Method
test_minimal
(self)
tests/config_test.py:15
Method
test_minimal
(self)
tests/config_test.py:61
Method
test_missing_urls_raises
(self)
tests/config_test.py:30
Function
test_mixer_callback_receives_a_single_input
()
tests/mix_test.py:46
Function
test_mixer_callback_receives_multiple_inputs
()
tests/mix_test.py:76
Function
test_mixer_output_cadence_tracks_configured_interval
Successive `recv()` calls should be roughly spaced by `mixer_output_interval`.
tests/mix_test.py:111
Method
test_neither_playing_nor_signalling
(self)
tests/component_pure_test.py:19
Method
test_no_callback_falls_back_to_recv_on_last_frame
(self)
tests/models_test.py:41
Method
test_no_callback_is_silent
(self)
tests/models_test.py:75
Method
test_no_callback_passthrough
(self)
tests/models_test.py:17
Function
test_no_initial_page_hash_does_not_fire_on_page_change
()
tests/shutdown_test.py:124
Function
test_no_session_info_does_not_start_polling_thread
()
tests/shutdown_test.py:32
Function
test_no_session_info_skips_run_count_tracking
()
tests/get_or_create_context_test.py:38
Method
test_no_sink_is_a_noop
(self)
tests/component_pure_test.py:121
Method
test_non_dict_raises
(self)
tests/config_test.py:34
Method
test_non_dict_raises
(self)
tests/config_test.py:75
Method
test_non_list_iceservers_raises
(self)
tests/config_test.py:79
Method
test_on_ended_called_on_stop
(self)
tests/process_test.py:184
← previous
next →
301–400 of 467, ranked by callers