mirror of
https://github.com/koush/scrypted.git
synced 2026-03-04 18:33:18 +00:00
* initial commit * Cleanup * Rename * Cleanup * cleanup * Save work * save work * save work * save work * cleanup package.json * Use a testcall n startup to get the SDP and use it later. * Audio via gstreamer * Working with gstreamer mpegtsmux for audio with audiomixer * Make sure that we wait fro the SIP OK after SIP BYE * Cleanup * Cleanup and remove motion sensor * SIP plugin does not support snapshots. * Working version without gstreamer. * Force usage of TCP transport for RTSP video stream * Add H264 infos * Implement settings * Cleanup * Save work * Add SIP settings to UI. Clean up.
14 lines
342 B
TypeScript
14 lines
342 B
TypeScript
import { Subscription } from 'rxjs'
|
|
|
|
export class Subscribed {
|
|
private readonly subscriptions: Subscription[] = []
|
|
|
|
public addSubscriptions(...subscriptions: Subscription[]) {
|
|
this.subscriptions.push(...subscriptions)
|
|
}
|
|
|
|
protected unsubscribe() {
|
|
this.subscriptions.forEach((subscription) => subscription.unsubscribe())
|
|
}
|
|
}
|