U
    ÷	ÀhW  ã                   @   s$   d Z ddlmZ G dd„ deƒZdS )zÖ
Streams Application Configuration

This module defines the configuration for the streams Django application,
which handles stream capture, processing, HLS playlist management,
and video/audio encoding operations.
é    )Ú	AppConfigc                   @   s$   e Zd ZdZdZdZdZdd„ ZdS )ÚStreamsConfigaà  
    Configuration class for the streams application.
    
    This class defines the streams application settings and handles
    application initialization, including setting up signal handlers
    for stream monitoring and automatic cleanup tasks.
    
    Attributes:
        default_auto_field (str): The default primary key field type for models
        name (str): The application name used by Django
        verbose_name (str): Human-readable name for the application
    zdjango.db.models.BigAutoFieldzapps.streamszStream Managementc                 C   s&   zddl }W n tk
r    Y nX dS )a
  
        Perform initialization when the application is ready.
        
        This method is called once Django has loaded all applications
        and models. It imports signal handlers to set up automatic
        stream monitoring and cleanup processes.
        r   N)Zapps.streams.signalsÚImportError)ÚselfÚapps© r   ú5/var/www/html/JingleDetector/src/apps/streams/apps.pyÚready#   s    	zStreamsConfig.readyN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Údefault_auto_fieldÚnameÚverbose_namer	   r   r   r   r   r      s
   r   N)r   Údjango.appsr   r   r   r   r   r   Ú<module>   s   