Commit c83a28f2 by ibaker Committed by Ian Baker

Remove references to deprecated DefaultDataSourceFactory from dev guide

#minor-release

PiperOrigin-RevId: 436997521
parent 7db0d91d
...@@ -38,8 +38,9 @@ If your application only needs to play http(s) content, using the Cronet ...@@ -38,8 +38,9 @@ If your application only needs to play http(s) content, using the Cronet
extension is as simple as updating `DataSource.Factory` instantiations in your extension is as simple as updating `DataSource.Factory` instantiations in your
application code to use `CronetDataSource.Factory`. If your application also application code to use `CronetDataSource.Factory`. If your application also
needs to play non-http(s) content such as local files, use: needs to play non-http(s) content such as local files, use:
``` ```
new DefaultDataSourceFactory( new DefaultDataSource.Factory(
... ...
/* baseDataSourceFactory= */ new CronetDataSource.Factory(...) ); /* baseDataSourceFactory= */ new CronetDataSource.Factory(...) );
``` ```
......
...@@ -39,7 +39,7 @@ injected from application code. ...@@ -39,7 +39,7 @@ injected from application code.
`DefaultDataSource` will automatically use the RTMP extension whenever it's `DefaultDataSource` will automatically use the RTMP extension whenever it's
available. Hence if your application is using `DefaultDataSource` or available. Hence if your application is using `DefaultDataSource` or
`DefaultDataSourceFactory`, adding support for RTMP streams is as simple as `DefaultDataSource.Factory`, adding support for RTMP streams is as simple as
adding a dependency to the RTMP extension as described above. No changes to your adding a dependency to the RTMP extension as described above. No changes to your
application code are required. Alternatively, if you know that your application application code are required. Alternatively, if you know that your application
doesn't need to handle any other protocols, you can update any doesn't need to handle any other protocols, you can update any
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment