Skip to content

Instantly share code, notes, and snippets.

View thapld's full-sized avatar

Lương Đình Tháp thapld

  • Hafintech
View GitHub Profile
@thapld
thapld / edge
Created April 26, 2023 04:51
ovenmediaengine log
[2023-04-26 02:23:19.745] I [OvenMediaEngine:10641] Config | config_manager.cpp:239 | Trying to set logfile in directory... (/var/log/ovenmediaengine)
[2023-04-26 02:23:19.746] I [OvenMediaEngine:10641] Config | config_manager.cpp:261 | Trying to load configurations... (/usr/share/ovenmediaengine/conf/Server.xml)
[2023-04-26 02:23:19.764] I [OvenMediaEngine:10641] OvenMediaEngine | banner.cpp:25 | OvenMediaEngine v0.15.9 ((From archive)) is started on [edge2] (Linux x86_64 - 5.4.0-1103-gcp, #112~18.04.1-Ubuntu SMP Wed Apr 12 02:17:39 UTC 2023)
[2023-04-26 02:23:19.764] I [OvenMediaEngine:10641] OvenMediaEngine | banner.cpp:27 | With modules:
[2023-04-26 02:23:19.764] I [OvenMediaEngine:10641] OvenMediaEngine | banner.cpp:28 | FFmpeg 5.0.1
[2023-04-26 02:23:19.765] I [OvenMediaEngine:10641] OvenMediaEngine | banner.cpp:29 | Configuration: --prefix=/opt/ovenmediaengine --extra-cflags='-I/opt/ovenmediaengine/include -g ' --extra-ldflags='-L/opt/ovenmediaengine/lib -Wl,-rpath,/opt/ovenmediaengine/
@thapld
thapld / Log
Last active April 26, 2023 07:32
Origin
[2023-04-26 01:18:01.999] I [SPOvtPub-t9000:1151] OVT | ovt_publisher.cpp:181 | OvtProvider is connected : <ClientSocket: 0x7f8b6ea01810, #4, Connected, TCP, Nonblocking, 205.210.31.16:60108>
[2023-04-26 01:18:01.001] C [SPOvtPub-t9000:1151] OVT | ovt_publisher.cpp:198 | Unavailable message
[2023-04-26 01:18:11.787] I [SPOvtPub-t9000:1151] OVT | ovt_publisher.cpp:266 | OvtProvider is disconnected(2) : <ClientSocket: 0x7f8b6ea01810, #4, Disconnected, TCP, Nonblocking, 205.210.31.16:60108>
[2023-04-26 01:19:00.080] I [SPICE-t3478:1150] ICE | ice_port.cpp:566 | Turn client has connected : <ClientSocket: 0x7f8b747c1e10, #4, Connected, TCP, Nonblocking, 162.216.150.126:62642>
[2023-04-26 01:19:10.756] I [SPICE-t3478:1150] ICE | ice_port.cpp:580 | Turn client has disconnected : <ClientSocket: 0x7f8b747c1e10, #4, Disconnected, TCP, Nonblocking, 162.216.150.126:62642>
[2023-04-26 01:20:26.453] E [SPRtcSig-t3333:1140] HttpServer | http_transaction.cpp:163 | Invalid parse status: 400
[2023-04-26 02:16:37.180] I [
@thapld
thapld / Log
Last active April 26, 2023 07:31
edge
[2023-04-26 02:23:19.745] I [OvenMediaEngine:10641] Config | config_manager.cpp:239 | Trying to set logfile in directory... (/var/log/ovenmediaengine)
[2023-04-26 02:23:19.746] I [OvenMediaEngine:10641] Config | config_manager.cpp:261 | Trying to load configurations... (/usr/share/ovenmediaengine/conf/Server.xml)
[2023-04-26 02:23:19.764] I [OvenMediaEngine:10641] OvenMediaEngine | banner.cpp:25 | OvenMediaEngine v0.15.9 ((From archive)) is started on [edge2] (Linux x86_64 - 5.4.0-1103-gcp, #112~18.04.1-Ubuntu SMP Wed Apr 12 02:17:39 UTC 2023)
[2023-04-26 02:23:19.764] I [OvenMediaEngine:10641] OvenMediaEngine | banner.cpp:27 | With modules:
[2023-04-26 02:23:19.764] I [OvenMediaEngine:10641] OvenMediaEngine | banner.cpp:28 | FFmpeg 5.0.1
[2023-04-26 02:23:19.765] I [OvenMediaEngine:10641] OvenMediaEngine | banner.cpp:29 | Configuration: --prefix=/opt/ovenmediaengine --extra-cflags='-I/opt/ovenmediaengine/include -g ' --extra-ldflags='-L/opt/ovenmediaengine/lib -Wl,-rpath,/opt/ovenmediaengine/
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android">
<data>
<variable
name="viewModel"
type="com.tnb.app.qrcode.ui.scan.ScanViewModel"/>
</data>
class AwesomeQrCodeApplication : BaseApplication(), CyaneaDecorator.Provider, CyaneaViewProcessor.Provider {
override fun getDecorators(): Array<CyaneaDecorator> = arrayOf(FontDecorator())
override fun getViewProcessors(): Array<CyaneaViewProcessor<out View>> = arrayOf()
override fun onInit() {
super.onInit()
}
}
abstract class MvvmFragment<VDB : ViewDataBinding, VM : BaseViewModel> : Fragment(), CanFetchExtras, CanHandleNewIntent,
CanHandleBackPressEvents {
/**
* The [Cyanea] instance used for styling.
*/
open val cyanea: Cyanea get() = (activity as? BaseCyaneaActivity)?.cyanea ?: Cyanea.instance
/**
* The content [View] of the current [MvvmFragment].
<resources>
<!-- Accent colors -->
<color name="cyanea_accent_reference">#FF3B5998</color>
<!-- Primary colors -->
<color name="cyanea_primary_reference">#FF3B5998</color>
<!-- Background colors -->
<color name="cyanea_background_light">#FFF7F7F7</color>
<color name="cyanea_background_light_darker">#FFD1D1D1</color>
<color name="cyanea_background_light_lighter">#FFF8F8F8</color>
</resources>
import {ResourceService} from '../../services/resource.service';
import {FlatTreeControl} from '@angular/cdk/tree';
import {ResourceNode} from '../resource-node';
import {BehaviorSubject, merge, Observable} from 'rxjs';
import {CollectionViewer, SelectionChange} from '@angular/cdk/collections';
import {map} from 'rxjs/operators';
import {ResourceTree} from '../resource-tree';
export class ResourcesTreeDatasource {