Blyx Nest Blyx language
Registry / Library
library · v0.1.0

JitterMean

Estimate interarrival jitter with the RFC 3550 one-sixteenth update.

Source repository · Package JSON

Use JitterMean

use vendor::jittermean::jittermean;

Run the example

nest demo jittermean@0.1.0
blyxc native-run jittermean-demo/main.blyx
Example source and expected output
use vendor::jittermean::jittermean;

fn main() {
    let sent = [0, 16];
    let arrived = [0, 48];
    let initial = 0.0;
    let result = jittermean_rtp(sent, arrived, initial);
    if len(result) == 0 { println!("invalid"); return; }
    let mut i = 0;
    while i < len(result) {
        println!(at(result, i));
        i += 1;
    }
}

Expected output

2
1

Published versions

VersionPackageSource commitSHA-256
0.1.0Download ZIP0fb1ac72e6d7a946d5b0d6d9104d65c0c114add7a18cb917d44f737f949dea5e51f86722b7