java - how to create rtsp stream server using netty -


pls me create rtsp server. if there working example.. try netty example.

link github

but display following error,

exception in thread "main" org.springframework.beans.factory.beandefinitionstoreexception: failed load bean class: com.darkmi.server.config.serverconfig; nested exception java.io.filenotfoundexception: class path resource [application.properties] cannot opened because not exist     @ org.springframework.context.annotation.configurationclasspostprocessor.processconfigbeandefinitions(configurationclasspostprocessor.java:267)     @ org.springframework.context.annotation.configurationclasspostprocessor.postprocessbeandefinitionregistry(configurationclasspostprocessor.java:203)     @ org.springframework.context.support.abstractapplicationcontext.invokebeanfactorypostprocessors(abstractapplicationcontext.java:622)     @ org.springframework.context.support.abstractapplicationcontext.refresh(abstractapplicationcontext.java:451)     @ org.springframework.context.annotation.annotationconfigapplicationcontext.<init>(annotationconfigapplicationcontext.java:73)     @ com.darkmi.server.main.main(main.java:14) caused by: java.io.filenotfoundexception: class path resource [application.properties] cannot opened because not exist     @ org.springframework.core.io.classpathresource.getinputstream(classpathresource.java:157)     @ org.springframework.core.io.support.resourcepropertysource.loadpropertiesforresource(resourcepropertysource.java:101)     @ org.springframework.core.io.support.resourcepropertysource.<init>(resourcepropertysource.java:43)     @ org.springframework.core.io.support.resourcepropertysource.<init>(resourcepropertysource.java:52)     @ org.springframework.core.io.support.resourcepropertysource.<init>(resourcepropertysource.java:82)     @ org.springframework.context.annotation.configurationclassparser.doprocessconfigurationclass(configurationclassparser.java:193)     @ org.springframework.context.annotation.configurationclassparser.processconfigurationclass(configurationclassparser.java:149)     @ org.springframework.context.annotation.configurationclassparser.parse(configurationclassparser.java:135)     @ org.springframework.context.annotation.configurationclasspostprocessor.processconfigbeandefinitions(configurationclasspostprocessor.java:260) 

you need create resources folder in eclipse project. , add folder project sources. application.properties file (which contains ip/port of rtsp server) should located there.

it should this


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -