1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-conduit/src/encoded_tap.rs
Items
enum EncodedUnit impl EncodedUnit type TapId const MAX_TAP_CAPACITY const MAX_SUBSCRIBERS_PER_CHANNEL const MAX_SUBSCRIBERS_TOTAL const AAC_SAMPLES_PER_FRAME const AAC_LC_OBJECT_TYPE const ASC_SAMPLE_RATES const ADTS_HEADER_BYTES static LIVE_SUBSCRIBERS static NEXT_TAP_ID static TAPS struct ChannelTaps struct AudioLane struct Subscriber impl Subscriber impl AudioLane
Functions
By call-graph weight (PageRank; 1.0 is the average function). 42 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| tapssrc/encoded_tap.rs:120 | fn | 4 | 1 | 7 | 0 | 3.7 | |
| push_nalsrc/encoded_tap.rs:482 | fn | 8 | 2 | 1 | 0 | 3 | |
| split_annex_bsrc/encoded_tap.rs:454 | fn | 27 | 13 | 3 | 1 | 3 | |
| aac_channel_configurationsrc/encoded_tap.rs:444 | fn | 7 | 3 | 1 | 0 | 2.6 | |
| audio_specific_configsrc/encoded_tap.rs:431 | fn | 5 | 1 | 6 | 1 | 2.4 | |
| subscriber_countsrc/encoded_tap.rs:275 | fn | 7 | 2 | 13 | 2 | 2.1 | |
| unsubscribesrc/encoded_tap.rs:258 | fn | 14 | 2 | 15 | 3 | 2 | |
| try_subscribesrc/encoded_tap.rs:214 | fn | 25 | 4 | 5 | 3 | 1.9 | |
| clear_for_testsrc/encoded_tap.rs:521 | fn | 6 | 1 | 14 | 3 | 1.7 | |
| publishsrc/encoded_tap.rs:299 | fn | 37 | 8 | 13 | 5 | 1.5 | |
| subscribesrc/encoded_tap.rs:245 | fn | 10 | 2 | 11 | 1 | 1.4 | |
| EncodedUnit::is_video_keyframesrc/encoded_tap.rs:82 | method | 3 | 1 | 2 | 0 | 1.2 | |
| publish_audio_pcmsrc/encoded_tap.rs:346 | fn | 30 | 6 | 4 | 6 | 1.2 | |
| avcc_from_annexbsrc/encoded_tap.rs:494 | fn | 23 | 7 | 2 | 1 | 1.2 | |
| encoder_ready_pcmsrc/encoded_tap.rs:381 | fn | 8 | 3 | 2 | 1 | 1.1 | |
| videosrc/encoded_tap.rs:532 | fn | 11 | 2 | 8 | 0 | 1 | |
| Subscriber::evict_oldestsrc/encoded_tap.rs:176 | method | 9 | 2 | 1 | 0 | 0.8 | |
| Subscriber::pumpsrc/encoded_tap.rs:186 | method | 16 | 4 | 1 | 0 | 0.8 | |
| keyframe_annexbsrc/encoded_tap.rs:546 | fn | 7 | 1 | 2 | 0 | 0.8 | |
| Subscriber::offersrc/encoded_tap.rs:159 | method | 14 | 5 | 1 | 2 | 0.8 | |
| EncodedUnit::pts_ussrc/encoded_tap.rs:76 | method | 5 | 1 | 3 | 0 | 0.7 | |
| AudioLane::opensrc/encoded_tap.rs:391 | method | 11 | 1 | 1 | 1 | 0.7 | |
| dropped_unitssrc/encoded_tap.rs:284 | fn | 9 | 1 | 2 | 2 | 0.6 | |
| EncodedUnit::channelsrc/encoded_tap.rs:70 | method | 5 | 1 | 0 | 0 | 0.5 | |
| AudioLane::encodesrc/encoded_tap.rs:406 | method | 19 | 3 | 0 | 0 | 0.5 | |
| a_subscriber_receives_published_units_in_ordersrc/encoded_tap.rs:555 | fn | 11 | 1 | 0 | 7 | 0.5 | |
| publishing_to_an_untapped_channel_is_freesrc/encoded_tap.rs:568 | fn | 11 | 1 | 0 | 6 | 0.5 | |
| overflow_drops_the_oldest_inter_frame_firstsrc/encoded_tap.rs:581 | fn | 18 | 1 | 0 | 7 | 0.5 | |
| a_dead_receiver_is_reaped_on_the_next_publishsrc/encoded_tap.rs:601 | fn | 10 | 1 | 0 | 6 | 0.5 | |
| two_subscribers_on_one_channel_each_get_every_unitsrc/encoded_tap.rs:613 | fn | 10 | 1 | 0 | 6 | 0.5 | |
| a_keyframe_populates_the_sticky_avcc_for_later_unitssrc/encoded_tap.rs:625 | fn | 26 | 1 | 0 | 6 | 0.5 | |
| annex_b_splitting_accepts_both_start_code_lengthssrc/encoded_tap.rs:653 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| avcc_needs_both_parameter_setssrc/encoded_tap.rs:663 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| audio_specific_config_encodes_rate_and_layoutsrc/encoded_tap.rs:671 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| audio_specific_config_never_labels_a_count_as_another_layoutsrc/encoded_tap.rs:679 | fn | 22 | 5 | 0 | 1 | 0.5 | |
| audio_specific_config_agrees_with_the_encoders_tablesrc/encoded_tap.rs:703 | fn | 9 | 3 | 0 | 1 | 0.5 | |
| encoder_ready_pcm_borrows_stereo_and_folds_surroundsrc/encoded_tap.rs:714 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| surround_pcm_reaches_the_tap_as_a_stereo_lanesrc/encoded_tap.rs:726 | fn | 18 | 2 | 0 | 7 | 0.5 | |
| pcm_becomes_raw_aac_access_units_on_the_video_clocksrc/encoded_tap.rs:746 | fn | 24 | 2 | 0 | 7 | 0.5 | |
| audio_encoding_is_skipped_when_nobody_subscribessrc/encoded_tap.rs:772 | fn | 5 | 1 | 0 | 3 | 0.5 | |
| unsubscribe_is_idempotentsrc/encoded_tap.rs:779 | fn | 8 | 1 | 0 | 4 | 0.5 | |
| the_registry_refuses_subscribers_past_its_capssrc/encoded_tap.rs:792 | fn | 29 | 5 | 0 | 4 | 0.5 |
Source not readable from this process.